/* css/auth.css */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--neutral-50);
    color: var(--neutral-900);
    line-height: 1.5;
    min-height: 100vh;
}

/* Split Container */
.split-container {
    display: flex;
    min-height: 100vh;
}

/* Hero Section (Left Side) */
.hero-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(145deg, var(--primary-50) 0%, var(--primary-100) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-700);
}

.brand i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--neutral-800);
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* Testimonial */
.testimonial {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.testimonial p {
    font-size: 1rem;
    font-style: italic;
    color: var(--neutral-700);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--neutral-800);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* Stats Preview (Login Page) */
.stats-preview {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* Recent Activity (Login Page) */
.recent-activity {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.recent-activity h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neutral-800);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-100);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item i {
    color: var(--success);
    font-size: 1rem;
}

.activity-item p {
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-bottom: 0.25rem;
}

.activity-item span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* Background Circles */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-200) 0%, var(--primary-300) 100%);
    opacity: 0.3;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 50%;
    right: 20%;
}

/* Form Section (Right Side) */
.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
}

.form-container {
    width: 100%;
    max-width: 440px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--neutral-500);
    font-size: 1rem;
}

/* Account Type Toggle */
.account-type {
    display: flex;
    gap: 0.5rem;
    background: var(--neutral-100);
    padding: 0.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    cursor: pointer;
    transition: var(--transition);
}

.type-btn.active {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.input-group .optional {
    color: var(--neutral-400);
    font-weight: normal;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i:first-child {
    position: absolute;
    left: 1rem;
    color: var(--neutral-400);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1.5px solid var(--neutral-200);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}

/* Password input specific - extra padding for the toggle icon */
.input-wrapper input[type="password"],
.input-wrapper input[type="text"] {
    padding-right: 2.75rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--neutral-600);
    background: var(--neutral-100);
}

.toggle-password:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: -2px;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: var(--neutral-200);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.strength-bar.weak {
    width: 33.33%;
    background: var(--error);
}

.strength-bar.medium {
    width: 66.66%;
    background: var(--warning);
}

.strength-bar.strong {
    width: 100%;
    background: var(--success);
}

.password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.req-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.req-item.valid {
    color: var(--success);
}

.req-item.valid i {
    color: var(--success);
}

.password-match {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.password-match.match {
    color: var(--success);
}

.password-match.no-match {
    color: var(--error);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--neutral-700);
    position: relative;
    padding-left: 1.75rem;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: white;
    border: 2px solid var(--neutral-300);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-400);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Terms Group */
.terms-group {
    margin: 0.5rem 0;
}

.terms-text {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.terms-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading span {
    visibility: hidden;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Social Registration */
.social-registration {
    margin-top: 0.5rem;
}

.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 4rem);
    height: 1px;
    background: var(--neutral-200);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border: 1.5px solid var(--neutral-200);
    background: white;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-300);
    transform: translateY(-2px);
}

.social-btn.google {
    color: #ea4335;
}

.social-btn.apple {
    color: #000;
}

/* Auth Redirect */
.auth-redirect {
    text-align: center;
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-top: 1rem;
}

.auth-redirect a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
}

.auth-redirect a:hover {
    text-decoration: underline;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(400px);
    transition: var(--transition);
    z-index: 1000;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    border-left: 4px solid var(--success);
}

.toast-notification.error {
    border-left: 4px solid var(--error);
}

.toast-notification i {
    font-size: 1.25rem;
}

.toast-notification.success i {
    color: var(--success);
}

.toast-notification.error i {
    color: var(--error);
}

