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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #667eea;
    font-size: 1.5em;
}

.nav-logo a {
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* Profile Settings Header with Profile Picture */
.profile-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.profile-settings-title {
    flex: 1;
}

.profile-settings-title h1 {
    margin-bottom: 10px;
}

.profile-settings-title .section-subtitle {
    margin-bottom: 0;
}

.header-profile-container {
    position: relative;
    width: 8vw;
    height: 8vw;
    min-width: 80px;
    min-height: 80px;
    max-width: 150px;
    max-height: 150px;
    flex-shrink: 0;
}

.header-profile-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    overflow: hidden;
    border: 3px solid #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

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

.header-edit-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 2vw;
    height: 2vw;
    min-width: 28px;
    min-height: 28px;
    max-width: 40px;
    max-height: 40px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-edit-icon:hover {
    background: #667eea;
    transform: scale(1.1);
}

.header-edit-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-provider {
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-provider:hover {
    background: #e0e0e0;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Commission Badge */
.commission-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.badge-icon {
    font-size: 1.3em;
}

.badge-text {
    letter-spacing: 0.5px;
}

#serviceSearch {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
}

#serviceSearch:focus {
    outline: none;
}

.btn-search {
    background: #333;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btn-search:hover {
    background: #000;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 2em;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.95em;
    opacity: 0.9;
}

/* Sections */
.services-section,
.how-it-works,
.about-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.service-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 0.95em;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.step-card p {
    color: #666;
}

/* Provider CTA */
.provider-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-box h3 {
    color: #333;
    margin-bottom: 10px;
}

.feature-box p {
    color: #666;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2em;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.btn-submit:hover {
    opacity: 0.9;
}

.form-footer {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* Provider Login Page */
.provider-login-section {
    min-height: calc(100vh - 80px);
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.login-box,
.benefits-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-box h1 {
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Provider Form */
.provider-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95em;
}

.btn-submit-full {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-submit-full:hover {
    transform: translateY(-2px);
}

.info-text {
    text-align: center;
    color: #28a745;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Benefits Box */
.benefits-box h2 {
    color: #333;
    margin-bottom: 30px;
}

.zero-commission-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.zero-commission-highlight h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.3em;
}

.zero-commission-highlight p {
    color: white;
    opacity: 0.95;
    margin: 0;
    font-size: 1em;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2.5em;
}

.benefit-item h3 {
    color: #333;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #666;
    font-size: 0.95em;
}

/* Testimonials */
.testimonials-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9em;
}

/* Mobile Responsive */

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #667eea;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

/* Tablet Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .quick-stats {
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 65px);
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a,
    .nav-links button {
        width: 100%;
        text-align: left;
        padding: 15px 10px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }
    
    .nav-links .btn-provider,
    .nav-links .btn-login {
        margin-top: 10px;
        text-align: center;
        border: none;
        border-radius: 8px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 1.8em;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .commission-badge {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .badge-icon {
        font-size: 20px;
    }
    
    /* Search Bar */
    .search-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-bar input {
        width: 100%;
        font-size: 16px;
        padding: 15px 20px;
    }
    
    .btn-search {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    #searchSuggestions {
        font-size: 14px;
    }
    
    /* Quick Stats */
    .quick-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 20px;
    }
    
    .stat-item strong {
        font-size: 1.8em;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2.5em;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.8em;
    }
    
    .section-subtitle {
        font-size: 1em;
    }
    
    /* Login Container */
    .login-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 20px 10px;
    }
    
    .login-welcome {
        padding: 30px 20px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    /* Modal */
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }
    
    /* Location Modal Mobile */
    #locationModal .modal-content {
        padding: 25px 20px;
    }
    
    #locationModal h2 {
        font-size: 1.5em;
    }
    
    #locationModal p {
        font-size: 14px;
    }
    
    .btn-location-primary {
        font-size: 15px !important;
        padding: 14px 20px !important;
    }
    
    #postalCodeInput {
        font-size: 16px !important;
        padding: 14px !important;
    }
    
    /* Location Badge Mobile */
    #locationBadge {
        top: 70px !important;
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        font-size: 14px;
    }
    
    /* Providers Container */
    .providers-container {
        grid-template-columns: 1fr;
    }
    
    /* Provider Card */
    .provider-card {
        padding: 20px;
    }
    
    .provider-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-book {
        width: 100%;
    }
    
    /* Filters Sidebar - Mobile Toggle */
    .filters-sidebar {
        position: fixed;
        left: -100%;
        top: 65px;
        width: 280px;
        height: calc(100vh - 65px);
        background: white;
        z-index: 998;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        padding: 20px;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    /* Dashboard */
    .dashboard-container {
        padding: 20px 10px;
    }
    
    .dashboard-header h1 {
        font-size: 1.8em;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Modern Navbar Mobile (Dashboard Pages) */
    .modern-navbar .nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .modern-navbar .nav-logo {
        flex: 1;
        min-width: 200px;
    }
    
    .modern-navbar .logo-text {
        font-size: 20px !important;
    }
    
    .modern-navbar .logo-icon {
        font-size: 1.8em !important;
    }
    
    .modern-navbar .nav-actions {
        gap: 15px !important;
    }
    
    .modern-navbar .nav-actions > a > div,
    .modern-navbar .nav-notifications,
    .modern-navbar .nav-user-menu {
        width: 45px !important;
        height: 45px !important;
        padding: 5px 10px !important;
    }
    
    .modern-navbar .nav-user-menu .user-name-nav {
        display: none;
    }
    
    .modern-navbar .nav-user-menu .fa-chevron-down {
        display: none;
    }
    
    .modern-navbar .nav-actions i {
        font-size: 20px !important;
    }
    
    .modern-navbar .user-avatar-small {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2em !important;
    }
    
    /* Dashboard Icon Menu Grid */
    .icon-dashboard-container {
        padding: 30px 15px;
    }
    
    .icon-dashboard-header h1 {
        font-size: 1.8em;
    }
    
    .icon-dashboard-header p {
        font-size: 1em;
    }
    
    .icon-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .icon-menu-card {
        min-height: 200px;
        padding: 30px 20px;
    }
    
    .icon-menu-card .icon-image {
        width: 80px;
        height: 80px;
    }
    
    .icon-menu-card .icon {
        width: 50px;
        height: 50px;
        font-size: 2em;
    }
    
    .icon-menu-card h3 {
        font-size: 1.2em;
    }
    
    /* Dropdown Menus Mobile */
    .notification-dropdown,
    .user-dropdown {
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .user-dropdown {
        max-width: 280px;
    }
    
    /* Tables */
    table {
        font-size: 14px;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Buttons */
    .btn, button {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 44px; /* Touch-friendly */
    }
    
    /* Forms */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    /* Services Page Specific */
    .service-header {
        padding: 30px 20px;
    }
    
    .service-header h1 {
        font-size: 1.8em;
    }
    
    .search-filter-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-filter-bar input,
    .search-filter-bar select {
        width: 100%;
    }
    
    .services-layout {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        height: auto;
        margin-bottom: 20px;
    }
    
    .providers-list {
        width: 100%;
        padding: 15px;
    }
    
    /* Mobile Filter Toggle Button */
    .mobile-filter-toggle {
        display: block;
        width: 100%;
        padding: 15px;
        background: #667eea;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 15px;
    }
    
    .mobile-filter-toggle:before {
        content: "🔍 ";
    }
    
    /* Provider Cards Mobile */
    .provider-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .provider-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    
    .provider-info {
        width: 100%;
    }
    
    .provider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .provider-header h3 {
        font-size: 1.3em;
    }
    
    .verified-badge {
        align-self: flex-start;
    }
    
    .provider-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .provider-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        margin-top: 15px;
    }
    
    .provider-price {
        width: 100%;
        text-align: left;
    }
    
    .btn-book {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1.2em;
    }
    
    .hero-title {
        font-size: 1.5em;
    }
    
    .hero-subtitle {
        font-size: 0.95em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .stat-item strong {
        font-size: 1.5em;
    }
    
    .service-card h3 {
        font-size: 1.1em;
    }
    
    .service-card p {
        font-size: 0.9em;
    }
    
    .commission-badge {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 1.6em;
    }
    
    .nav-links {
        height: 100vh;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap target sizes for touch devices */
    .service-card {
        min-height: 180px;
    }
    
    .nav-links a,
    .nav-links button {
        min-height: 48px;
    }
    
    button, .btn, a.btn {
        min-height: 48px;
        padding: 14px 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 0.9em;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .providers-container {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        display: none;
    }
}

/* Services Page Styles */
.service-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px 40px;
}

.service-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.service-header p {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 30px;
}

.search-filter-bar {
    display: flex;
    gap: 15px;
    max-width: 800px;
}

#locationInput {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
}

#sortBy {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    background: white;
}

.btn-filter {
    background: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-filter:hover {
    background: #000;
}

/* Providers Section */
.providers-section {
    padding: 40px 20px 80px;
    background: #f8f9fa;
}

.providers-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filters-sidebar h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.3em;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1em;
}

.btn-clear-filters {
    width: 100%;
    background: #f0f0f0;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-clear-filters:hover {
    background: #e0e0e0;
}

/* Providers List */
.providers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.provider-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.provider-avatar {
    font-size: 4em;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    flex-shrink: 0;
}

.provider-info {
    flex: 1;
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.provider-header h3 {
    color: #333;
    font-size: 1.4em;
    margin: 0;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating {
    color: #ff9f00;
    font-weight: 700;
    font-size: 1.1em;
}

.reviews {
    color: #666;
    font-size: 0.95em;
}

.provider-experience {
    color: #666;
    margin-bottom: 15px;
}

.provider-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.provider-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    color: #666;
    font-size: 0.85em;
}

.price-amount {
    color: #667eea;
    font-size: 1.5em;
    font-weight: 700;
}

.btn-book {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.btn-book.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* No Providers State */
.no-providers {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
}

.no-providers .empty-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.no-providers h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 15px;
}

.no-providers p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

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

/* Dashboard Styles */
.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-sidebar {
    background: white;
    padding: 30px 20px;
    border-right: 1px solid #e0e0e0;
}

.user-profile {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.profile-avatar {
.profile-avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    overflow: hidden;
    margin: 0 auto 15px;
}

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

/* Profile Picture in Settings */
.profile-picture-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.profile-picture-container {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.profile-picture-preview {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-picture-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: #667eea;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    opacity: 0.4;
}

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

.profile-picture-info {
    flex: 1;
}

.profile-picture-info p {
    margin: 5px 0;
}

.profile-picture-info .text-muted {
    color: #666;
    font-size: 0.9em;
}

.user-profile h3 {
    color: #333;
    margin-bottom: 5px;
}

.user-profile p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Avatar Upload Modal */
.avatar-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.avatar-option-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    font-weight: 500;
    color: #333;
}

.avatar-option-btn:hover {
    background: #f0f4ff;
    border-color: #667eea;
    transform: translateX(5px);
}

.avatar-option-btn.remove {
    color: #dc3545;
}

.avatar-option-btn.remove:hover {
    background: #fff5f5;
    border-color: #dc3545;
}

.avatar-icon {
    font-size: 1.5em;
}

/* Drag and Drop Zone Styles */
.drop-zone {
    border: 3px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.drop-zone.highlight {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.02);
}

.drop-zone-content {
    pointer-events: none;
}

.drop-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.drop-text {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

.drop-subtext {
    font-size: 0.9em;
    color: #888;
    margin: 10px 0;
}

.btn-browse {
    margin-top: 15px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.divider-text {
    text-align: center;
    color: #999;
    font-weight: 600;
    margin: 20px 0;
    position: relative;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}


.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dashboard-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dashboard-nav .nav-item:hover {
    background: #f5f7fa;
    color: #667eea;
}

.dashboard-nav .nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.dashboard-nav .nav-item span {
    font-size: 1.2em;
}

.dashboard-main {
    padding: 40px;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dashboard-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dashboard-section h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-box.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-box.highlight-box h3,
.stat-box.highlight-box .stat-number,
.stat-box.highlight-box small {
    color: white;
}

.stat-icon {
    font-size: 2.5em;
}

.stat-info h3 {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-number {
    color: #333;
    font-size: 2em;
    font-weight: 700;
}

.quick-actions {
    margin-top: 40px;
}

.quick-actions h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.action-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.action-card h3 {
    color: #333;
    margin-bottom: 8px;
}

.action-card p {
    color: #666;
    font-size: 0.9em;
}

.bookings-list,
.favorites-list {
    margin-top: 30px;
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.settings-tab {
    flex: 1;
    min-width: 150px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.settings-tab:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.settings-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.settings-tab .tab-icon {
    font-size: 2.5em;
    display: block;
}

.settings-tab .tab-label {
    font-weight: 600;
    font-size: 0.95em;
}

/* Settings Tab Content */
.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.settings-tab-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.tab-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95em;
}

/* Form Rows for Side-by-Side Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.settings-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    max-width: 500px;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.btn-primary-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
    margin-top: 20px;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
}

.earnings-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.earning-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.earning-card h3 {
    color: #666;
    margin-bottom: 10px;
    font-size: 1em;
}

.earning-amount {
    color: #667eea;
    font-size: 2.5em;
    font-weight: 700;
}

.commission-reminder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.commission-reminder h3 {
    color: white;
    margin-bottom: 10px;
}

.commission-reminder p {
    color: white;
    opacity: 0.95;
    margin: 0;
}

.availability-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.days-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.day-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    align-items: center;
}

.day-item input[type="time"] {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .dashboard-main {
        padding: 20px;
    }
    
    .day-item {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        font-size: 0.9em;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
}

/* Calendar Styles */
.availability-controls {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
}

.toggle-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.autofill-group {
    text-align: right;
}

.autofill-group .help-text {
    color: #666;
    font-size: 0.85em;
    margin-top: 5px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

.calendar-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h2 {
    color: #333;
    font-size: 1.5em;
    margin: 0;
}

.btn-nav {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s ease;
}

.btn-nav:hover {
    background: #667eea;
    color: white;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #666;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #e0e0e0;
}

.legend-box.available {
    background: #28a745;
    border-color: #28a745;
}

.legend-box.unavailable {
    background: #dc3545;
    border-color: #dc3545;
}

.legend-box.selected {
    background: #667eea;
    border-color: #667eea;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

#calendarDays {
    display: contents;
}

.calendar-day-header {
    padding: 10px;
    text-align: center;
    font-weight: 700;
    color: #667eea;
    background: #f5f7fa;
    border-radius: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.calendar-day.empty {
    cursor: default;
    background: transparent;
    border: none;
}

.calendar-day:not(.empty):not(.past):hover {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.calendar-day.today {
    border-color: #667eea;
    background: #f0f4ff;
}

.calendar-day.past {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-day.available {
    background: #d4edda;
    border-color: #28a745;
}

.calendar-day.unavailable {
    background: #f8d7da;
    border-color: #dc3545;
}

.calendar-day.selected {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.day-number {
    font-size: 1.2em;
    font-weight: 700;
    color: inherit;
}

.day-hours {
    font-size: 0.7em;
    color: inherit;
    margin-top: 2px;
}

.time-slots-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.time-slots-container h3 {
    color: #333;
    margin-bottom: 20px;
}

.time-slots-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.schedule-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule-summary h3 {
    color: #333;
    margin-bottom: 20px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.template-day {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.template-day input[type="time"] {
    padding: 6px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9em;
}

/* Auto-fill Modal */
.modal-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.modal-info ul {
    margin: 10px 0 0 20px;
    color: #666;
}

.modal-info li {
    margin: 5px 0;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* Cities Selection */
.cities-selection {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.city-search {
    margin-bottom: 15px;
}

.city-search input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
}

.city-search input:focus {
    outline: none;
    border-color: #667eea;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cities-grid .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
    cursor: pointer;
    font-weight: 500;
}

.cities-grid .checkbox-label:hover {
    background: #f0f4ff;
}

.cities-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.selected-cities {
    padding: 12px;
    background: white;
    border-radius: 8px;
    color: #333;
}

.selected-cities strong {
    color: #667eea;
}

#selectedCitiesText {
    font-weight: 600;
}

/* Categories Selection */
.categories-selection {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
}

.category-group {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.category-group:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.category-main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 8px;
    background: white;
    transition: background 0.2s ease;
    position: relative;
}

.category-main:hover {
    background: #f0f4ff;
}

.category-main strong {
    font-size: 0.95em;
    color: #333;
    flex: 1;
}

.category-main input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.select-all-text {
    font-size: 0.85em;
    color: #667eea;
    font-weight: 500;
    white-space: nowrap;
}

.subcategories {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 10px;
    border-left: 3px solid #e0e0e0;
    margin-left: 12px;
}

.categories-grid .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid transparent;
}

.categories-grid .checkbox-label.sub {
    font-size: 0.9em;
    font-weight: 400;
    padding: 5px 8px;
}

.categories-grid .checkbox-label:hover {
    background: #f0f4ff;
    border-color: #667eea;
}

.categories-grid input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #667eea;
}

.selected-categories {
    padding: 12px;
    background: white;
    border-radius: 8px;
    color: #333;
}

.selected-categories strong {
    color: #667eea;
}

#selectedCategoriesText {
    font-weight: 600;
}

/* Info Sections on Overview */
.info-section {
    margin: 30px 0;
}

.info-section h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.info-item strong {
    color: #667eea;
    font-weight: 600;
    margin-right: 10px;
}

.info-item span {
    color: #333;
    flex: 1;
    text-align: right;
}

.link-button {
    display: inline-block;
    margin-top: 15px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.link-button:hover {
    transform: translateX(5px);
}

.availability-status {
    margin-bottom: 20px;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    background: #e0e0e0;
    color: #666;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.week-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.day-preview {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    color: #666;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.empty-state-small {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

.empty-state-small p:first-child {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 8px;
}

.help-text {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.activity-icon {
    font-size: 1.5em;
}

.activity-content p {
    margin: 0;
    line-height: 1.4;
}

.activity-content small {
    color: #999;
    font-size: 0.85em;
}

/* Schedule Mode Selection */
.mode-selection {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mode-selection h3 {
    margin-bottom: 20px;
    color: #333;
}

.mode-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mode-option {
    cursor: pointer;
}

.mode-option input[type="radio"] {
    display: none;
}

.mode-card {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.mode-card h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1em;
}

.mode-card p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

.mode-option input[type="radio"]:checked + .mode-card {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.mode-option:hover .mode-card {
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Schedule Modes */
.schedule-mode {
    display: none;
}

.schedule-mode.active {
    display: block;
}

/* Advanced Schedule */
.advanced-schedule-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.day-city-assignment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.assignment-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.assignment-card h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1em;
}

.time-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.time-input-group input[type="time"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
}

.city-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.city-checkboxes .checkbox-label {
    padding: 6px;
    margin: 0;
    font-size: 0.9em;
}

.warning-text {
    color: #ff9800;
    font-size: 0.85em;
    text-align: center;
    padding: 15px;
    margin: 0;
}

/* Responsive Design for Advanced Mode */
@media (max-width: 768px) {
    .day-city-assignment {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MODERN DASHBOARD REDESIGN
   ======================================== */

/* Welcome Header */
.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.welcome-header h1 {
    font-size: 2.2em;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
}

.welcome-header #welcomeName {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-action {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.btn-action:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.btn-action.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.btn-action.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Profile Completion Card */
.profile-completion-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.completion-header h3 {
    margin: 0 0 5px 0;
    color: #1a1a1a;
    font-size: 1.3em;
}

.completion-header p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

.completion-circle {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.completion-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    font-weight: 700;
    color: #667eea;
}

.completion-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.step-item.incomplete {
    opacity: 0.7;
}

.step-item.complete {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.05);
}

.step-item .step-icon {
    font-size: 1.5em;
}

/* Modern Stats Grid */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-card.gradient-1::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-card.gradient-2::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.stat-card.gradient-3::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card.gradient-4::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-content {
    flex: 1;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: #666;
}

.trend-icon {
    font-size: 1.2em;
}

.highlight-text {
    color: #43e97b;
    font-weight: 700;
}

.stat-icon-large {
    font-size: 4em;
    opacity: 0.15;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.dashboard-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Modern Card */
.modern-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.2em;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.quick-action-btn:hover .action-icon {
    transform: scale(1.2);
}

.quick-action-btn:hover .action-text {
    color: white;
}

.quick-action-btn .action-icon {
    font-size: 2.5em;
    transition: transform 0.3s ease;
}

.quick-action-btn .action-text {
    font-weight: 600;
    font-size: 0.9em;
    color: #333;
    transition: color 0.3s ease;
}

/* Info Row */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-label {
    color: #666;
    font-weight: 600;
    font-size: 0.9em;
}

.info-value {
    color: #1a1a1a;
    font-weight: 600;
    max-width: 60%;
    text-align: right;
}

/* Card Action Button */
.card-action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.card-action-btn.primary {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Status Card */
.status-card {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
    border: 2px solid rgba(67, 233, 123, 0.3);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(67, 233, 123, 0.2);
    color: #2d8a54;
}

.availability-info {
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
}

.availability-text {
    color: #666;
    margin: 0;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 30px 20px;
}

.empty-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.empty-text {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* Activity Timeline */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-top: 5px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.timeline-time {
    color: #666;
    font-size: 0.85em;
    margin: 0;
}

/* Tips Banner */
.tips-banner {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe4cc 100%);
    border: 2px solid #ffb366;
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.tip-icon {
    font-size: 3em;
    flex-shrink: 0;
}

.tip-content h3 {
    margin: 0 0 8px 0;
    color: #cc7a00;
    font-size: 1.1em;
}

.tip-content p {
    margin: 0;
    color: #8a5a00;
    line-height: 1.6;
}

/* ============================================ */
/* MODERN PROFESSIONAL DASHBOARD STYLES */
/* Inspired by Urban Company & Sitly */
/* ============================================ */

/* Modern Navbar */
.modern-navbar {
    background: #2c3e50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2.5em;
}

.nav-logo a {
    text-decoration: none;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-notifications {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-notifications:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.nav-notifications i {
    font-size: 28px;
    color: #ffffff;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 22px;
    text-align: center;
}

.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.user-avatar-small {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
}

.user-name-nav {
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-menu i {
    color: #ffffff;
    font-size: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

/* Modern Dashboard Container */
.modern-dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px);
    background: #f8f9fa;
    width: 100%;
}

/* Modern Sidebar */
.modern-sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid #e9ecef;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-user-card {
    padding: 0 20px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.user-name-large {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.user-email {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.user-stats-mini {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini-stat-value {
    font-size: 1.3em;
    font-weight: 700;
    color: #667eea;
}

.mini-stat-label {
    font-size: 0.75em;
    color: #666;
    margin-top: 2px;
}

/* Modern Sidebar Navigation */
.modern-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.modern-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-item i {
    font-size: 1.1em;
    width: 20px;
}

.modern-nav-item span:not(.nav-badge):not(.nav-arrow) {
    flex: 1;
}

.modern-nav-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

.modern-nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-badge {
    background: #ff6b6b;
    color: white;
    font-size: 0.75em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.modern-nav-item.active .nav-badge {
    background: rgba(255, 255, 255, 0.3);
}

.nav-arrow {
    font-size: 0.8em;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-nav-item:hover .nav-arrow,
.modern-nav-item.active .nav-arrow {
    opacity: 1;
}

.sidebar-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

/* Sidebar Promo Card */
.sidebar-promo-card {
    margin: auto 12px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.promo-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
}

.sidebar-promo-card h4 {
    margin: 0 0 4px 0;
    font-size: 1.1em;
}

.sidebar-promo-card p {
    margin: 0 0 12px 0;
    font-size: 0.85em;
    opacity: 0.9;
}

.promo-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modern Dashboard Main */
.modern-dashboard-main {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 20px;
}

.modern-page-title {
    font-size: 2em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.modern-page-subtitle {
    font-size: 1em;
    color: #666;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Modern Buttons */
.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Modern Stats Grid */
.modern-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.modern-stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.modern-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
}

.blue-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.green-gradient {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
}

.red-gradient {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.purple-gradient {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}

.stat-card-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8em;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f8f9fa;
}

.stat-card-trend.positive {
    color: #28a745;
}

.stat-card-body {
    text-align: left;
}

.stat-card-value {
    font-size: 2em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.stat-card-label {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

/* Modern Quick Actions */
.modern-quick-actions {
    margin-bottom: 32px;
}

.section-heading {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.modern-action-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modern-action-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.action-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
    flex-shrink: 0;
}

.action-card-content {
    flex: 1;
}

.action-card-content h3 {
    margin: 0 0 4px 0;
    font-size: 1.05em;
    color: #1a1a1a;
}

.action-card-content p {
    margin: 0;
    font-size: 0.85em;
    color: #666;
}

.action-arrow {
    color: #667eea;
    font-size: 1.2em;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Modern Tabs */
.modern-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 2px;
}

.modern-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -2px;
}

.modern-tab-btn:hover {
    color: #667eea;
    background: #f8f9fa;
}

.modern-tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Modern Empty State */
.modern-empty-state {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba240 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    margin: 0 auto 20px;
}

.modern-empty-state h3 {
    font-size: 1.4em;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.modern-empty-state p {
    color: #666;
    margin: 0 0 24px 0;
}

/* Modern Settings Card */
.modern-settings-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-form-group.full-width {
    grid-column: 1 / -1;
}

.modern-form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-form-group input,
.modern-form-group textarea,
.modern-form-group select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-form-group input:focus,
.modern-form-group textarea:focus,
.modern-form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-dashboard-container {
        flex-direction: column;
    }
    
    .modern-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .modern-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modern-page-title {
        font-size: 1.5em;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .btn-modern-primary,
    .btn-modern-outline {
        width: 100%;
        justify-content: center;
    }
    
    .modern-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-form-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-dashboard-main {
        padding: 20px;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    
    .user-name-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .modern-page-title {
        font-size: 1.3em;
    }
    
    .stat-card-value {
        font-size: 1.5em;
    }
    
    .sidebar-promo-card {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .welcome-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .welcome-header h1 {
        font-size: 1.8em;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .completion-header {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2em;
    }
    
    .dashboard-grid {
        gap: 15px;
    }
}

/* Icon-Based Dashboard Menu */
.icon-dashboard-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
    background: #f8f9fa !important;
    min-height: calc(100vh - 70px) !important;
    width: 100% !important;
}

.icon-dashboard-header {
    text-align: center;
    margin-bottom: 60px;
}

.icon-dashboard-header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.icon-dashboard-header p {
    font-size: 1.2em;
    color: #666;
}

.icon-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.icon-menu-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-height: 280px;
    justify-content: center;
}

.icon-menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.icon-menu-card .icon-image {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-menu-card .icon {
    font-size: 2.5em;
    line-height: 1;
    margin-top: -50px;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.icon-menu-card h3 {
    font-size: 1.4em;
    color: #333;
    margin: 0;
}

.icon-menu-card p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
}

@media (max-width: 1200px) {
    .icon-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .icon-menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .icon-dashboard-container {
        padding: 40px 20px;
    }
    
    .icon-dashboard-header h1 {
        font-size: 2em;
    }
}
}