body {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    box-sizing: border-box;
}

.container {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: rgba(26, 35, 50, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.logo-container {
    margin-bottom: 30px;
}

.ironshield-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    filter: brightness(1);
}

h2 {
    color: white;
    margin: 0 0 20px 0;
    font-size: 2rem;
    font-weight: 500;
}

p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.5;
}

#status {
    margin-top: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

#status a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

#status a:hover,
#status a:focus {
    color: #fff;
    text-decoration: underline;
    outline: none;
}

/* Custom progress bar styles */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden; /* Ensures the fill doesn't spill out */
    margin: 15px 0;
}

.progress-bar-fill {
    width: 0%; /* Start at 0% width */
    height: 100%;
    background: #4a90e2;
    border-radius: 50px;
    /* This is the magic! Animate the width property over 0.3 seconds */
    transition: width 0.3s ease-in-out;
}

.spinner {
    margin: 10px auto 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #4a90e2;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M 12 2 A 10 10 0 0 1 22 12' stroke='white' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M 12 2 A 10 10 0 0 1 22 12' stroke='white' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 8px;
    }
    
    .container {
        padding: 35px 25px;
        margin: 0;
        min-height: calc(100vh - 16px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: calc(100% - 16px);
    }
    
    .ironshield-logo {
        height: 70px;
    }
    
    h2 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }
    
    p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .progress-bar-container {
        height: 10px;
        margin: 20px 0;
    }
    
    #status {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 6px;
    }
    
    .container {
        padding: 30px 20px;
        min-height: calc(100vh - 12px);
        width: calc(100% - 12px);
    }
    
    .ironshield-logo {
        height: 60px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .progress-bar-container {
        height: 12px;
        margin: 25px 0;
    }
    
    #status {
        font-size: 0.8rem;
        line-height: 1.4;
    }
} 