:root {
    --primary-color: #50C9CE;
    --background-light: #F9F9F9;
    --background-dark: #112021;
    --text-light: #2E382E;
    --text-dark: #FFFFFF;
    --border-color: #E5E5E5;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Newsreader', serif;
    background-color: var(--background-light);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Knight video background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.forgot-password-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    color: #FFFFFF;
    padding: 1rem;
    z-index: 1;
}
.forgot-password-container .forgot-title,
.forgot-password-container .forgot-subtitle,
.forgot-password-container .form-group label,
.forgot-password-container .form-group input,
.forgot-password-container .form-group input::placeholder,
.forgot-password-container .back-link a,
.forgot-password-container .back-link .material-symbols-outlined {
    color: #FFFFFF !important;
}

.forgot-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-100%);
    animation: slideInFromTop 0.8s ease-out 0.3s both;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    background: white !important; 
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
}


@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light) !important;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #FFD700, #FF3B3B, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Times New Roman', Georgia, serif;
}

.forgot-main {
    width: 100%;
    max-width: 28rem;
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2), 
        inset 0 -1px 0 rgba(0, 0, 0, 0.1); 
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    margin-right: 2rem;
}

.form-group input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4); 
    background: rgba(255, 255, 255, 0.2); 
    height: 3rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 400;
    color: #FFFFFF;
    transition: all 0.3s;
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.3); 
    box-shadow: 
        0 0 0 3px rgba(80, 201, 206, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}


.submit-btn {
    width: 100%; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 3rem;
    padding: 0 1.25rem;
    background: rgba(80, 201, 206, 0.8); 
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    transition: all 0.3s;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.8s both;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.submit-btn:hover {
    background: rgba(80, 201, 206, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(80, 201, 206, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forgot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.forgot-title {
    color: var(--text-light);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 0.6s ease-out 1.2s both;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.forgot-subtitle {
    color: rgba(46, 56, 46, 0.9);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 0.6s ease-out 1.4s both;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.forgot-form {
    width: 100%;
    text-align: left;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.6s both;
}

.form-group:nth-child(1) {
    animation-delay: 1.6s;
}

.form-group label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    padding-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    height: 3rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(80, 201, 206, 0.3);
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.25);
}

.form-group input::placeholder {
    color: rgba(46, 56, 46, 0.7);
}

.submit-btn {
    width: 100%; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 3rem;
    padding: 0 1.25rem;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    transition: all 0.3s;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 1.8s both;
    backdrop-filter: blur(10px);
}

.submit-btn:hover {
    background: rgba(80, 201, 206, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 201, 206, 0.4);
}

.back-link {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.back-link .material-symbols-outlined {
    font-size: 1rem;
    color: rgba(46, 56, 46, 0.9);
    transition: transform 0.3s;
}

.back-link:hover .material-symbols-outlined {
    transform: translateX(-3px);
}

.back-link a {
    color: rgba(46, 56, 46, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .forgot-password-container {
        align-items: center;
    }
    
    .forgot-main {
        margin-right: 0;
        margin: 1rem;
    }
    
    .forgot-header {
        padding: 1rem;
    }
    
    .forgot-main {
        padding: 1.5rem;
    }
    
    .forgot-title {
        font-size: 1.5rem;
    }
    
    .forgot-main {
        animation-delay: 0.6s;
    }
    
    .forgot-title {
        animation-delay: 1s;
    }
    
    .forgot-subtitle {
        animation-delay: 1.2s;
    }
    
    .form-group {
        animation-delay: 1.4s;
    }
    
    .submit-btn {
        animation-delay: 1.6s;
    }
    
    .back-link {
        animation-delay: 1.8s;
    }
}

@media (max-width: 480px) {
    .forgot-main {
        padding: 1.25rem;
        border-radius: 16px;
    }
}
.audio-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 16px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 2.2s both;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.audio-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.4em;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.volume-container {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.volume-slider {
    width: 80px;
    height: 4px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    cursor: pointer;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #50C9CE;
    transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.volume-slider::-moz-range-thumb:hover {
    background: #50C9CE;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .audio-controls {
        bottom: 15px;
        left: 15px;
        padding: 10px 14px;
        gap: 10px;
    }
    
    .audio-btn {
        font-size: 1.3em;
        width: 32px;
        height: 32px;
    }
    
    .volume-slider {
        width: 70px;
    }
}

@media (max-width: 480px) {
    .audio-controls {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    .volume-slider {
        width: 60px;
    }
}