* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    /* Replace with your actual background image path */
    background: url('home_bg.avif') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.glass-card {
    width: 90%;
    max-width: 400px;
    padding: 40px;
    position: relative;
    
    /* The frosted glass effect and background image */
    background: padding-box url('card-bg.avif') center/cover no-repeat, 
                border-box linear-gradient(135deg, #ffffff 0%, #7B61FF 50%, #3A6EDB 100%);
    
    /* 3px Border that shows the gradient */
    border: 1px solid transparent;
    border-radius: 20px;
    
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    
    /* Intense Glowing effect */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5),
                0 0 20px rgba(123, 97, 255, 0.6),
                0 0 10px rgba(255, 255, 255, 0.4);
                
    text-align: center;
    color: white;
}

.card-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.card-header p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    opacity: 0.9;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: #4A80F0; /* Matching the blue in the image */
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background: #3a6edb;
    transform: translateY(-2px);
}

.btn-secondary {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: white;
    border: none;
    opacity: 0.7;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.btn-secondary:hover {
    opacity: 1;
}

/* Loading Overlay */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e; /* Dark background matching the theme vibe */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #7B61FF;
    animation: spin 1s ease-in-out infinite;
}

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

@media (max-width: 480px) {
    .glass-card {
        padding: 25px;
    }

    .card-header h1 {
        font-size: 2rem;
    }

    .card-header p {
        font-size: 0.85rem;
    }
}