body {
    margin: 0;
    padding: 0;
    font-family: serif;
}

.container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    height: 100vh;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    box-sizing: border-box;
}

.form-container {
    width: 100%;
    max-width: 400px;
    min-height: 500px;
    border-radius: 24px;
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin: 20px 0;
    border-radius: 8px;
}

.input-label {
    font-size: 1.25rem;
    color: white;
    margin: 20px 0 8px 0;
}

.text-input {
    font-size: 1rem;
    color: white;
    width: 100%;
    height: 40px;
    border-radius: 12px;
    outline: 1px solid white;
    background: transparent;
    border: none;
    padding: 0 10px;
    box-sizing: border-box;
}

.text-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn {
    margin: 30px auto 0;
    padding: 10px;
    width: 100%;
    max-width: 240px;
    font-size: 1.25rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(to right, #bae6fd, #93c5fd, #60a5fa);
    box-shadow: 0 20px 25px -5px rgba(96, 165, 250, 0.5), 0 8px 10px -6px rgba(96, 165, 250, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(96, 165, 250, 0.6);
}

.account-text {
    margin: 20px auto 0;
    font-size: 1rem;
    color: white;
    text-align: center;
}

.login-btn {
    margin: 15px auto 20px;
    margin-left: 55px;
    margin-top: 30px;
}
/* Audio Control Button Styles */
.audio-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Hide the actual audio element */
audio {
    display: none;
}

/* Media Queries for different screen sizes */
@media (max-width: 768px) {
    .form-container {
        max-width: 350px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .input-label {
        font-size: 1.1rem;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .form-container {
        max-width: 300px;
        min-height: 450px;
    }
    
    .form-title {
        font-size: 1.8rem;
        margin: 15px 0;
    }
    
    .input-label {
        font-size: 1rem;
        margin: 15px 0 5px 0;
    }
    
    .text-input {
        height: 35px;
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 1rem;
        max-width: 200px;
    }
    
    .account-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .form-container {
        max-width: 280px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .btn {
        max-width: 180px;
    }
}