/* Responsive Design */
@media (max-width: 968px) {
    .split-container {
        flex-direction: column;
    }
    
    .hero-section {
        padding: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-preview {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .toast-notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        transform: translateY(400px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

/* Loading States */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--neutral-200) 25%,
        var(--neutral-100) 50%,
        var(--neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-400);
}

/* ====== MOBILE OPTIMIZATIONS ====== */

/* Show/hide desktop-only elements */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Enhanced Responsive Design */
@media (max-width: 968px) {
    .split-container {
        flex-direction: column;
        min-height: 100vh;
        /* Prevent content from exceeding viewport */
        overflow: hidden;
    }
    
    .hero-section {
        padding: 1.5rem 1.25rem 1rem;
        flex: 0 0 auto; /* Don't grow, just fit content */
        min-height: auto;
        background: linear-gradient(145deg, var(--primary-50) 0%, var(--primary-100) 100%);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .brand {
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }
    
    .brand i {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.4;
    }
    
    /* Hide decorative elements on mobile */
    .desktop-only {
        display: none;
    }
    
    .hero-bg {
        opacity: 0.3;
    }
    
    /* Make background circles smaller */
    .circle-1 {
        width: 150px;
        height: 150px;
        top: -75px;
        right: -75px;
    }
    
    .circle-2 {
        width: 100px;
        height: 100px;
        bottom: -50px;
        left: -50px;
    }
    
    .circle-3 {
        width: 75px;
        height: 75px;
        bottom: 40%;
        right: 10%;
    }
    
    /* Form section takes remaining space */
    .form-section {
        flex: 1;
        padding: 1.25rem 1.25rem 1.5rem;
        align-items: flex-start;
        overflow-y: auto; /* Allow scrolling if needed */
    }
    
    .form-container {
        max-width: 100%;
        width: 100%;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    /* Compact form spacing */
    .auth-form {
        gap: 1rem;
    }
    
    .input-group {
        gap: 0.375rem;
    }
    
    .input-group label {
        font-size: 0.8rem;
    }
    
    .input-wrapper input {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .form-options {
        font-size: 0.8rem;
        margin: 0.25rem 0;
    }
    
    .submit-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    /* Social buttons */
    .social-registration {
        margin-top: 0.25rem;
    }
    
    .divider {
        margin: 1rem 0;
        font-size: 0.8rem;
    }
    
    .social-buttons {
        gap: 0.75rem;
    }
    
    .social-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .auth-redirect {
        margin-top: 0.75rem;
        font-size: 0.85rem;
    }
    
    .toast-notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        transform: translateY(400px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-section {
        padding: 1.25rem 1rem 0.75rem;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .form-section {
        padding: 1rem 1rem 1.25rem;
    }
    
    .form-header {
        margin-bottom: 1.25rem;
    }
    
    .form-header h2 {
        font-size: 1.35rem;
    }
    
    .auth-form {
        gap: 0.875rem;
    }
    
    .input-wrapper input {
        padding: 0.7rem 0.875rem 0.7rem 2.25rem;
        font-size: 0.875rem;
    }
    
    .submit-btn {
        padding: 0.8rem;
    }
    
    .social-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .social-btn {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
    
    .divider {
        margin: 0.75rem 0;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-section {
        padding: 1rem 0.75rem 0.5rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .brand {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .form-section {
        padding: 0.75rem;
    }
    
    .form-header h2 {
        font-size: 1.25rem;
    }
    
    .auth-form {
        gap: 0.75rem;
    }
}

/* Landscape orientation */
@media (max-width: 968px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 1.25rem 0.5rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    .form-section {
        padding: 0.75rem 1.25rem;
    }
    
    .auth-form {
        gap: 0.75rem;
    }
}

/* Large desktop screens */
@media (min-width: 1400px) {
    .form-container {
        max-width: 480px;
    }
    
    .hero-content {
        max-width: 600px;
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Prevent text inflation on mobile */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
}

.location-badge {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--neutral-500);
    background: var(--neutral-100);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

/* ========== PASSWORD RESET SUCCESS BANNER ========== */
.reset-success-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    position: relative;
    animation: slideDownBanner 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.reset-success-banner .banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulseIcon 2s ease-in-out infinite;
}

.reset-success-banner .banner-content {
    flex: 1;
}

.reset-success-banner .banner-content h3 {
    color: #065f46;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.reset-success-banner .banner-content p {
    color: #047857;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.reset-success-banner .banner-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #059669;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-top: -4px;
}

.reset-success-banner .banner-close:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    transform: rotate(90deg);
}

/* Banner Animations */
@keyframes slideDownBanner {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Banner Auto-dismiss progress bar */
.reset-success-banner .banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.reset-success-banner .banner-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 0 0 16px 16px;
    animation: progressShrink 8s linear forwards;
    width: 100%;
}

@keyframes progressShrink {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .reset-success-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 20px;
        gap: 12px;
    }

    .reset-success-banner .banner-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .reset-success-banner .banner-content h3 {
        font-size: 16px;
    }

    .reset-success-banner .banner-content p {
        font-size: 13px;
    }

    .reset-success-banner .banner-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}

