
/* CSS for forgot password page */

:root {
    /* Light theme (default) */
    --lead: #212121;
    --gold-finger: #F2BD12;
    --eye-ball: #FFFDF7;
    --hint-yellow: #FCF1CC;
    --pure-while: #FFF;
    --text-primary: #212121;
    --text-secondary: #666666;
    --bg-primary: #FFFDF7;
    --bg-secondary: #FFF;
    --bg-accent: #FCF1CC;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] {
    /* Dark theme */
    --lead: #E0E0E0;
    --gold-finger: #F2BD12;
    --eye-ball: #1A1A1A;
    --hint-yellow: #2D2D2D;
    --pure-while: #2D2D2D;
    --text-primary: #E0E0E0;
    --text-secondary: #B0B0B0;
    --bg-primary: #1A1A1A;
    --bg-secondary: #2D2D2D;
    --bg-accent: #2D2D2D;
    --border-color: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.5);
}

/* Smooth theme transition */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* Back to Login Button Styles */
.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #F2BD12 0%, #e89800 100%);
    color: #2a2a2a;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 180, 0, 0.3);
    color: #2a2a2a;
}

.back-home:active {
    transform: translateY(0);
}

.back-home .icon {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.back-home:hover .icon {
    transform: translateX(-2px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--eye-ball);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 60px var(--shadow-strong);
    min-height: 600px;
}

.hero-section {
    flex: 1;
    background: linear-gradient(135deg, #F2BD12 0%, #e89800 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.logo {
    font-size: 48px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 20px;
    z-index: 1;
}

.hero-text {
    color: #2a2a2a;
    font-size: 18px;
    line-height: 1.6;
    z-index: 1;
    margin-bottom: 30px;
}

.lock-icon {
    font-size: 120px;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.form-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.auth-container {
    display: none;
}

.auth-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: var(--text-primary);
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--gold-finger);
    background: var(--bg-secondary);
}

input::placeholder {
    color: var(--text-secondary);
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #F2BD12 0%, #e89800 100%);
    border: none;
    border-radius: 10px;
    color: #2a2a2a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 180, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-secondary:hover {
    border-color: var(--gold-finger);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.switch-form {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 20px;
}

.switch-form a {
    color: var(--gold-finger);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.switch-form a:hover {
    color: #ffc933;
}

/* Success Message Styles */
.success-icon {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.info-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--bg-accent);
    border-radius: 10px;
    border-left: 4px solid var(--gold-finger);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.help-text {
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.help-text a {
    color: var(--gold-finger);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.help-text a:hover {
    color: #ffc933;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

.theme-toggle:hover {
    background-color: var(--bg-accent);
    transform: scale(1.1);
}

.theme-toggle i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.theme-toggle i.rotate-icon {
    animation: rotateIcon 0.6s ease;
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .hero-section {
        padding: 40px 30px;
    }

    .form-section {
        padding: 40px 30px;
    }

    .logo {
        font-size: 36px;
    }

    h2 {
        font-size: 26px;
    }

    .lock-icon {
        font-size: 80px;
    }

    .success-icon {
        font-size: 60px;
    }

    .back-home {
        top: 15px;
        left: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .back-home .icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .back-home {
        top: 12px;
        left: 12px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .hero-section {
        padding: 30px 20px;
    }

    .form-section {
        padding: 30px 20px;
    }

    .logo {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }
}
