/* Jelszó visszaállítási oldal stílusok - Főoldallal harmonizáló dizájn */
.forgot-password-main {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    position: relative;
}

.forgot-password-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%233CB8E6" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.8;
    pointer-events: none;
}

.forgot-password-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(60, 184, 230, 0.1);
    border: 1px solid rgba(60, 184, 230, 0.2);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    animation: slideUp 0.6s ease-out;
    position: relative;
    z-index: 1;
}

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

.forgot-password-header {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3CB8E6, #2a9fd6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(60, 184, 230, 0.3);
}

.icon-container i {
    font-size: 2rem;
    color: #ffffff;
}

.forgot-password-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.forgot-password-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-label i {
    color: #3CB8E6;
    font-size: 0.85rem;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(60, 184, 230, 0.2);
    border-radius: 12px;
    background: #ffffff;
    color: #2c3e50;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #3CB8E6;
    box-shadow: 0 0 0 3px rgba(60, 184, 230, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #3CB8E6, #2a9fd6);
    color: #ffffff;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a9fd6, #1e8bc3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(60, 184, 230, 0.3);
}

.btn-reset {
    width: 100%;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
}

.success-message i {
    color: #22c55e;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.success-message p {
    color: #16a34a;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1rem;
}

.back-to-login {
    text-align: center;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3CB8E6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #2a9fd6;
    transform: translateX(-2px);
}

.help-section {
    border-top: 1px solid rgba(60, 184, 230, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.help-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
    border: 1px solid rgba(60, 184, 230, 0.1);
    font-size: 0.85rem;
}

.help-link:hover {
    background: rgba(60, 184, 230, 0.1);
    color: #3CB8E6;
    border-color: rgba(60, 184, 230, 0.3);
    transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
    .forgot-password-main {
        background: linear-gradient(135deg, #0b1220 0%, #0f172a 100%);
    }

    .forgot-password-main::before {
        opacity: 0.25;
    }

    .forgot-password-container {
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(226, 232, 240, 0.12);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(8px);
    }

    .forgot-password-title {
        color: #e2e8f0;
    }

    .forgot-password-subtitle {
        color: #94a3b8;
    }

    .form-label {
        color: #e2e8f0;
    }

    .form-input {
        background: rgba(2, 6, 23, 0.6);
        border-color: rgba(226, 232, 240, 0.12);
        color: #e2e8f0;
    }

    .form-input::placeholder {
        color: #64748b;
    }

    .back-link {
        color: #7dd3fc;
    }

    .back-link:hover {
        color: #38bdf8;
    }

    .help-section {
        border-top-color: rgba(226, 232, 240, 0.1);
    }

    .help-section h3 {
        color: #e2e8f0;
    }

    .help-link {
        background: rgba(2, 6, 23, 0.5);
        border-color: rgba(226, 232, 240, 0.12);
        color: #94a3b8;
    }

    .help-link:hover {
        background: rgba(56, 189, 248, 0.12);
        border-color: rgba(56, 189, 248, 0.3);
        color: #7dd3fc;
    }
}

.help-link i {
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .forgot-password-main {
        padding: 1rem 0;
    }
    
    .forgot-password-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .forgot-password-title {
        font-size: 1.5rem;
    }
    
    .forgot-password-subtitle {
        font-size: 0.9rem;
    }
    
    .icon-container {
        width: 70px;
        height: 70px;
    }
    
    .icon-container i {
        font-size: 1.75rem;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
    
    .help-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .forgot-password-container {
        padding: 1.5rem 1rem;
    }
    
    .forgot-password-title {
        font-size: 1.25rem;
    }
    
    .icon-container {
        width: 60px;
        height: 60px;
    }
    
    .icon-container i {
        font-size: 1.5rem;
    }
}
