/* WP Boot Loader - CSS */
.wbl-boot-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--wbl-bg-color, #0078d4);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.wbl-boot-loader.wbl-hiding {
    opacity: 0;
    pointer-events: none;
}

.wbl-boot-loader.wbl-hidden {
    display: none;
}

.wbl-container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.wbl-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
}

.wbl-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.wbl-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: var(--wbl-circle-color, #ffffff);
    border-radius: 100%;
    animation: wbl-circleFadeDelay 1.2s infinite ease-in-out both;
}

.wbl-circle:nth-child(2) { transform: rotate(30deg); }
.wbl-circle:nth-child(2):before { animation-delay: -1.1s; }

.wbl-circle:nth-child(3) { transform: rotate(60deg); }
.wbl-circle:nth-child(3):before { animation-delay: -1s; }

.wbl-circle:nth-child(4) { transform: rotate(90deg); }
.wbl-circle:nth-child(4):before { animation-delay: -0.9s; }

.wbl-circle:nth-child(5) { transform: rotate(120deg); }
.wbl-circle:nth-child(5):before { animation-delay: -0.8s; }

.wbl-circle:nth-child(6) { transform: rotate(150deg); }
.wbl-circle:nth-child(6):before { animation-delay: -0.7s; }

.wbl-circle:nth-child(7) { transform: rotate(180deg); }
.wbl-circle:nth-child(7):before { animation-delay: -0.6s; }

.wbl-circle:nth-child(8) { transform: rotate(210deg); }
.wbl-circle:nth-child(8):before { animation-delay: -0.5s; }

.wbl-circle:nth-child(9) { transform: rotate(240deg); }
.wbl-circle:nth-child(9):before { animation-delay: -0.4s; }

.wbl-circle:nth-child(10) { transform: rotate(270deg); }
.wbl-circle:nth-child(10):before { animation-delay: -0.3s; }

.wbl-circle:nth-child(11) { transform: rotate(300deg); }
.wbl-circle:nth-child(11):before { animation-delay: -0.2s; }

.wbl-circle:nth-child(12) { transform: rotate(330deg); }
.wbl-circle:nth-child(12):before { animation-delay: -0.1s; }

@keyframes wbl-circleFadeDelay {
    0%, 39%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

.wbl-welcome-text {
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0 0 15px;
    color: var(--wbl-text-color, #ffffff);
    letter-spacing: 1px;
}

.wbl-loading-text {
    font-size: 1.2rem;
    color: var(--wbl-text-color, #ffffff);
    opacity: 0.9;
    margin-top: 10px;
}

.wbl-progress-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.wbl-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--wbl-text-color, #ffffff);
    border-radius: 2px;
    animation: wbl-progress 2s ease-in-out infinite;
}

@keyframes wbl-progress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .wbl-welcome-text {
        font-size: 2.5rem;
    }
    
    .wbl-circle-container {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }
}

/* Admin preview */
.wbl-preview-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.wbl-preview-container {
    background: #f1f1f1;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.wbl-preview-container .wbl-boot-loader {
    position: relative;
    height: 100%;
}