/* Global Index Interface Styles */

/* Loading Page Specific Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Animated Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Main Boot Card */
.boot-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border: 1px solid var(--brown-light);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(141, 110, 99, 0.15);
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-area {
    margin-bottom: 30px;
    position: relative;
}

.brand-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--brown-teddy);
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.brand-name::after {
    content: "ADMIN";
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--brown-teddy);
    margin-top: 5px;
    letter-spacing: 3px;
}

/* Status Section */
.status-wrapper {
    margin: 30px 0;
}

.status-label {
    font-size: 0.95rem;
    color: var(--text-grey);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-message {
    font-size: 1.1rem;
    color: var(--brown-dark);
    font-weight: 600;
    min-height: 25px;
    transition: opacity 0.3s ease;
    position: relative;
}

.status-message::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 20px;
    background-color: var(--brown-teddy);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Loading Bar */
.loader-track {
    width: 100%;
    height: 8px;
    background-color: var(--brown-light);
    border-radius: 10px;
    margin: 25px 0;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brown-teddy), var(--primary-blue));
    border-radius: 10px;
    width: 0%;
    animation: loadProgress 5s linear forwards;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes loadProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes shimmer {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(300px); }
}

/* Security Badge */
.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-grey);
    font-size: 0.85rem;
    margin-top: 20px;
    opacity: 0.8;
}

.secure-badge i {
    color: var(--success);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .boot-card {
        margin: 20px;
        padding: 30px 25px;
        max-width: 90%;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .bg-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .boot-card {
        padding: 25px 20px;
    }
    
    .brand-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .brand-name {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .status-message {
        font-size: 1rem;
    }
}

/* Additional Animations for Enhanced UX */
.boot-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-blue), var(--brown-teddy), var(--primary-blue));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}