/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F4A261;
    --secondary-color: #E07A2F;
    --accent-color: #264653;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --background: #FFFFFF;
    --background-light: #F7FAFC;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #F4A261 0%, #E07A2F 100%);
    --gradient-secondary: linear-gradient(135deg, #264653 0%, #2A9D8F 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    flex: 1;
}

/* Search Section */
.search-section {
    padding: 60px 0 80px;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.search-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Search Form */
.search-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.checkbox-group {
    grid-column: 1 / -1;
}

.checkbox-label {
    margin-bottom: 0.75rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.checkbox-item:hover {
    background: var(--background-light);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Results Section */
.results-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #ef4444;
    margin-bottom: 2rem;
}

/* Sitters Grid */
.sitters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.sitter-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sitter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.sitter-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.sitter-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sitter-card-content {
    padding: 1.5rem;
}

.sitter-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sitter-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.sitter-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.star {
    color: #FBBF24;
    font-size: 1.125rem;
}

.rating-text {
    font-weight: 600;
    color: var(--text-primary);
}

.review-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.sitter-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sitter-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-range {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.view-profile-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-profile-btn:hover {
    color: var(--secondary-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .search-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .sitters-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .search-title {
        font-size: 1.75rem;
    }

    .search-form-container {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Profile Page Styles */
.profile-loading,
.profile-error {
    text-align: center;
    padding: 4rem 2rem;
}

.profile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.profile-error h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-error p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.profile-content {
    padding: 2rem 0;
}

/* Profile Header */
.profile-header {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-image-container img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.profile-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid var(--primary-color);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-actions .btn {
    flex: 1;
    min-width: 200px;
}

.profile-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Profile Sections */
.profile-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.section-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

.no-data {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon {
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-accepts {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.service-accepts strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.accepts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.accept-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Pets List */
.pets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pet-card {
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.pet-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.pet-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-info {
    flex: 1;
}

.pet-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pet-breed {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pet-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.pet-about {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-method-tag {
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Availability */
.availability-info {
    color: var(--text-secondary);
}

.calendar-container {
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 10px;
    text-align: center;
}

.calendar-note {
    color: var(--text-secondary);
    font-style: italic;
}

/* Responsive Profile */
@media (max-width: 968px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .btn {
        width: 100%;
    }

    .pets-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profile-header {
        padding: 1.5rem;
    }

    .profile-image-container img,
    .profile-image-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-section {
        padding: 1.5rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Gallery Styles */
.gallery-container {
    margin-top: 1rem;
}

.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.gallery-count {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.gallery-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.gallery-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.gallery-item {
    flex-shrink: 0;
    width: 220px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.gallery-item:hover .gallery-image-wrapper {
    border-color: var(--primary-color);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.gallery-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.gallery-more-icon {
    font-size: 2rem;
    font-weight: bold;
}

.gallery-more-text {
    font-size: 1rem;
    font-weight: 700;
}

.gallery-caption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Gallery Modal (Fullscreen) */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    line-height: 1;
    padding: 0;
    font-weight: bold;
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.15);
}

.gallery-modal-prev {
    left: -80px;
}

.gallery-modal-next {
    right: -80px;
}

.gallery-modal-image-container {
    width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-modal-caption {
    color: white;
    font-size: 1.125rem;
    text-align: center;
    padding: 1rem;
    max-width: 800px;
    line-height: 1.6;
}

.gallery-modal-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive Gallery */
@media (max-width: 968px) {
    .gallery-item {
        width: 180px;
    }

    .gallery-image-wrapper {
        height: 180px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }

    .gallery-modal-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .gallery-item {
        width: 160px;
    }

    .gallery-image-wrapper {
        height: 160px;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        position: fixed;
        bottom: 20px;
        top: auto;
        transform: none;
    }

    .gallery-modal-prev {
        left: 20px;
    }

    .gallery-modal-next {
        right: 20px;
    }
}

/* Auth Pages Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

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

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.auth-form label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.auth-form input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.forgot-password-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-decoration: none;
    align-self: flex-end;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.password-hint {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.password-hint small {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.password-requirements {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.password-requirements li {
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.password-match {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-error,
.auth-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.auth-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.auth-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.error-icon,
.success-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-secondary);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

.google-signin-container {
    margin-bottom: 1.5rem;
}

.google-signin-container > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive Auth */
@media (max-width: 640px) {
    .auth-container {
        padding: 2rem 0;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }
}

