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

body {
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.modern-solar-dashboard,
.modern-vendor-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

/* SIDEBAR */
.dashboard-sidebar {
    width: 280px;
    background: #faf8f6;
    border-right: 1px solid #ede8e3;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 30px 20px;
    position: relative;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 20px;
    color: #333;
}

.sidebar-brand .logo {
    font-size: 28px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-toggle-mobile {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    margin-left: auto;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 6px;
}

.sidebar-toggle-mobile:hover {
    background: rgba(102, 126, 234, 0.1);
}

@media (max-width: 1200px) {
    .sidebar-toggle-mobile {
        display: flex;
    }
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #333;
}

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

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

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #ede8e3;
    margin-top: auto;
}

.sidebar-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-info p {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.logout-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.logout-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* Mobile Floating Button */
.mobile-sidebar-toggle-floating {
    display: none;
    position: fixed;
    left: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
}

.mobile-sidebar-toggle-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

@media (max-width: 768px) {
    .mobile-sidebar-toggle-floating {
        display: flex;
    }
}

/* MAIN CONTENT */
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.dashboard-header-top h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dashboard-header-top {
        padding: 20px 15px 20px 75px;
        /* Left padding for hamburger */
    }

    .dashboard-header-top h1 {
        font-size: 20px;
        /* Smaller title */
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Home Button */
.home-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.home-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.notification-badge {
    position: relative;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
}

.notification-badge:hover {
    transform: scale(1.1);
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NOTIFICATION PANEL */
.notification-panel {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.notification-panel.open {
    right: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.notification-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.3s;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* CONTENT */
.dashboard-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
}

.section-content {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

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

.stat-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-icon {
    font-size: 20px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-subtitle {
    font-size: 13px;
    color: #999;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

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

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

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* OVERVIEW */
.overview-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.overview-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.overview-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.overview-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-top: 8px;
    display: block;
}

/* UPGRADE CARD */
.upgrade-card {
    background: linear-gradient(135deg, #f5a623 0%, #ff6b6b 100%);
    color: white;
}

.upgrade-content h3 {
    color: white;
    margin-bottom: 10px;
}

.upgrade-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

/* SUPPORT CARD */
.support-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    text-align: center;
}

.support-card .support-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.support-card h3 {
    color: white;
    margin-bottom: 5px;
}

.support-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 15px;
}

/* PROJECT CARDS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #f8f9fa;
    padding: 0;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.project-card-content {
    padding: 20px;
    flex: 1;
    cursor: pointer;
}

.project-card-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.project-info {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    background: #fff;
}

.card-buttons {
    display: flex;
    gap: 8px;
}

.btn-accept-card,
.btn-decline-card,
.btn-view-card {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s;
}

.btn-accept-card {
    background: #28a745;
    color: white;
}

.btn-accept-card:hover:not(:disabled) {
    background: #218838;
    transform: translateY(-2px);
}

.btn-decline-card {
    background: #dc3545;
    color: white;
}

.btn-decline-card:hover:not(:disabled) {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-view-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f7bb72 0%, #f39b2f 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-view-card:hover {
    background: linear-gradient(135deg, #f39b2f 0%, #f7bb72 100%);
    transform: translateY(-2px);
}

.pending-notice {
    font-size: 12px;
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 10px;
}

/* PROJECT DETAIL GRID */
.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.project-stat {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.stat-amount {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
}

/* CLIENT INFO */
.client-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.client-info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
    display: block;
}

/* STEPS */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.step-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.step-card.approved {
    border-color: #28a745;
    background: #f8fff9;
}

.step-card.rejected {
    border-color: #dc3545;
    background: #fff5f5;
}

.step-card.locked {
    border-color: #ccc;
    background: #f5f5f5;
    opacity: 0.7;
}

.step-card-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
}

.step-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.step-number-badge {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.step-meta {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.step-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.step-card-content {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.step-completed {
    padding: 15px;
    background: #d4edda;
    border-radius: 6px;
    color: #155724;
    font-weight: 500;
    margin-top: 10px;
}

.lock-message {
    padding: 15px;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    font-size: 14px;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group small {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 3px;
}

.btn-upload {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-upload:hover:not(:disabled) {
    background: #218838;
}

.btn-upload:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.upload-status {
    margin-top: 10px;
    padding: 12px;
    border-radius: 6px;
    display: none;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* BUTTONS */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #03162e 100%);
    color: white;
}

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

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

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

/* PROGRESS */
.progress-text {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.progress-bar-wrap {
    background: #e9ecef;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
    transition: width 0.6s ease;
}

/* TIMELINE */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-project-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.timeline-item.approved .timeline-marker {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.timeline-item.rejected .timeline-marker {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.timeline-content {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex: 1;
    margin-top: 5px;
}

.timeline-content h4 {
    color: #333;
    margin-bottom: 8px;
}

/* BACK BUTTON */
.back-btn {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* IMAGE MODAL */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

/* EMPTY STATE */
.no-projects {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-projects h2 {
    color: #333;
    margin-bottom: 10px;
}

.no-projects p {
    color: #999;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s;
        background: white;
        padding: 20px 15px;
        overflow-y: auto;
    }

    .dashboard-sidebar.open {
        left: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar-nav {
        gap: 5px;
    }

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

    .nav-item .icon {
        font-size: 18px;
    }

    .sidebar-profile {
        padding: 12px;
        margin-top: 30px;
    }

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

    .dashboard-header-top {
        padding: 15px 20px;
    }

    .dashboard-content {
        padding: 15px;
    }

    .card {
        padding: 15px;
    }

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

    .notification-panel {
        width: 100%;
        right: -100%;
    }

    .overview-items {
        grid-template-columns: 1fr;
    }

    .project-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .client-info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Project Marketplace Styles --- */

.project-marketplace-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.marketplace-filters {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.marketplace-filters h2 {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

#apply-filters-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.project-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card-marketplace {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.project-card-marketplace:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.project-card-marketplace h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.project-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.loading-spinner {
    text-align: center;
    padding: 50px;
    grid-column: 1 / -1;
    font-size: 18px;
    color: #666;
}

@media (max-width: 992px) {
    .project-marketplace-wrapper {
        grid-template-columns: 1fr;
    }
}

/* --- Vendor Registration Form --- */
.vendor-registration-wrapper {
    max-width: 700px;
    margin: 2em auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vreg-step h2 {
    margin-bottom: 1.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
}

.form-feedback {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.form-feedback.error {
    background: #f8d7da;
    color: #721c24;
}

.form-feedback.success {
    background: #d4edda;
    color: #155724;
}

#coverage-selection-ui .state-group {
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid #eee;
    border-radius: 8px;
}

#coverage-selection-ui .state-group>label {
    font-size: 1.1em;
}

#coverage-selection-ui .city-group {
    padding-left: 2em;
    margin-top: 0.5em;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.coverage-summary {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #eee;
    text-align: right;
}

#vreg-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 1.5em;
}

#vreg-summary h4 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5em;
}

#vreg-summary p {
    margin-bottom: 0.5em;
}

.admin-switcher {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.progress-container {
    display: flex;
    gap: 30px;
}

.progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 8;
}

.progress-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 282;
    stroke-dashoffset: calc(282 - (282 * var(--percentage) / 100));
    transition: stroke-dashoffset 0.5s ease;
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circle-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.circle-label {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.progress-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 13px;
    color: #999;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

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

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.payment-label {
    font-size: 12px;
    color: #999;
}

.payment-amount {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

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

.info-label {
    color: #999;
}

.info-value {
    font-weight: 600;
    color: #333;
}

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

.detail-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.detail-box h4 {
    margin-bottom: 12px;
    color: #333;
    font-size: 14px;
}

.detail-box p {
    margin: 8px 0;
    font-size: 13px;
    color: #666;
}

.timeline-section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

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

.step-image-container-small {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 300px;
}

.step-image-container-small img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 6px;
    display: block;
}

.step-image-container-small img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-section {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.step-section h4 {
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.step-section p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.step-comment-section {
    margin-top: 15px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    background: #007bff;
    color: white;
}

.btn-primary-small {
    padding: 8px 16px;
    font-size: 13px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cancel-small {
    padding: 8px 16px;
    font-size: 13px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.no-projects {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-projects h2 {
    color: #333;
    margin-bottom: 10px;
}

.no-projects p {
    color: #999;
}

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

.project-listings .project-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.project-listings .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.project-listings .project-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-listings .project-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
/* Initially hidden on desktop, shown only on mobile */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #e0e0e0;
}

.mobile-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 10px 8px;
    text-decoration: none;
    color: #8e9aaf;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 14px;
    margin: 0 2px;
}

.mobile-nav-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.mobile-nav-item:active {
    transform: scale(0.92);
}

.mobile-nav-item.active {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.mobile-nav-item.active .mobile-nav-icon {
    transform: scale(1.15);
}

.mobile-nav-icon {
    font-size: 26px;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* Mobile Profile Popup */
.mobile-profile-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-profile-popup.active {
    display: block;
    opacity: 1;
}

.mobile-profile-content {
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    padding: 24px;
    width: calc(100% - 40px);
    max-width: 380px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-profile-popup.active .mobile-profile-content {
    transform: translateX(-50%) translateY(0);
}

.mobile-profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f5f5f5;
}

.mobile-profile-header img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 4px solid #667eea;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

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

.mobile-profile-info h4 {
    margin: 0 0 6px 0;
    font-size: 19px;
    font-weight: 700;
    color: #2d3748;
}

.mobile-profile-info p {
    margin: 0;
    font-size: 14px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.35);
}

.mobile-logout-btn:hover,
.mobile-logout-btn:active {
    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.45);
    color: white;
}

.mobile-logout-btn span {
    font-size: 20px;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {

    /* Show mobile bottom nav - FIXED AT BOTTOM */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        animation: slideUpFadeIn 0.5s ease-out;
        z-index: 1000 !important;
    }

    /* Hide hamburger button completely */
    .mobile-sidebar-toggle-floating,
    .sidebar-toggle-mobile {
        display: none !important;
        visibility: hidden !important;
    }

    /* Hide sidebar completely on mobile */
    .dashboard-sidebar {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Remove transition since sidebar is completely hidden */
    .dashboard-sidebar.active,
    .dashboard-sidebar.open {
        display: none !important;
        visibility: hidden !important;
    }

    /* Adjust main content area to full width */
    .dashboard-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding-bottom: 80px !important;
        /* Space for bottom nav */
    }

    /* Adjust header padding - no need for hamburger space */
    .dashboard-header-top {
        padding: 15px 20px !important;
        margin-left: 0 !important;
    }

    /* Make dashboard content scrollable above bottom nav */
    .dashboard-content {
        padding: 15px !important;
        padding-bottom: 20px !important;
        margin-bottom: 0 !important;
    }

    /* Ensure notification panel is above bottom nav */
    .notification-panel {
        z-index: 1001 !important;
    }
}

/* Slide up animation */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust for very small screens */
@media (max-width: 380px) {
    .mobile-nav-label {
        font-size: 11px;
        letter-spacing: 0.1px;
    }

    .mobile-nav-icon {
        font-size: 24px;
    }

    .mobile-nav-item {
        padding: 8px 4px;
        gap: 4px;
    }

    .mobile-profile-header img {
        width: 60px;
        height: 60px;
    }

    .mobile-profile-info h4 {
        font-size: 17px;
    }
}

/* Coverage Filter Styles */
.coverage-filter-group {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 10px;
}

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

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

.coverage-filter-label span {
    font-size: 14px;
}

.filter-description {
    font-size: 12px;
    color: #666;
    margin: 8px 0 0 28px;
    line-height: 1.4;
}

/* Coverage Badges */
.coverage-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.coverage-badge.in-coverage {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.coverage-badge.outside-coverage {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.coverage-badge .icon {
    font-size: 12px;
}

/* Project card coverage badge */
.project-card .coverage-badge {
    margin-top: 8px;
    margin-left: 0;
}

/* ========================================
   UNIFIED PROJECT CARD DESIGN
   Used for: Marketplace Cards & Related Projects
   ======================================== */

/* Beautiful Project Cards */
.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f39b2f 0%, #f7bb72 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(243, 155, 47, 0.2);
}

/* Card Image Section */
.project-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f39b2f 0%, #f6a35f 50%, #f7bb72 100%);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-card-image img {
    transform: scale(1.1) rotate(2deg);
}

/* Card Badge */
.project-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.project-card-badge svg {
    animation: spin 4s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Card Content */
.project-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 18px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 18px 0;
    line-height: 1.4;
}

/* Card Details */
.project-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    flex: 1;
}

.project-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 14px;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-detail-item:hover {
    background: #edf2f7;
    transform: translateX(4px);
}

.project-detail-item svg {
    color: #667eea;
    flex-shrink: 0;
}

/* Legacy project-info support (for marketplace cards) */
.project-info {
    font-size: 14px;
    color: #4a5568;
    margin: 8px 0;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Card Action Button */
.project-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f7bb72 0%, #f39b2f 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(243, 155, 47, 0.3);
    border: none;
    cursor: pointer;
}

.project-card-btn:hover {
    background: linear-gradient(135deg, #f39b2f 0%, #f7bb72 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 155, 47, 0.4);
    color: #ffffff;
}

.project-card-btn svg {
    transition: transform 0.3s ease;
}

.project-card-btn:hover svg {
    transform: translateX(6px);
}

/* Legacy button support */
.btn-view-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f7bb72 0%, #f39b2f 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-view-card:hover {
    background: linear-gradient(135deg, #f39b2f 0%, #f7bb72 100%);
    transform: translateY(-2px);
}

/* Card Footer (for old marketplace card format) */
.project-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

/* Related Projects Grid */
.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .related-projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-image {
        height: 180px;
    }
}
/* ========================================
   MOBILE BOTTOM NAVIGATION
   ======================================== */

@media (max-width: 767px) {
    /* Mobile Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        padding: 0 10px;
        border-top: 1px solid #e0e0e0;
    }
    
    .mobile-bottom-nav .nav-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        text-decoration: none;
        color: #666;
        transition: all 0.3s ease;
        border-radius: 8px;
        min-width: 60px;
    }
    
    .mobile-bottom-nav .nav-btn:active {
        background: #f5f5f5;
        transform: scale(0.95);
    }
    
    .mobile-bottom-nav .nav-btn.active {
        color: #007bff;
        font-weight: 600;
    }
    
    .mobile-bottom-nav .nav-icon {
        font-size: 24px;
        line-height: 1;
    }
    
    .mobile-bottom-nav .nav-label {
        font-size: 11px;
        line-height: 1;
        white-space: nowrap;
    }
    
    /* Add bottom padding to main content to prevent overlap */
    .dashboard-main {
        padding-bottom: 80px !important;
    }
    
    /* Hide desktop elements on mobile */
    .dashboard-sidebar,
    .sidebar-toggle-mobile,
    .mobile-sidebar-toggle-floating {
        display: none !important;
    }
    
    /* Ensure dashboard takes full width on mobile */
    .modern-solar-dashboard,
    .modern-vendor-dashboard {
        flex-direction: column;
    }
    
    .dashboard-main {
        width: 100%;
        max-width: 100%;
    }
}
    
    /* Mobile Logout Button (below bottom nav) */

/* ===================================
   VENDOR PROFILE MOBILE RESPONSIVENESS
   =================================== */

/* Logout button hover effect */
.logout-btn-simple:hover {
    background: #c82333 !important;
    transform: scale(1.02);
}

/* Mobile responsiveness for vendor profile */
@media (max-width: 767px) {
    /* Make coverage expansion grid stack vertically on mobile */
    .coverage-expansion-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Reduce card padding on mobile */
    #profile-section .card {
        padding: 15px !important;
    }
    
    /* Make city checkboxes grid more compact on mobile */
    #city-checkboxes {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
        font-size: 13px;
    }
    
    /* Summary panel adjustments */
    .summary-panel {
        padding: 15px !important;
    }
    
    /* Form inputs full width on mobile */
    #profile-section input[type="text"],
    #profile-section select {
        width: 100% !important;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Smaller headings on mobile */
    #profile-section h3 {
        font-size: 18px;
    }
    
    #profile-section h4 {
        font-size: 16px;
    }
    
    /* Logout button full width on mobile */
    .logout-btn-simple {
        display: block !important;
        width: 100%;
        text-align: center;
    }
}

/* Extra small devices (320px - 480px) */
@media (max-width: 480px) {
    /* Even more compact city checkboxes */
    #city-checkboxes {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    
    /* Reduce coverage card padding */
    .coverage-expansion-grid {
        gap: 15px !important;
    }
    
    /* Stack form groups */
    .form-group {
        margin-bottom: 15px !important;
    }
}
