/* 
 * Card Show Alerts - Airbnb-Inspired Styles
 * Modern, clean, and responsive design
 */

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */

:root {
    --primary-color: #FC5A46;
    --primary-dark: #D14030;
    --secondary-color: #1E424D;
    --text-primary: #222222;
    --text-secondary: #717171;
    --text-light: #B0B0B0;
    --border-color: #DDDDDD;
    --bg-light: #F7F7F7;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-brand .nav-logo {
    height: 60px;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-brand a {
    color: var(--text-primary);
}

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

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

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-link.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.nav-link.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* ============================================
   MESSAGES CONTAINER
   ============================================ */

.messages-container {
    background-color: var(--bg-light);
    padding: 16px 0;
}

.messages-container .container {
    max-width: 1280px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 48px 0 24px;
    margin-top: 0;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SEARCH & FILTERS
   ============================================ */

/* ============================================
   SEARCH & FILTERS
   ============================================ */

.hero-search {
    max-width: 900px;
    margin: 32px auto 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Desktop Search - Show on larger screens */
.hero-search-desktop {
    display: block;
}

/* Mobile Search - Hide on larger screens */
.hero-search-mobile {
    display: none;
}


.search-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

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

.search-input {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 18px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    text-align: center;
}

.search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    text-align: left;
}

.search-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.btn-search {
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-search:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-advanced {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

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

.filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-left: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.filter-select,
.date-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 14px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.9);
    height: 40px;
}

.filter-select:focus,
.date-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.btn-filter,
.btn-clear {
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-filter {
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.btn-filter:hover {
    background-color: var(--bg-light);
    transform: translateY(-1px);
}

.btn-clear {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-clear:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.search-bar {
    display: flex;
    gap: 16px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(34, 34, 34, 0.1);
}

.btn-search {
    padding: 16px 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-search:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 4px;
}

.filter-select,
.date-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    background-color: white;
    height: 48px;
    /* Fixed height for consistency */
}

.filter-select:focus,
.date-input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.filter-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
    /* Don't grow, fit content */
}

.btn-filter,
.btn-clear {
    padding: 0 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 48px;
    /* Match input height */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.btn-filter {
    background-color: var(--text-primary);
    color: white;
    border: none;
}

.btn-filter:hover {
    background-color: #000;
    transform: translateY(-1px);
}

.btn-clear {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-clear:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-light);
}

/* ============================================
   RESULTS HEADER
   ============================================ */

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.results-count {
    font-size: 15px;
    color: var(--text-secondary);
}

.btn-export {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-export:hover {
    background-color: #008A7D;
    transform: translateY(-1px);
}

/* ============================================
   SHOW CARDS GRID
   ============================================ */

.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.show-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

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

.card-link {
    display: block;
    color: inherit;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-date,
.card-time {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-location {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.location-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.venue-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.city-state {
    font-size: 14px;
    color: var(--text-secondary);
}

.card-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
}

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

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.view-details {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.show-card:hover .view-details {
    color: var(--primary-dark);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 48px 0;
}

.page-link {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-light);
}

.page-info {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ============================================
   NO RESULTS
   ============================================ */

.no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.no-results h2 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background-color: white;
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
}

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

/* ============================================
   FORMS
   ============================================ */

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

/* Radio buttons styling */
.radio-group {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.radio-option label {
    cursor: pointer;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   MESSAGES
   ============================================ */

.messages {
    max-width: 1280px;
    margin: 20px auto;
    padding: 0 24px;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-weight: 500;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-info {
    background-color: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {

    /* Toggle Search Forms */
    .hero-search-desktop {
        display: none !important;
    }

    .hero-search-mobile {
        display: block !important;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 16px;
    }

    /* Hero Search Mobile */
    .hero-search {
        padding: 20px 16px;
        margin: 24px auto 0;
    }

    /* Mobile Search Bar Wrapper */
    .search-bar-wrapper-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

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

    /* Mobile Search Actions */
    .search-actions-mobile {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .search-actions-mobile .btn-search {
        flex: 1;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 15px;
    }

    .search-actions-mobile .btn-advanced {
        flex: 0 0 auto;
        min-height: 48px;
        padding: 12px 16px;
        white-space: nowrap;
    }

    .search-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-search,
    .btn-advanced {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 14px 24px;
    }

    /* Filters Mobile */
    .filters,
    .filters-mobile {
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
        margin-top: 20px;
    }

    .filter-group {
        width: 100%;
        min-width: 100%;
    }

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

    .filter-select,
    .date-input {
        height: 48px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .filter-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .btn-filter,
    .btn-clear {
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }


    .search-bar {
        flex-direction: column;
    }

    /* Shows Grid */
    .shows-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Results Header */
    .results-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    /* Pagination */
    .pagination {
        flex-direction: column;
        gap: 12px;
    }

    .page-link {
        width: 100%;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Navigation */
    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .nav-brand {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-section ul {
        padding: 0;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 40px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
        padding: 0 16px;
    }

    .btn-cta {
        min-height: 48px;
        padding: 14px 32px;
    }

    /* Container adjustments */
    .container {
        padding: 0 20px;
    }

    /* Show Card improvements */
    .show-card {
        border-radius: var(--radius-md);
    }

    .card-body {
        padding: 16px;
    }

    .card-header {
        padding: 14px 16px;
    }

    .card-footer {
        padding: 14px 16px;
    }

    /* Show Detail - Toggle to Mobile */
    .show-detail-desktop {
        display: none !important;
    }

    .show-detail-mobile {
        display: block !important;
    }

    /* Mobile Detail Adjustments */
    .mobile-title {
        font-size: 1.5rem;
    }

    .mobile-hero {
        padding: 24px 20px;
    }

    .mobile-card {
        padding: 20px 16px;
    }

    .detail-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {

    /* Container spacing */
    .container {
        padding: 0 16px;
    }

    .search-section {
        padding: 16px;
    }

    /* Hero section for small screens */
    .hero {
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 12px;
        line-height: 1.5;
    }

    .hero-search {
        padding: 16px 12px;
        margin: 20px auto 0;
    }

    /* Search input optimization */
    .search-input {
        font-size: 16px;
        padding: 12px 16px;
    }

    /* Ensure buttons are touch-friendly */
    .btn-search,
    .btn-advanced,
    .btn-filter,
    .btn-clear {
        min-height: 48px;
        font-size: 15px;
        font-weight: 600;
    }

    .btn-search {
        padding: 14px 24px;
    }

    .btn-advanced {
        padding: 12px 20px;
    }

    /* Filter inputs - prevent zoom on iOS */
    .filter-select,
    .date-input {
        font-size: 16px;
        padding: 12px 14px;
        height: 48px;
    }

    .filter-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    /* Card adjustments */
    .show-card {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .card-title {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .card-body {
        padding: 14px;
    }

    .card-header {
        padding: 12px 14px;
        font-size: 13px;
    }

    .card-footer {
        padding: 12px 14px;
    }

    .card-date,
    .card-time {
        font-size: 13px;
    }

    .venue-name {
        font-size: 15px;
    }

    .city-state {
        font-size: 13px;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 8px 0;
    }

    .nav-logo {
        height: 35px;
    }

    .nav-brand .nav-logo {
        height: 50px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 15px;
        min-height: 44px;
    }

    .nav-links {
        gap: 8px;
    }

    /* Results and pagination */
    .results-header {
        margin-top: 16px;
        padding-top: 16px;
    }

    .results-count {
        font-size: 14px;
    }

    .pagination {
        margin: 32px 0;
    }

    .page-info {
        font-size: 14px;
    }

    /* CTA Section */
    .cta-section {
        padding: 32px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        min-height: 48px;
    }

    /* Footer adjustments */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    /* No results section */
    .no-results {
        padding: 60px 16px;
    }

    .no-results h2 {
        font-size: 1.5rem;
    }

    .no-results p {
        font-size: 0.95rem;
    }

    /* Prevent horizontal overflow */
    img,
    video {
        max-width: 100%;
        height: auto;
    }

    table {
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    pre,
    code {
        max-width: 100%;
        overflow-x: auto;
    }

    /* Ensure all elements respect viewport width */
    * {
        max-width: 100%;
    }

    .container,
    .hero,
    .hero-search,
    .navbar,
    .footer {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* ============================================
   SHOW DETAIL PAGE
   ============================================ */

/* Desktop View - Show by default */
.show-detail-desktop {
    display: block;
}

/* Mobile View - Hide by default */
.show-detail-mobile {
    display: none;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

/* Desktop Hero Section */
.detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius- lg);
    padding: 48px;
    margin-bottom: 32px;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    font-weight: 600;
    font-size: 14px;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    opacity: 0.95;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.meta-separator {
    opacity: 0.6;
}

/* Content Grid */
.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    margin-bottom: 60px;
}

.detail-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Info Cards */
.info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

.header-icon {
    font-size: 28px;
}

.card-icon-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

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

.info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
}

.row-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.row-value {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.row-value a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.row-value a:hover {
    color: var(--primary-dark);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Map Preview */
.map-preview {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.map-icon {
    font-size: 32px;
}

.map-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.map-coords {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: monospace;
}

/* Sidebar */
.detail-right {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Summary Card */
.summary-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.summary-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.summary-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-description {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-cta-primary {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Styles */
.mobile-header {
    padding: 20px 0;
}

.mobile-back {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 20px;
}

.mobile-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    color: white;
    text-align: center;
}

.mobile-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.mobile-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.mobile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1rem;
    opacity: 0.95;
}

.location-icon {
    font-size: 18px;
}

.mobile-cards {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

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

.mobile-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-info-value {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}

.mobile-link {
    color: var(--primary-color);
    font-weight: 500;
}

.mobile-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    color: white;
    text-align: center;
    margin-top: 12px;
}

.mobile-cta-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.mobile-cta-card p {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 20px;
}

.mobile-btn-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--primary-color);
    font-weight: 600;
}

.back-link:hover {
    color: var(--primary-dark);
}

/* ============================================
   AUTHENTICATION PAGES
   ============================================ */

.auth-container {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    width: 100%;
    padding: 48px;
}

/* Desktop Registration - Show on larger screens */
.auth-card-desktop {
    display: block;
}

/* Mobile Registration - Hide on larger screens */
.auth-card-mobile {
    display: none;
}


.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-form.register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.field-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 4px;
}

.field-help {
    color: var(--text-secondary);
    font-size: 13px;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    grid-column: 1 / -1;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-light);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-actions .btn-submit {
    flex: 1;
}

.form-actions .btn-secondary {
    flex: 1;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--primary-dark);
}

/* ============================================
   PROFILE PAGE
   ============================================ */

.profile-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 40px;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.profile-header h1 {
    color: white;
    margin-bottom: 8px;
}

.profile-header p {
    opacity: 0.95;
}

.profile-content {
    padding: 40px;
}

.profile-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profile-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

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

.info-value {
    color: var(--text-secondary);
}

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

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

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

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

.status-unverified {
    background-color: #fff3cd;
    color: #856404;
}

.profile-actions {
    margin-top: 24px;
}

.danger-zone {
    background-color: #fff5f5;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid #feb2b2;
}

.danger-zone h2 {
    color: #c53030;
}

.danger-zone p {
    color: #742a2a;
    margin-bottom: 16px;
}

.btn-danger {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e53e3e;
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-danger:hover {
    background-color: #c53030;
}

@media (max-width: 480px) {

    /* Toggle Registration Forms */
    .auth-card-desktop {
        display: none !important;
    }

    .auth-card-mobile {
        display: block !important;
    }

    /* Mobile Registration Form Styling */
    .auth-form.register-form-mobile {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .auth-header p {
        font-size: 0.9rem;
    }

    .profile-content {
        padding: 24px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================
   ADMIN PORTAL STYLES
   ============================================ */

/* Admin Portal Layout */
.admin-portal {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--secondary-color);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-link.active {
    background: rgba(252, 90, 70, 0.2);
    color: white;
    border-left: 3px solid var(--primary-color);
}

.sidebar-link .icon {
    font-size: 18px;
}

.sidebar-link .badge {
    margin-left: auto;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

/* Main Content Area */
.admin-main {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
}

/* Admin Header */
.admin-header {
    background: white;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.admin-user {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Admin Messages */
.admin-messages {
    padding: 16px 32px;
}

/* Admin Content */
.admin-content {
    padding: 32px;
}

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

.stat-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
    position: relative;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card.pending {
    border-left: 4px solid #FFA500;
}

.stat-card.approved {
    border-left: 4px solid #00A699;
}

.stat-icon {
    font-size: 32px;
    opacity: 0.8;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.stat-link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.stat-link:hover {
    text-decoration: underline;
}

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

.quick-actions h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-action:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Admin Grid */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
}

/* Admin Card */
.admin-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
}

.card-body {
    padding: 24px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--bg-light);
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.admin-table tbody tr:hover {
    background: var(--bg-light);
}

.admin-table.compact td {
    padding: 12px 16px;
}

.admin-table .actions {
    display: flex;
    gap: 8px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--text-secondary);
}

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

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Buttons */
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--border-color);
}

.btn-sm.btn-success {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.btn-sm.btn-success:hover {
    background: #218838;
}

.btn-sm.btn-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-sm.btn-danger:hover {
    background: #c82333;
}

/* Toolbar */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.search-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 500px;
}

/* Bulk Actions */
.bulk-actions-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.selected-count {
    margin-left: auto;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* Form Sections */
.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

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

/* Delete Confirm */
.delete-confirm {
    text-align: center;
    padding: 32px;
}

.warning-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.delete-confirm h2 {
    margin-bottom: 16px;
}

.show-info {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    line-height: 1.8;
}

.warning-text {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 24px;
}

.delete-form {
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        margin-left: 200px;
    }

    .admin-content {
        padding: 16px;
    }

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

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

/* Info Grid for User Details */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 12px 0;
}

.info-item label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-item div {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   EXPOSED FILTERS REDESIGN
   ============================================ */

.search-form-exposed {
    width: 100%;
}

.filters-exposed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.filter-actions-exposed {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.btn-search-red {
    padding: 12px 40px;
    background-color: #d32f2f;
    /* Red color */
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-search-red:hover {
    background-color: #b71c1c;
    /* Darker red */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Exposed Filters */
.search-form-exposed-mobile {
    width: 100%;
}

.filters-exposed-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Adjust filter group for exposed layout if needed */
.filters-exposed .filter-group,
.filters-exposed-mobile .filter-group {
    margin-bottom: 0;
}

/* Refined Grid Layout */
.filters-exposed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

/* Ensure filter groups inside grid take full width */
.filters-exposed-grid .filter-group {
    width: 100%;
}

/* Mobile Search Redesign */
.mobile-filter-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-advanced-mobile {
    height: 48px;
    /* Match input height */
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-advanced-mobile:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Ensure state dropdown in mobile row takes full height */
.mobile-filter-row .filter-select {
    height: 48px;
}

/* ============================================
   SIGNUP MODAL POPUP
   ============================================ */

.signup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.signup-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.signup-modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 0;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideUp 0.4s ease;
}

.signup-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--text-secondary);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.signup-modal-close:hover {
    color: var(--text-primary);
    background-color: var(--bg-light);
}

.signup-modal-header {
    text-align: center;
    padding: 40px 40px 20px;
}

.signup-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.signup-modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.signup-modal-body {
    padding: 0 40px 40px;
}

.signup-benefits {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.signup-benefits li {
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.signup-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.btn-signup-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-signup-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-signup-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-signup-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-secondary);
}

@media (max-width: 768px) {
    .signup-modal-content {
        width: 95%;
        max-width: 400px;
    }

    .signup-modal-header {
        padding: 30px 24px 16px;
    }

    .signup-modal-header h2 {
        font-size: 1.5rem;
    }

    .signup-modal-body {
        padding: 0 24px 30px;
    }

    .signup-benefits li {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}