/* LaLaInvoice Homepage Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Utility Classes */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-cta {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4f46e5;
}

.nav-links .sign-in {
    color: #4f46e5;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

.mobile-menu-btn:hover {
    color: #4f46e5;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a:hover {
    background: #f9fafb;
    color: #4f46e5;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text .highlight {
    color: #fbbf24;
}

.hero-text p {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4f46e5;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #bfdbfe;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}

.hero-visual {
    position: relative;
}

.invoice-preview {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.invoice-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.invoice-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.paid-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.invoice-items {
    margin-bottom: 1rem;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.invoice-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1rem 0;
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.pay-button {
    width: 100%;
    background: #4f46e5;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
}

/* Social Proof */
.social-proof {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.social-proof-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.social-proof p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.social-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.6;
    flex-wrap: wrap;
}

.social-logos div {
    color: #9ca3af;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Problem/Solution Section */
.problem-solution {
    background: #f9fafb;
    padding: 5rem 0;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.problem-solution-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.problems-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-icon {
    background: #fee2e2;
    padding: 0.75rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.problem-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #dc2626;
}

.problem-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.problem-content p {
    color: #6b7280;
}

.solution-card {
    text-align: center;
}

.solution-container {
    background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
    padding: 2rem;
    border-radius: 1rem;
}

.solution-inner {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.solution-emoji {
    font-size: 3.75rem;
    margin-bottom: 1rem;
}

.solution-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.solution-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.solution-benefit svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}

.solution-benefit span {
    color: #374151;
}

@media (min-width: 768px) {
    .problem-solution-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Features Section */
.features {
    background: white;
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card.green {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.feature-card.purple {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.blue {
    background: #dbeafe;
}

.feature-icon.green {
    background: #d1fae5;
}

.feature-icon.purple {
    background: #e9d5ff;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-icon.blue svg {
    color: #2563eb;
}

.feature-icon.green svg {
    color: #059669;
}

.feature-icon.purple svg {
    color: #7c3aed;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card > p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.feature-item svg {
    width: 1rem;
    height: 1rem;
    color: #10b981;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials */
.testimonials {
    background: #f9fafb;
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stars {
    display: flex;
    margin-bottom: 1rem;
}

.stars svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fbbf24;
}

.testimonial-text {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-right: 1rem;
}

.author-avatar.blue {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

.author-avatar.green {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.author-avatar.purple {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
}

.author-info .name {
    font-weight: 600;
    color: #1f2937;
}

.author-info .title {
    color: #6b7280;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats Section */
.stats {
    background: #4f46e5;
    color: white;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    color: #c7d2fe;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Pricing Section */
.pricing {
    background: white;
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.pricing-card {
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
}

.pricing-card.free {
    background: #f9fafb;
}

.pricing-card.pro {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #1f2937;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card .price .period {
    font-size: 1.125rem;
    font-weight: 400;
}

.pricing-card.free .period {
    color: #6b7280;
}

.pricing-card.pro .period {
    opacity: 0.8;
}

.pricing-card .description {
    margin-bottom: 1.5rem;
}

.pricing-card.free .description {
    color: #6b7280;
}

.pricing-card.pro .description {
    opacity: 0.8;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.pricing-card.free .pricing-feature svg {
    color: #10b981;
}

.pricing-card.pro .pricing-feature svg {
    color: #86efac;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.free .btn {
    background: #6b7280;
    color: white;
}

.pricing-card.free .btn:hover {
    background: #374151;
}

.pricing-card.pro .btn {
    background: #fbbf24;
    color: #1f2937;
}

.pricing-card.pro .btn:hover {
    background: #f59e0b;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 25%, #2563eb 100%);
    color: white;
    padding: 5rem 0;
}

.final-cta-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.final-cta-note {
    font-size: 0.875rem;
    color: #bfdbfe;
}

@media (min-width: 640px) {
    .final-cta-buttons {
        flex-direction: row;
    }
    
    .final-cta h2 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .final-cta h2 {
        font-size: 3.5rem;
    }
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.social-links svg {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Text */
@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

/* Authentication Modals CSS - Add to your existing style.css */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

/* Modal Container */
.modal {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 28rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-out;
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content {
    padding: 2rem;
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.modal-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Password Input */
.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #374151;
}

/* Password Strength Indicator */
.password-strength {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.password-strength::before {
    content: '';
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

.password-strength.weak::before {
    background: #ef4444;
}

.password-strength.medium::before {
    background: #f59e0b;
}

.password-strength.strong::before {
    background: #10b981;
}

.password-strength::after {
    content: 'Weak';
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.password-strength.medium::after {
    content: 'Medium';
    color: #f59e0b;
}

.password-strength.strong::after {
    content: 'Strong';
    color: #10b981;
}

/* Checkbox Styles */
.checkbox-group {
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4f46e5;
    border-color: #4f46e5;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.checkbox-label a {
    color: #4f46e5;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -0.5rem 0 0.5rem 0;
}

/* Button Styles - extend existing */
.btn-full {
    width: 100%;
    margin: 0.5rem 0;
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Loading State */
.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Link Button */
.link-btn {
    background: none;
    border: none;
    color: #4f46e5;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    font-size: inherit;
    padding: 0;
}

.link-btn:hover {
    text-decoration: underline;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Form Errors */
.form-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.active {
    display: block;
}

.form-group.error input {
    border-color: #ef4444;
}

.form-group.error input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: #d1fae5;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #10b981;
}

.success-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.success-modal p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-header {
        margin-bottom: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .checkbox-label {
        font-size: 0.8125rem;
    }
}