/* Layazia Beauty Salon - Enhanced Main Stylesheet */

/* CSS Custom Properties */
:root {
    --primary-color: #C08329;
    --primary-hover: #a66d1f;
    --secondary-color: #47B5AF;
    --secondary-hover: #3ba89f;
    --accent-color: #FF5757;
    --accent-hover: #e55656;
    --background-color: #F8F9FA;
    --text-header-primary: #ffffff;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --text-muted: #95A5A6;
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --error-color: #E74C3C;
    --info-color: #3498DB;
    --border-color: #E1E8ED;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #d4941f);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #6ee7e0);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #ff8a8a);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* Enhanced Layout */
.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container h1,h2,h3,h4,h5,h6,p {
    color: var(--text--header-primary);
}

@media (min-width: 576px) {
    .container-fluid { padding: 0 1.5rem; }
}

@media (min-width: 992px) {
    .container-fluid { padding: 0 2rem; }
}

.section-spacing {
    margin: 3rem 0;
}

.section-spacing-sm {
    margin: 2rem 0;
}

.section-spacing-lg {
    margin: 4rem 0;
}

/* Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.logo:hover {
    transform: scale(1.02);
}
.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.main-header.scrolled .logo-img {
    height: 42px;
}

/* Search Bar */
.search-bar {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-form .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.search-input {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.search-input:focus {
    /*outline: none;*/
    /*border-color: var(--primary-color);*/
    /*box-shadow: 0 0 0 3px rgba(192, 131, 41, 0.1);*/
    background: white;
}

.search-btn {
    position: relative;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 2;
}

.search-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateX(-1px);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-top: 8px;
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
}

.suggestion-section {
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-section:last-child {
    border-bottom: none;
}

.suggestion-header {
    padding: 12px 20px 8px;
    background: #f8f9fa;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #333;
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.suggestion-item mark {
    background: rgba(192, 131, 41, 0.15);
    color: var(--primary-color);
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Location Selector */
.location-selector {
    position: relative;
}

.current-location {
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 25px;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-width: 160px;
    justify-content: space-between;
}

.current-location:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    border: 2px solid transparent;
    background: transparent;
}

.user-menu-btn:hover {
    background: #f8f9fa;
    border-color: #e8e8e8;
    color: var(--primary-color);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

.user-menu-btn:hover .user-avatar {
    border-color: var(--primary-color);
}

.user-name {
    font-weight: 500;
    font-size: 14px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 14px;
}

/* Navigation */
/*.main-navigation {*/
/*    background: white;*/
/*    border-bottom: 1px solid #f0f0f0;*/
/*    position: sticky;*/
/*    top: 80px;*/
/*    z-index: 1040;*/
/*    transition: all 0.3s ease;*/
/*}*/

.main-navigation.scrolled {
    /*top: calc(var(--header-height) - 5px);*/
    top: 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.main-header.scrolled + .main-navigation {
    /*top: calc(var(--header-height) - 5px);*/
    /*top: 80px;*/
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(192, 131, 41, 0.05);
}

.nav-item.active .nav-link {
    color: var(--primary-color);
    background: rgba(192, 131, 41, 0.05);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
}

/* Location Modal */
.location-list {
    max-height: 300px;
    overflow-y: auto;
}

.location-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 2px solid transparent;
    background: #f8f9fa;
    position: relative;
}

.location-item:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.location-item i {
    color: var(--primary-color);
    font-size: 18px;
}
.location-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.location-item:hover:not(.loading) {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.location-item.loading {
    opacity: 0.6;
    pointer-events: none;
    background: #e9ecef;
}

.location-item.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*height: 2px;*/
    background: var(--primary-color);
    animation: progress 2s infinite;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced Navigation */
.main-navigation {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    /*top: var(--header-height);*/
    top: 80px;
    z-index: 999;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    margin: 0;
    white-space: nowrap;
}

.nav-link {
    display: block;
    padding: 16px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
    background: rgba(192, 131, 41, 0.05);
}

.nav-item.active .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Categories Dropdown */
.nav-item.dropdown {
    position: static;
}

.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.dropdown .dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 250px;
    margin-top: 0;
    background: white;
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
}

.nav-item.dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-primary);
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
}

.nav-item.dropdown .dropdown-item:hover {
    background: rgba(192, 131, 41, 0.05);
    color: var(--primary-color);
    padding-left: 24px;
}

.nav-item.dropdown .dropdown-item .navigation-category-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.nav-item.dropdown .dropdown-menu li {
    list-style: none;
}

/* Enhanced Button Styles */
.btn {
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: var(--shadow);
}

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

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

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

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

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

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

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

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Enhanced Card Styles */
.card-custom {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: none;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-custom .card-body {
    padding: 1.5rem;
}

/* Enhanced Badge Styles */
.badge-custom {
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

.badge-error {
    background: var(--error-color);
    color: white;
}

/* Enhanced Form Styles */
.form-control-custom {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 16px;
    transition: var(--transition);
    background: white;
    width: 100%;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 131, 41, 0.1);
}

.form-control-custom::placeholder {
    color: var(--text-muted);
}

.form-label-custom {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Enhanced Main Content */
.main-content {
    padding: 20px 0 40px;
    min-height: calc(100vh - 200px);
}

/* Enhanced Footer */
.main-footer {
    background: #2A2A2A;
    color: white;
    padding: 40px 0 0;
    margin-top: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 131, 41, 0.3);
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.app-store-badge,
.play-store-badge {
    height: 40px;
    transition: var(--transition);
}

.app-store-badge:hover,
.play-store-badge:hover {
    transform: scale(1.05);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* Enhanced Grid Systems */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.service-grid,
.salon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.featured-salons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

/* Enhanced Loading States */
.loading {
    display: inline-block;
    /*width: 20px;*/
    /*height: 20px;*/
    border: 3px solid rgba(192, 131, 41, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
}

.bottom-nav .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    text-align: center;
    padding: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-link:focus,
.current-location:focus,
.btn:focus,
.search-input:focus {
    /*outline: 2px solid var(--primary-color);*/
    /*outline-offset: 2px;*/
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced Utility Classes */
.text-primary-custom { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.text-accent-custom { color: var(--accent-color) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.bg-accent-custom { background-color: var(--accent-color) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-secondary { background: var(--gradient-secondary) !important; }
.bg-gradient-accent { background: var(--gradient-accent) !important; }
.rounded-custom { border-radius: var(--border-radius) !important; }
.rounded-custom-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-custom-lg { border-radius: var(--border-radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.shadow-custom-hover { box-shadow: var(--shadow-hover) !important; }
.text-primary-main { color: var(--text-primary) !important; }
/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .service-grid,
    .salon-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .header-center {
        order: 3;
        width: 100%;
    }

    .header-right {
        order: 2;
        width: 100%;
        justify-content: space-between;
        display: flex;
    }

    .header-left {
        order: 1;
    }

    .search-bar {
        max-width: 100%;
    }

    .location-selector {
        margin-right: 0;
    }

    .main-navigation {
        /*top: calc(var(--header-height) + 60px);*/
        top: 120px;
    }

    .main-navigation.scrolled {
        /*top: calc(var(--header-height) + 40px);*/
        top: 140px;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: relative;
    }

    .main-navigation {
        position: relative;
        top: auto;
    }

    .header-content {
        padding: 12px 0;
    }

    .logo-img {
        height: 42px;
    }

    .search-input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .current-location {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 140px;
    }

    .user-name {
        display: none;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

/* Loading States */
.btn.btn-loading{
    position:relative;
    /*color:transparent;*/
    pointer-events:none;
}
.btn.btn-loading > *{opacity:0}
.btn.btn-loading::after{
    content:'';
    position:absolute;
    top:66%;
    left:50%;
    width:18px;
    height:18px;
    margin:-9px 0 0 -9px;
    border:2px solid var(--spinner-border,currentColor);
    border-radius:50%;
    border-top-color:transparent;
    animation:spin .8s linear infinite;
}

@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding: 0 1rem;
    }
    .header-content {
        gap: 12px;
    }

    .header-content {
        gap: 12px;
    }

    .logo-img {
        height: 35px;
        max-width: 140px;
    }

    .nav-menu {
        padding: 0 10px;
    }

    .nav-link {
        padding: 10px 8px;
        font-size: 12px;
    }

    .current-location {
        padding: 6px 12px;
        font-size: 13px;
    }

    .suggestion-item,
    .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .featured-salons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-spacing {
        margin: 2rem 0;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
}



/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-scale {
    animation: fadeInScale 0.4s ease-out;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    border-left: 4px solid #ddd;
    min-width: 320px;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.success { border-left-color: var(--success-color); }
.toast-notification.error { border-left-color: var(--error-color); }
.toast-notification.warning { border-left-color: var(--warning-color); }
.toast-notification.info { border-left-color: var(--info-color); }

.toast-content {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: #f0f0f0;
    color: #666;
}

/* Loading Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Styles */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 20px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px;
    background: var(--background-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
.modal-title {
    font-weight: 600;
    margin: 0;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin-top: 8px;
    border: 1px solid #f0f0f0;
}

.dropdown-header {
    padding: 12px 20px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.dropdown-item.text-danger:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
}

.dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid var(--border-color);
}

/* Enhanced Table Styles */
.table-custom {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-custom th {
    background: var(--background-color);
    font-weight: 600;
    border: none;
    padding: 16px;
    color: var(--text-primary);
}

.table-custom td {
    border: none;
    padding: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.table-custom tbody tr:hover {
    background: rgba(192, 131, 41, 0.05);
}

/* Enhanced Pagination */
.pagination-custom {
    gap: 8px;
    justify-content: center;
}

.pagination-custom .page-item .page-link {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    padding: 8px 12px;
    transition: var(--transition);
    margin: 0;
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-custom .page-item .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
    transition: var(--transition);
}

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

/* Selection */
::selection {
    background: rgba(192, 131, 41, 0.2);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(192, 131, 41, 0.2);
    color: var(--text-primary);
}

/* Location Button States */
#getCurrentLocation {
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#getCurrentLocation:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 131, 41, 0.3);
}

#getCurrentLocation:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#getCurrentLocation.loading {
    pointer-events: none;
}

/* Error States */
#getCurrentLocation.error {
    background: var(--error-color);
    animation: shake 0.5s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success States */
#getCurrentLocation.success {
    background: var(--success-color);
}

/* Print Styles */
@media print {
    /*.main-header,*/
    .bottom-nav,
    .btn,
    .floating-action {
        display: none !important;
    }
    .main-header,
    .main-navigation {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #000;
    }

    .search-bar,
    .header-actions,
    .nav-menu {
        display: none;
    }
    body {
        background: white !important;
        color: black !important;
        padding-bottom: 0 !important;
    }

    .hero-banner {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Focus States */
/**:focus {*/
/*    outline: 2px solid var(--primary-color);*/
/*    outline-offset: 2px;*/
/*}*/

.btn:focus,
.form-control-custom:focus,
.search-input:focus {
    /*outline: none;*/
    /*box-shadow: 0 0 0 3px rgba(192, 131, 41, 0.3);*/
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.4);
        --border-color: #000000;
    }

    .btn {
        border-width: 2px;
    }

    .card-custom,
    .category-item {
        border: 2px solid var(--border-color);
    }
    .main-header,
    .main-navigation {
        border-bottom: 2px solid #000;
    }

    .nav-link:hover,
    .nav-item.active .nav-link {
        background: #000;
        color: #fff;
    }

    .current-location:hover {
        border-color: #000;
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .loading {
        animation: none;
    }

    .skeleton {
        animation: none;
        background: #f0f0f0;
    }
    .main-header,
    .nav-link,
    .current-location,
    .suggestion-item,
    .dropdown-item,
    .toast-notification,
    .location-item {
        transition: none;
    }

    .logo-img {
        transition: none;
    }
}

/* Pagination Wrapper */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.pagination-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Main Pagination Container */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
}

.pagination .page-item {
    margin: 0;
    border: none;
}

.pagination .page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    margin: 0;
    color: var(--text-secondary);
    text-decoration: none;
    background-color: white;
    border: 1px solid transparent;
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
    min-width: 48px;
    height: 48px;
}

/* First and Last item border radius */
.pagination .page-item:first-child .page-link {
    border-left: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.pagination .page-item:last-child .page-link {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Hover States */
.pagination .page-link:hover {
    color: var(--primary-color);
    background-color: rgba(192, 131, 41, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    z-index: 2;
    text-decoration: none;
}

/* Active Page */
.pagination .page-item.active .page-link {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    z-index: 3;
}

/* Disabled Pages */
.pagination .page-item.disabled .page-link {
    color: #ccc;
    background-color: #f8f9fa;
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    background-color: #f8f9fa;
    color: #ccc;
    text-decoration: none;
}

/* Previous/Next buttons with Font Awesome icons */
.pagination .page-link[rel="prev"]:before {
    content: "\f053";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
}

.pagination .page-link[rel="next"]:after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
}

/* Alternative icons if Font Awesome is not available */
.pagination .page-link[rel="prev"]:not(.fa-loaded):before {
    content: "‹";
    font-family: inherit;
    font-size: 18px;
    margin-right: 4px;
}

.pagination .page-link[rel="next"]:not(.fa-loaded):after {
    content: "›";
    font-family: inherit;
    font-size: 18px;
    margin-left: 4px;
}

.home-service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #28a745, #28a745);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 2rem;
        padding: 1rem 0;
    }

    .pagination {
        flex-wrap: wrap;
        border-radius: 8px;
        gap: 2px;
    }

    .pagination .page-link {
        padding: 10px 12px;
        font-size: 14px;
        min-width: 40px;
        height: 40px;
    }

    .pagination .page-link[rel="prev"],
    .pagination .page-link[rel="next"] {
        padding: 10px 16px;
    }

    /* Hide some page numbers on mobile for better UX */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
        display: none;
    }

    /* Ensure important pages are always visible */
    .pagination .page-item.active,
    .pagination .page-item:first-child,
    .pagination .page-item:last-child {
        display: flex;
    }
}

@media (max-width: 480px) {
    .pagination .page-link {
        padding: 8px 10px;
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination .page-link[rel="prev"],
    .pagination .page-link[rel="next"] {
        padding: 8px 12px;
    }

    /* On very small screens, show only essential pagination */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    /* Show only prev, current, next */
    .pagination .page-item.active,
    .pagination .page-item:first-child,
    .pagination .page-item:last-child {
        display: flex;
    }
}

/* Dark mode support (if needed) */
/*@media (prefers-color-scheme: dark) {*/
/*    .pagination {*/
/*        background: #2d3748;*/
/*        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);*/
/*    }*/

/*    .pagination .page-link {*/
/*        background-color: #2d3748;*/
/*        color: #e2e8f0;*/
/*        border-color: #4a5568;*/
/*    }*/

/*    .pagination .page-link:hover {*/
/*        background-color: rgba(192, 131, 41, 0.2);*/
/*        color: var(--primary-color);*/
/*    }*/

/*    .pagination .page-item.disabled .page-link {*/
/*        background-color: #1a202c;*/
/*        color: #718096;*/
/*    }*/
/*}*/

/* Loading state for pagination links */
.pagination .page-link.loading {
    pointer-events: none;
    opacity: 0.6;
}

.pagination .page-link.loading:after {
    content: "";
    /*width: 12px;*/
    /*height: 12px;*/
    margin-left: 8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Accessibility improvements */
.pagination .page-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    z-index: 4;
}

.pagination .page-item.active .page-link:focus {
    outline-color: white;
}

/* RTL support for Arabic */
[dir="rtl"] .pagination .page-link[rel="prev"]:before {
    content: "\f054";
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .pagination .page-link[rel="next"]:after {
    content: "\f053";
    margin-left: 0;
    margin-right: 8px;
}

/* Compact pagination variant */
.pagination.pagination-sm .page-link {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 36px;
    height: 36px;
}

/* Large pagination variant */
.pagination.pagination-lg .page-link {
    padding: 16px 20px;
    font-size: 16px;
    min-width: 56px;
    height: 56px;
}

/* Centered pagination info */
.pagination-info.text-center {
    text-align: center;
    margin-bottom: 1rem;
}

/* Pagination with results summary */
.pagination-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-summary .results-info {
    color: var(--text-secondary);
    font-size: 14px;
}

.pagination-summary .pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Custom pagination for search results */
.search-pagination-wrapper {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.search-pagination-wrapper .pagination-info {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Animation for page transitions */
.pagination .page-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .page-link:hover {
    transform: translateY(-2px) scale(1.05);
}

.pagination .page-item.active .page-link {
    transform: scale(1.1);
}

/* Smooth scroll behavior for pagination clicks */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .pagination-wrapper,
    .pagination {
        display: none;
    }
}


/* Auth Container */
.auth-container {
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
    padding: 2rem 0;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Step Management */
.auth-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.auth-step.active {
    display: block;
}

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

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

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
}



.form-select {
    border: var(--shadow);
    border-radius: 8px;
    padding: 0.75rem;
    background-color: white;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    outline: none;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group-text {
    background: #f7fafc;
    border: var(--shadow);
    border-right: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

/* OTP Input */
.otp-container {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.2s ease;
    outline: none;
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--border-color);
}

.otp-input.filled {
    color: #000000;
    border-color: var(--primary-color);
}

.otp-input.error {
    border-color: #e53e3e;
    background: #fed7d7;
}

/* Gender Selection */
.gender-options {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-check-input {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    color: #4a5568;
    font-weight: 500;
}

/* Buttons */
.auth-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.auth-btn:hover:not(:disabled) {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--border-color);
}

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

.auth-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-loader i {
    animation: spin 1s linear infinite;
}

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

/* Success States */
.success-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.success-icon i {
    font-size: 4rem;
    color: #48bb78;
    animation: successPulse 1s ease-in-out;
}

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

/* Links */
.text-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.text-primary:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Alerts and Messages */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #f0fff4;
    border-color: #9ae6b4;
    color: #22543d;
}

.alert-danger {
    background-color: #fed7d7;
    border-color: #fc8181;
    color: #742a2a;
}

.alert-info {
    background-color: #ebf8ff;
    border-color: #90cdf4;
    color: #2c5282;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    /*width: 40px;*/
    /*height: 40px;*/
    border: 4px solid #e2e8f0;
    border-top: 4px solid var(--border-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modal Styles */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-body {
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem 0;
    }

    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }

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

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .gender-options {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        margin: 0.5rem;
        padding: 1rem;
    }

    .otp-container {
        gap: 0.25rem;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Dark Mode Support */
/*@media (prefers-color-scheme: dark) {*/
/*    .auth-container {*/
/*        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);*/
/*    }*/

/*    .auth-card {*/
/*        background: #2d3748;*/
/*        color: #e2e8f0;*/
/*    }*/

/*    .auth-title {*/
/*        color: #e2e8f0;*/
/*    }*/
/*}*/

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.auth-btn:focus,
.otp-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

#loginModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

#loginModal .modal-body {
    padding: 0;
}


/* Ensure modal closes properly on backdrop click */
#loginModal .modal-dialog {
    pointer-events: none;
}

#loginModal .modal-content {
    pointer-events: auto;
}

/* Enhanced Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(224, 224, 224, 0.3);
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 30px;
    position: relative;
}

/* Logo Enhancement */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-header.scrolled .logo-img {
    height: 48px;
}

/* Enhanced Search Container */
.search-container {
    position: relative;
    flex: 1;
    max-width: 550px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-input-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 131, 41, 0.1);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 131, 41, 0.15);
    background: white;
}

.search-icon {
    color: #9ca3af;
    font-size: 16px;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within .search-icon {
    color: var(--primary-color);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 12px 0;
    color: #333;
    placeholder-color: #9ca3af;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: 10px;
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.search-btn:active {
    transform: scale(0.95);
}

/* Enhanced Search Suggestions */
.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
}

.suggestion-section {
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-section:last-child {
    border-bottom: none;
}

.suggestion-header {
    padding: 16px 24px 12px;
    background: #f8f9fa;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-item {
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #374151;
    border-bottom: 1px solid #f9fafb;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    transform: translateX(5px);
}

.suggestion-item mark {
    background: rgba(192, 131, 41, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
}

.suggestion-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Location Container */
.location-container {
    margin-right: 20px;
}

.current-location {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-width: 180px;
    justify-content: space-between;
    font-weight: 500;
}

.current-location:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.current-location i {
    font-size: 16px;
    margin-right: 8px;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    background: none;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4b5563;
    font-weight: 500;
}

.user-menu-trigger:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(192, 131, 41, 0.05);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-menu-trigger:hover .user-avatar {
    border-color: var(--primary-color);
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-trigger i {
    font-size: 12px;
    transition: all 0.3s ease;
}

.user-menu-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Login Button */
.login-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 131, 41, 0.3);
}

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

/* Enhanced Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    margin-top: 12px;
    min-width: 250px;
    border: 1px solid #f0f0f0;
}

.dropdown-header {
    padding: 16px 24px 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.user-info strong {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: block;
}

.user-info small {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

.dropdown-item {
    padding: 12px 24px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    border: none;
    width: 100%;
    text-align: left;
    background: none;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.logout-btn {
    color: #dc2626 !important;
}

.logout-btn:hover {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #dc2626 !important;
}

.dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid #f0f0f0;
}

/*!* Enhanced Navigation *!*/
/*.main-navigation {*/
/*    background: white;*/
/*    border-bottom: 1px solid #f0f0f0;*/
/*    position: sticky;*/
/*    top: 90px;*/
/*    z-index: 1040;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.main-navigation.scrolled {*/
/*    top: 82px;*/
/*    background: rgba(255, 255, 255, 0.98);*/
/*    backdrop-filter: blur(15px);*/
/*}*/

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 8px;
}

.nav-item {
    margin: 0;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    gap: 8px;
}

.nav-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(192, 131, 41, 0.08);
    transform: translateY(-1px);
}

.nav-item.active .nav-link {
    color: var(--primary-color);
    background: rgba(192, 131, 41, 0.12);
    font-weight: 600;
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-content {
        gap: 20px;
    }

    .search-container {
        max-width: 450px;
    }

    .user-name {
        max-width: 100px;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-center {
        order: 3;
        width: 100%;
    }

    .search-container {
        max-width: 100%;
    }

    .nav-menu {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        padding: 16px 20px;
        white-space: nowrap;
    }

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

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }

    .logo-img {
        height: 45px;
    }

    .main-header.scrolled .logo-img {
        height: 40px;
    }

    .search-input-wrapper {
        padding: 4px 4px 4px 16px;
    }

    .search-input {
        padding: 10px 0;
        font-size: 14px;
    }

    .search-btn {
        width: 40px;
        height: 40px;
    }

    .current-location {
        min-width: 140px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .user-name {
        display: none;
    }

    .login-btn {
        padding: 10px 20px;
    }

    .main-navigation {
        position: relative;
        top: 0;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .nav-icon {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 12px 0;
    }

    .logo-img {
        height: 40px;
        max-width: 150px;
    }

    .search-input-wrapper {
        padding: 4px 4px 4px 12px;
    }

    .search-btn {
        width: 36px;
        height: 36px;
    }

    .current-location {
        min-width: 120px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .nav-link span {
        display: none;
    }

    .nav-icon {
        font-size: 16px;
    }

    .dropdown-menu {
        min-width: 200px;
    }

    .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .main-header,
    .main-navigation {
        border-bottom: 2px solid #000;
    }

    .search-input-wrapper {
        border: 2px solid #000;
    }

    .current-location,
    .user-menu-trigger {
        border: 2px solid #000;
    }

    .nav-link:hover,
    .nav-item.active .nav-link {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .main-header,
    .logo,
    .logo-img,
    .search-input-wrapper,
    .search-btn,
    .current-location,
    .user-menu-trigger,
    .login-btn,
    .nav-link,
    .dropdown-item,
    .suggestion-item {
        transition: none;
    }

    .logo:hover,
    .search-btn:hover,
    .current-location:hover,
    .user-menu-trigger:hover,
    .login-btn:hover,
    .nav-link:hover,
    .dropdown-item:hover,
    .suggestion-item:hover {
        transform: none;
    }
}





