/* styles.css - Consolidated Styles for Stats.Care */
html,
body {
    height: 100%;
    margin: 0;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    color: #2c3e50;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    color: #34495e;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #2c3e50;
}


.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.maintxt {
    font-weight: bold;
    color: #4682b4;
    font-size: 27px;
}

.title {
    width: 100%;
    height: 55px;
    background-color: #f1f1f1;
    text-align: center;
    padding: 2px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.main-content {
    flex: 1;
    padding: 20px 0;
}

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

/* ===== HEADER STYLES ===== */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

/* ===== QUICK UPDATE FOR NAV BUTTONS ONLY ===== */
.nav-button {
    padding: 8px 16px !important;
    /* Reduced from 12px 24px */
    background-color: #3399ff !important;
    color: white !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    /* Reduced from 14px */
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    min-width: 80px !important;
    /* Reduced from 100px */
    display: inline-block;
    white-space: nowrap;
    margin: 0 2px;
}

.nav-button:hover {
    background-color: #ffcc00 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Update active state */
.nav-button.active {
    background-color: #ffcc00 !important;
    color: #000 !important;
    border-color: white !important;
    font-weight: 700 !important;
}

/* Header auth links styling */
.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu - FIXED to show auth links */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        flex-direction: column;
    }

    .nav-list.active {
        display: flex !important;
    }

    .nav-list li {
        width: 100%;
        margin-bottom: 5px;
    }

    .nav-button {
        width: 100% !important;
        margin-bottom: 8px !important;
        padding: 10px !important;
        /* Reduced from 14px */
        display: block;
        text-align: center;
    }

    .user-menu {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .header-auth {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
}

/* Desktop styling */
@media (min-width: 769px) {
    .nav-list {
        display: flex !important;
        align-items: center;
        gap: 5px;
    }

    .user-menu {
        margin-left: auto;
    }
}


/* ===== FACILITY PAGE STYLES ===== */
.facility-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.facility-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.facility-header h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.facility-address {
    color: #666;
    font-size: 16px;
    margin-bottom: 5px;
}

.facility-id {
    color: #888;
    font-size: 14px;
}

/* Facility Action Buttons */
.facility-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.facility-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.facility-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.facility-button.active {
    background-color: #3399ff;
    color: white;
    border-color: #3399ff;
}

.button-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ===== CHART SECTION STYLES ===== */
.chart-section {
    margin-top: 20px;
}

.date-selection {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

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

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

.form-group input[type="date"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    max-width: 100%;
    min-height: 120px;
}

.quarter-section {
    margin-top: 30px;
}

.year-selection {
    margin-bottom: 20px;
}

.year-selection select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-left: 10px;
}

.quarter-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.menu-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #3399ff;
    font-size: 13px;
    color: #000;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background-color: #ffcc00;
    border-radius: 10px;
    color: #000;
}

a.menu-button {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    font-weight: normal;
    text-decoration: none;
}

.btn-quarter {
    padding: 15px;
    background: #ff9e00;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-quarter:hover {
    background: #3399ff;
}

.quarter-dates {
    font-size: 12px;
    opacity: 0.9;
}


.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffd700;
    border-radius: 30px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== OWNER SECTION STYLES ===== */
.owner-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.owner-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.owner-table th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    color: #555;
    border-bottom: 2px solid #dee2e6;
}

.owner-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.owner-table tr:hover {
    background-color: #f8f9fa;
}

.facility-cell {
    min-width: 250px;
}

.owner-cell {
    min-width: 200px;
}

.owner-link {
    color: #3399ff;
    text-decoration: none;
    font-weight: bold;
}

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

.action-cell {
    min-width: 60px;
    text-align: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #3399ff;
    border-color: #3399ff;
}

.btn-icon img {
    width: 20px;
    height: 20px;
}

/* Content section for about/terms/rights pages */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #87cefa;
    padding: 20px;
    color: black;
    border-radius: 10px;
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    column-gap: 100px;
    padding: 20px;
}

.text-container {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 1px;
    width: 80%;
    max-width: 700px;
}

/* ===== VIOLATIONS SECTION STYLES ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #4682b4;
}

.stat-box.total {
    border-top-color: #4682b4;
}

.stat-box.abuse {
    border-top-color: #dc3545;
}

.stat-box.serious {
    border-top-color: #fd7e14;
}

.stat-box.fines {
    border-top-color: #6f42c1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.filter-tabs {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.filter-tab {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px 5px 0;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    color: white;
    border-color: transparent;
}

.filter-tab:nth-child(2):hover,
.filter-tab:nth-child(2).active {
    background: #3399ff;
}

.filter-tab:nth-child(3):hover,
.filter-tab:nth-child(3).active {
    background: #dc3545;
}

.filter-tab:nth-child(4):hover,
.filter-tab:nth-child(4).active {
    background: #fd7e14;
}

.filter-tab:nth-child(5):hover,
.filter-tab:nth-child(5).active {
    background: #6f42c1;
}

.violation-card {
    background: white;
    border-left: 4px solid #4682b4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.abuse-violation {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.serious-violation {
    border-left-color: #fd7e14;
    background: #fff8e1;
}

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

.scope-badge {
    background: #6c757d;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.violation-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.violation-meta {
    color: #666;
    font-size: 14px;
}

/* ===== REPORT SECTION STYLES ===== */
.report-section {
    max-width: 800px;
    margin: 0 auto;
}

.facility-info-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #2196f3;
}

.report-guidelines {
    background: #fff8e1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #ffc107;
}

.report-guidelines ul {
    list-style: none;
    padding-left: 0;
}

.report-guidelines li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.report-guidelines li:before {
    content: "•";
    color: #ff9800;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.form-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #4682b4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.btn-primary:hover {
    background: #4682b4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary img {
    width: 20px;
    height: 20px;
}

/* ===== OWNER PROFILE STYLES ===== */
.owner-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.owner-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.owner-header h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.owner-stats {
    color: #666;
    font-size: 18px;
}

.owner-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.owner-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.owner-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.owner-button.active {
    background-color: #3399ff;
    color: white;
    border-color: #3399ff;
}

/* Owner Facilities Table */
.facilities-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.facilities-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.facilities-table th,
.facilities-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.facilities-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #555;
    border-bottom: 2px solid #dee2e6;
}

/* Owner Violations */
.facility-violation-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.facility-violation-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

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

.facility-name {
    color: #2c3e50;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.facility-name:hover {
    color: #3399ff;
    text-decoration: underline;
}

.violation-count {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.facility-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.stat-badge.abuse {
    background: #dc3545;
}

.stat-badge.serious {
    background: #fd7e14;
}

.stat-badge.fines {
    background: #6f42c1;
}

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

.btn-small {
    padding: 6px 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #3399ff;
    color: white;
    border-color: #3399ff;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 16px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #3399ff;
    color: white;
    border-color: #3399ff;
}

.page-link.current {
    background: #3399ff;
    color: white;
    border-color: #3399ff;
    font-weight: bold;
}

/* ===== ALERT STYLES ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #0d47a1;
}

.alert-warning {
    background: #fff8e1;
    border-left-color: #ffc107;
    color: #ff6f00;
}

.alert-error {
    background: #ffebee;
    border-left-color: #f44336;
    color: #c62828;
}

.alert-success {
    background: #e8f5e9;
    border-left-color: #4caf50;
    color: #2e7d32;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

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

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

.copyright {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.disclaimer {
    font-size: 12px;
    color: #95a5a6;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media screen and (min-width: 769px) {
    div.example {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

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

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 5px;
    }


    .facility-actions,
    .owner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .facility-button,
    .owner-button {
        width: 100%;
        margin-bottom: 10px;
    }

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

    .quarter-buttons {
        grid-template-columns: 1fr;
    }

    .owner-table,
    .facilities-table {
        font-size: 14px;
    }

    .owner-table th,
    .owner-table td,
    .facilities-table th,
    .facilities-table td {
        padding: 10px 5px;
    }

    .container,
    .facility-container,
    .owner-container {
        padding: 15px;
    }

    .facility-header h1,
    .owner-header h1 {
        font-size: 22px;
    }

    .form-group input[type="date"],
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select {
        max-width: 100%;
    }

    .filter-tabs {
        text-align: center;
    }

    .filter-tab {
        display: block;
        margin: 5px 0;
        width: 100%;
    }

    .pagination {
        flex-direction: column;
        align-items: center;
    }

    .page-link {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .facility-header h1,
    .owner-header h1 {
        font-size: 20px;
    }

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

}

/* Email Button Styles */
.email-button-container {
    margin-top: 15px;
    text-align: center;
}

.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-email:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-email img {
    width: 20px;
    height: 20px;
}


.report-label {
    width: 200px;
}

.report-select {
    width: 150px;
}

.menu-button:a {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}

.menu-button:a {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}

.menu-button {
    display: inline-block;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #3399ff;
    font-size: 13px;
    color: #000;
    border-radius: 5px;
    border: 1px solid #ccc;
    /* Add a 2px solid border with a gray color */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background-color: #ffcc00;
    border-radius: 10px;
    color: #000;
}

a.menu-button {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    font-weight: normal;
    color: #ffffff;
    text-decoration: none;
}


.container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Styles for the logo and menu */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.maintxt {
    font-weight: bold;
    color: #4682b4;
    font-size: 27px;
}

/* ========== NEW STYLES FOR VIOLATION ICONS ========== */
.violation-icons {
    display: flex;
    gap: 10px;
    padding: 10px;
    justify-content: center;
}

.violation-icon {
    position: relative;
    display: inline-block;
}

.violation-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fine-badge {
    background-color: #6f42c1;
}

.serious-badge {
    background-color: #fd7e14;
}

/* ========== END NEW STYLES ========== */

/* ===== SEARCH PAGE SPECIFIC STYLES ===== */

/* Search form background */
.search-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
}

/* Search form container */
.search-form-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Form table styling */
.search-form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.search-form-table tr {
    border: none;
}

.search-form-table td {
    padding: 8px 0;
    border: none !important;
}

/* Form input styling */
.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #4682b4;
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
    outline: none;
}

/* Zip code specific */
#zip {
    width: 120px !important;
    min-width: 120px;
    text-align: center;
    font-size: 16px !important;
    padding: 10px 12px !important;
}

/* Radio button container */
.radio-group-container {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

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

/* Search button styling */
.search-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #4682b4;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit-button:hover {
    background-color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-submit-button img {
    width: 20px;
    height: 20px;
}

ul {
    text-align: left;
}

/* Results table styling */
.search-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.search-results-table th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    color: #555;
    border-bottom: 2px solid #dee2e6;
}

.search-results-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.search-results-table tr:hover {
    background-color: #f8f9fa;
}

/* Column widths */
.search-results-table th:nth-child(1) {
    width: 40%;
}

/* Facility */
.search-results-table th:nth-child(2) {
    width: 15%;
}

/* Chart */
.search-results-table th:nth-child(3) {
    width: 15%;
}

/* Owner */
.search-results-table th:nth-child(4) {
    width: 15%;
}

/* Report */
.search-results-table th:nth-child(5) {
    width: 15%;
}

/* Violations */

/* Facility cell styling */
.facility-cell {
    line-height: 1.4;
}

.facility-name {
    font-weight: bold;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

.facility-address {
    color: #666;
    font-size: 14px;
}

/* Action icons container */
.action-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Icon button styling */
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 5px;
}

.icon-button:hover {
    background: #3399ff;
    border-color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-button img {
    width: 30px;
    height: 30px;
}

/* Violation icons container */
.violation-icons-cell {
    text-align: center;
}

.violation-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.violation-icon {
    position: relative;
    display: inline-block;
}

.violation-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fine-badge {
    background-color: #6f42c1;
    font-size: 10px;
    padding: 0 3px;
    white-space: nowrap;
}

.serious-badge {
    background-color: #fd7e14;
}


.violation-icon:hover img {
    transform: scale(1.1);
}

/* OR separator styling */
.or-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.or-separator span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-weight: bold;
}

.or-separator:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
    z-index: -1;
}

/* Info boxes styling */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-box-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.info-box-title {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-box-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Error message styling */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
    margin: 20px 0;
}

/* Search button styling */
.search-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #4682b4;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit-button:hover {
    background-color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* ===== SEARCH BUTTON IMAGE STYLE ===== */
.search-button {
    display: inline-block;
    border: none;
    /* No border */
    background: none;
    /* No background */
    padding: 0;
    margin: 0;
    width: 30px;
    /* Fixed width 30px */
    height: 30px;
    /* Fixed height 30px */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-submit-button img {
    width: 20px;
    height: 20px;
}

.search-button:hover {
    transform: scale(1.1);
    /* Slight scale on hover */
}


/* Mobile responsive for search page */
@media (max-width: 768px) {
    .search-section {
        padding: 15px;
        margin: 10px 0;
    }

    .search-results-table {
        display: block;
        overflow-x: auto;
    }

    .search-results-table th,
    .search-results-table td {
        padding: 10px 5px;
        font-size: 14px;
    }

    .action-icons {
        gap: 8px;
    }

    .icon-button {
        width: 40px;
        height: 40px;
    }

    .icon-button img {
        width: 24px;
        height: 24px;
    }

    .violation-icons {
        gap: 8px;
    }

    .violation-icon img {
        width: 30px;
        height: 30px;
        transition: transform 0.3s ease;
    }


    /* Search button styling */
    .search-submit-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background-color: #4682b4;
        color: white;
        border: none;
        border-radius: 6px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }



    /* ===== SEARCH BUTTON IMAGE STYLE ===== */
    .search-button {
        display: inline-block;
        border: none;
        /* No border */
        background: none;
        /* No background */
        padding: 0;
        margin: 0;
        width: 30px;
        /* Fixed width 30px */
        height: 30px;
        /* Fixed height 30px */
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .search-submit-button img {
        width: 20px;
        height: 20px;
    }

    .search-button:hover {
        transform: scale(1.1);
        /* Slight scale on hover */
    }

    .search-button:focus {
        outline: 2px solid #3399ff;
        /* Accessibility focus */
        outline-offset: 2px;
        border-radius: 4px;
    }

    .violation-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }

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

@media (max-width: 480px) {
    .action-icons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ===== NEWS PAGE SPECIFIC STYLES ===== */

.news-column {
    width: 48%;
    vertical-align: top;
}

.news-item {
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

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

.news-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #2c3e50;
}

.news-title a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #8B0000;
    text-decoration: underline;
}

.news-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-category {
    background: #8B0000;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-source {
    color: #4682b4;
    font-weight: bold;
    font-size: 11px;
}

.news-date {
    color: #666;
    font-size: 11px;
}

.news-snippet {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-top: 10px;
}

.vertical-line {
    width: 1px;
    background-color: #ddd;
    height: auto;
    margin: 0 20px;
}

/* Two-column news layout */
.news-columns-container {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.news-column {
    flex: 1;
    min-width: 0;
    /* Prevents flex items from overflowing */
}

/* Responsive news layout */
@media screen and (max-width: 768px) {
    .news-columns-container {
        flex-direction: column;
        gap: 20px;
    }

    .news-column {
        width: 100%;
    }

    .vertical-line {
        display: none;
    }

    .news-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .news-title {
        font-size: 15px;
    }

    .news-snippet {
        font-size: 13px;
    }
}

.content-top-aligned {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top */
    align-items: center;
    border: 1px solid #87cefa;
    padding: 20px;
    color: black;
    border-radius: 10px;
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffd700;
    border-radius: 30px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.result-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

/* Remove the image filter change */
.result-button:hover img {
    filter: none;
    /* Keep original image colors */
}



.violation-icon {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.violation-icon:hover {
    transform: scale(1.1);
}

.violation-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0 5px;
}

/* Add this to your styles.css file - AFTER the search-submit-button styles */



/* OR if you want them to look exactly the same except color, use: */
.clear-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #cccccc;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-button:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* If you don't have an icon in the clear button, adjust padding */
.clear-button:not(:has(img)) {
    padding: 12px 24px;
}





/* Subscription styles */
.subscription-plan {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.subscription-plan.featured {
    border: 3px solid #4682b4;
    transform: scale(1.05);
}

.subscription-price {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.subscription-price span {
    font-size: 18px;
    color: #666;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.subscription-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4682b4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Dashboard styles */
.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #4682b4;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Payment form */
.payment-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 15px;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* Login/Registration Styles */
.login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #4682b4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
}

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-links a {
    color: #4682b4;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* tracking.css - Consolidated styles for facility and owner tracking */

/* ===== TRACK BUTTON BASE STYLES ===== */
.track-button-wrapper {
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.track-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #4682b4;
    background: white;
    color: #4682b4;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.track-text {
    white-space: nowrap;
}

/* ===== BUTTON STATES ===== */

/* Active/Clickable State */
.track-button.active {
    background: #4682b4;
    color: white;
    border-color: #4682b4;
}

.track-button.active:hover {
    background: #3a6fa5;
    border-color: #3a6fa5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.2);
}

/* Already Tracked State */
.track-button.tracked {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
    cursor: default;
}

.track-button.tracked:hover {
    background: #4caf50;
    transform: none;
    box-shadow: none;
}

/* Limit Reached State */
.track-button.limit-reached {
    background: #ff9800;
    color: white;
    border-color: #ff9800;
}

.track-button.limit-reached:hover {
    background: #e68900;
    border-color: #e68900;
    cursor: pointer;
}

/* Login Required State */
.track-button.login-required {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.track-button.login-required:hover {
    background: #0b7dda;
    border-color: #0b7dda;
}

/* ===== TOOLTIPS ===== */
.track-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.track-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

.track-button-wrapper:hover .track-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== TRACKING BADGE (Header Display) ===== */
.tracking-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f0f8ff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    text-decoration: none;
    color: #4682b4;
    font-size: 13px;
    transition: all 0.2s;
}

.tracking-badge:hover {
    background: #e3f2fd;
    border-color: #4682b4;
}

.tracking-count {
    background: #4682b4;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.tracking-limit {
    color: #666;
    font-size: 11px;
    margin-left: 2px;
}


/* Owner-specific tooltip */
.track-button.owner.active .track-tooltip {
    min-width: 200px;
    white-space: normal;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .track-button {
        padding: 8px 16px;
        min-width: 130px;
        font-size: 13px;
    }

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

    .track-tooltip {
        font-size: 11px;
        padding: 6px 10px;
    }

    .tracking-badge {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* ===== ACCESSIBILITY ===== */
.track-button:focus {
    outline: 2px solid #4682b4;
    outline-offset: 2px;
}

.track-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== ANIMATIONS ===== */
@keyframes trackSuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

.track-button.tracked {
    animation: trackSuccess 0.3s ease;
}

/* Loading state */
.track-button.loading {
    opacity: 0.7;
    cursor: wait;
}

.track-button.loading .track-icon {
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* ===== NOTIFICATIONS (for track.js) ===== */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    font-size: 14px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-toast.success {
    background-color: #4CAF50;
}

.notification-toast.error {
    background-color: #f44336;
}

.notification-toast.info {
    background-color: #2196F3;
}

.notification-toast.warning {
    background-color: #ff9800;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}


/* Home Page Content Styles */

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 5%;
    border-color: #87cefa;
    background-color: #ffffff;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.text-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4682b4;
}

.main-image {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    position: relative;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.main-image img:hover {
    transform: scale(1.02);
}

/* Typography for home page - SMALLER FONTS */
h1 {
    font-size: 32px;
    /* Reduced from 36px */
    color: #2c3e50;
    margin-bottom: 20px;
    /* Reduced from 25px */
    line-height: 1.3;
    font-weight: 700;
}

.maintxt {
    font-weight: bold;
    color: #4682b4;
    font-size: 24px;
    /* Reduced from 28px */
    margin: 20px 0 12px;
    /* Reduced margins */
    padding-left: 15px;
    border-left: 4px solid #ffd700;
}

/* Features list */
.features-list {
    list-style: none;
    margin: 20px 0;
    /* Reduced from 25px */
}

.features-list li {
    margin-bottom: 10px;
    /* Reduced from 12px */
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: #666666;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4682b4;
    font-weight: bold;
    font-size: 18px;
}

/* Call to action section - CENTERED */
.cta-section {
    background: linear-gradient(135deg, #4682b4 0%, #3399ff 100%);
    padding: 40px;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    margin: 40px auto;
    /* Changed to auto for centering */
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: 24px;
    /* Reduced from 28px */
    margin-bottom: 15px;
    /* Reduced from 20px */
    color: orange;
    width: 100%;
}

.cta-description {
    font-size: 16px;
    /* Reduced from 18px */
    margin-bottom: 25px;
    /* Reduced from 30px */
    opacity: 0.9;
    width: 100%;
    max-width: 600px;
}

/* Button styles - SMALLER */
.button {
    display: inline-block;
    padding: 14px 35px;
    /* Reduced from 16px 40px */
    background-color: #ffd700;
    border-radius: 50px;
    text-decoration: none;
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    /* Reduced from 18px */
    border: 3px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button:hover,
.button:focus {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: #ffffff;
}

/* Trust indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    /* Reduced from 40px */
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    max-width: 180px;
    /* Reduced from 200px */
}

.trust-icon {
    font-size: 32px;
    /* Reduced from 36px */
    color: #4682b4;
    margin-bottom: 8px;
    /* Reduced from 10px */
}

.trust-text {
    font-size: 13px;
    /* Reduced from 14px */
    color: #666666;
    font-weight: 500;
}

/* Voice search info - SMALLER */
.voice-search-info {
    max-width: 800px;
    text-align: center;
    margin-top: 30px;
    /* Reduced from 40px */
}

.voice-search-info h3 {
    color: #333333;
    margin-bottom: 8px;
    /* Reduced from 10px */
    font-size: 18px;
    /* Added smaller size */
}

.voice-search-info p {
    color: #666666;
    font-size: 14px;
    /* Reduced from 15px */
    margin-top: 8px;
    /* Reduced from 10px */
}

/* Text center utility */
.text-center {
    text-align: center;
}

/* Responsive design for home page */
@media screen and (max-width: 1024px) {
    .content-row {
        gap: 40px;
    }

    h1 {
        font-size: 28px;
        /* Reduced from 32px */
    }
}

@media screen and (max-width: 768px) {
    .content-row {
        flex-direction: column;
        gap: 30px;
    }

    .text-container,
    .main-image {
        min-width: 100%;
        max-width: 100%;
    }

    .text-container {
        padding: 15px;
        font-size: 15px;
    }

    h1 {
        font-size: 24px;
        /* Reduced from 28px */
    }

    .maintxt {
        font-size: 20px;
        /* Reduced from 24px */
    }

    .button {
        padding: 12px 25px;
        /* Reduced from 14px 30px */
        font-size: 15px;
        /* Reduced from 16px */
        width: 100%;
        max-width: 280px;
        /* Reduced from 300px */
    }

    .trust-indicators {
        gap: 20px;
    }

    .trust-item {
        max-width: 150px;
        /* Reduced from 180px */
    }

    .cta-section {
        padding: 25px;
    }

    .cta-title {
        font-size: 22px;
        /* Reduced from 24px */
    }

    .cta-description {
        font-size: 15px;
        /* Reduced from 16px */
    }
}

@media screen and (max-width: 480px) {
    .text-container {
        padding: 20px;
    }

    h1 {
        font-size: 22px;
        /* Reduced from 24px */
    }

    .maintxt {
        font-size: 18px;
        /* Reduced from 20px */
    }

    .cta-section {
        padding: 20px 15px;
    }

    .cta-title {
        font-size: 20px;
        /* Reduced from 22px */
    }

    .cta-description {
        font-size: 14px;
        /* Reduced from 15px */
    }

    .features-list li {
        font-size: 15px;
        /* Slightly smaller on mobile */
    }

    .trust-indicators {
        gap: 15px;
    }

    .trust-item {
        max-width: 120px;
        /* Further reduced on mobile */
    }

    .trust-icon {
        font-size: 28px;
        /* Reduced from 32px */
    }
}

/* ===== FIX MOBILE HAMBURGER MENU BUTTONS ===== */

/* First, let's ensure the mobile menu container is properly styled */
@media (max-width: 768px) {
    .main-nav.active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 5px;
    }

    .main-nav ul {
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
    }

    /* Reset nav-button styles for mobile */
    .main-nav .nav-button {
        width: 50% !important;
        margin: 0 0 5px 0 !important;
        padding: 5px 10px !important;
        text-align: center !important;
        border-radius: 8px !important;
        /* Less rounded for mobile */
        min-width: auto !important;
        font-size: 12px !important;
        display: block !important;
    }

    /* Remove any conflicting button styles */
    .main-nav .nav-button:hover {
        transform: translateY(-1px) !important;
        /* Smaller hover effect */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    }

    /* Mobile menu toggle button positioning */
    .mobile-menu-toggle {
        display: flex !important;
        order: 2 !important;
        margin-left: auto !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 5px !important;
    }

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

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

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

    /* Header container fix */
    .header-container {
        flex-wrap: wrap !important;
        padding: 10px 15px !important;
        position: relative !important;
    }

    /* Hide the regular menu on mobile */
    .main-nav:not(.active) {
        display: none !important;
    }
}

/* Specifically target the menu buttons inside mobile navigation */
@media (max-width: 768px) {
    .menu .menu-button {
        width: 100% !important;
        margin: 0 0 8px 0 !important;
        padding: 14px 20px !important;
        border-radius: 8px !important;
        /* Less rounded */
        text-align: center !important;
        display: block !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        background-color: #3399ff !important;
        color: white !important;
        border: none !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .menu .menu-button:hover,
    .menu .menu-button:focus {
        background-color: #ffcc00 !important;
        color: #000 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
    }

    /* Make sure the menu is displayed properly */
    .menu.active {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        background: white !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding: 20px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        border-top: 1px solid #eee !important;
    }
}

/* Fix for header structure */
.header {
    position: relative !important;
}

/* Auth links in mobile menu */
@media (max-width: 768px) {
    .auth-links {
        width: 100% !important;
        margin: 15px 0 0 0 !important;
        padding-top: 15px !important;
        border-top: 1px solid #eee !important;
    }

    .user-info,
    .auth-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .welcome-text {
        text-align: center !important;
        margin-bottom: 10px !important;
        font-size: 14px !important;
    }

    .dashboard-link,
    .logout-link,
    .login-link,
    .register-link {
        text-align: center !important;
        padding: 12px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 0 !important;
        display: block !important;
    }

    .separator {
        display: none !important;
    }
}

/* Make sure the hamburger icon is visible and styled */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Mobile menu toggle animation states */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* Ensure the menu button styles don't conflict with .nav-button */
@media (max-width: 768px) {

    /* Clear any conflicting styles */
    .menu a:not(.menu-button) {
        all: unset !important;
    }

    /* Specific fix for overlapping issue */
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .menu.active {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    /* Ensure buttons stack properly */
    .menu-button {
        display: block !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
        padding: 16px !important;
        border-radius: 8px !important;
        text-align: center !important;
        background-color: #3399ff !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.2s ease !important;
    }

    .menu-button:hover {
        background-color: #ffcc00 !important;
        color: #000 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    }

    .menu-button:last-child {
        margin-bottom: 0 !important;
    }
}

/* If you're still having issues, add this override */
@media (max-width: 768px) {

    /* Force all menu buttons to be block level */
    .header .menu a {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        padding: 14px !important;
        text-align: center !important;
        border-radius: 8px !important;
        background: #3399ff !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    .header .menu a:hover {
        background: #ffcc00 !important;
        color: #000 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
    }

    /* Ensure menu is positioned correctly */
    .header {
        position: relative;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 15px;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        display: block;
    }
}

/* ===== MOBILE SPACE OPTIMIZATION ===== */
@media (max-width: 768px) {

    /* CONTAINERS & SECTIONS */
    .container {
        padding: 0 15px;
    }

    .content,
    .home-content,
    .content-top-aligned {
        padding: 25px 4%;
    }

    .facility-container,
    .owner-container {
        padding: 20px 15px;
        margin-top: 15px;
    }

    .text-container {
        padding: 20px 20px;
    }

    /* HEADER & NAV */
    .header-container,
    .header {
        padding: 8px 15px;
    }

    .logo img {
        height: 45px;
    }

    .nav-button {
        padding: 10px 15px;
        margin-bottom: 6px;
    }

    /* TABLES & GRIDS */
    .owner-table td,
    .facilities-table td,
    .search-results-table td,
    .owner-table th,
    .facilities-table th,
    .search-results-table th {
        padding: 8px 5px;
    }

    .stats-grid {
        gap: 12px;
        margin: 20px 0;
    }

    .stat-box {
        padding: 15px 10px;
    }

    .info-boxes {
        gap: 12px;
        margin: 20px 0;
    }

    .info-box {
        padding: 15px;
    }

    /* BUTTONS & FORMS */
    .facility-button,
    .owner-button,
    .search-submit-button,
    .clear-button,
    .btn-primary,
    .track-button {
        padding: 10px 16px;
        min-width: 120px;
    }

    .facility-actions,
    .owner-actions {
        gap: 10px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-section {
        margin-bottom: 20px;
    }

    /* CONTENT & NEWS */
    .news-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .news-columns-container {
        gap: 15px;
        margin: 15px 0;
    }

    .content-row {
        gap: 30px;
    }

    .cta-section {
        padding: 25px 15px;
        margin: 25px auto;
    }

    /* VIOLATIONS & CARDS */
    .violation-card {
        padding: 15px;
        margin-bottom: 12px;
    }

    /* REPORT SECTIONS */
    .report-section,
    .form-section,
    .facility-info-box,
    .report-guidelines {
        padding: 15px;
    }

    /* SEARCH SECTION */
    .search-section {
        padding: 20px 15px;
        margin: 15px 0;
    }

    /* PAGINATION */
    .pagination {
        margin-top: 20px;
    }

    .page-link {
        padding: 6px 12px;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {

    /* EXTRA TIGHT FOR VERY SMALL SCREENS */
    .container {
        padding: 0 10px;
    }

    .content,
    .home-content,
    .content-top-aligned {
        padding: 20px 3%;
    }

    .facility-container,
    .owner-container {
        padding: 15px 10px;
    }

    .text-container {
        padding: 20px 15px;
    }

    .header-container,
    .header {
        padding: 6px 10px;
    }

    .logo img {
        height: 40px;
    }

    .nav-button {
        padding: 8px 12px;
        font-size: 13px !important;
    }

    /* EVEN TIGHTER TEXT CONTAINERS */
    .main-image,
    .text-container {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    /* COMPACT FORMS */
    input[type="text"],
    input[type="date"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        height: 36px;
        padding: 8px 10px;
        font-size: 15px;
    }

    /* SMALLER BUTTONS */
    .button {
        padding: 12px 25px;
        font-size: 15px;
    }

    .btn-quarter {
        padding: 12px;
        font-size: 15px;
    }
}

/* ===== SEARCH RESULTS TABLE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .search-results-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 -15px !important;
        padding: 0 15px !important;
    }

    .search-results-table {
        min-width: 800px !important;
        font-size: 13px !important;
    }

    .search-results-table th,
    .search-results-table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .search-results-table th:nth-child(1),
    .search-results-table td:nth-child(1) {
        min-width: 200px !important;
        max-width: 250px !important;
    }

    .search-results-table th:nth-child(2),
    .search-results-table td:nth-child(2),
    .search-results-table th:nth-child(3),
    .search-results-table td:nth-child(3),
    .search-results-table th:nth-child(4),
    .search-results-table td:nth-child(4) {
        min-width: 70px !important;
        max-width: 80px !important;
    }

    .search-results-table th:nth-child(5),
    .search-results-table td:nth-child(5) {
        min-width: 120px !important;
        max-width: 150px !important;
    }

    /* Make buttons smaller on mobile */
    .result-button {
        width: 40px !important;
        height: 40px !important;
    }

    .result-button img {
        width: 24px !important;
        height: 24px !important;
    }

    /* Make violation icons more compact */
    .violation-icon {
        min-width: 30px !important;
        padding: 4px 6px !important;
    }

    .violation-icon img {
        width: 16px !important;
        height: 16px !important;
    }

    .violation-count {
        font-size: 11px !important;
        min-width: 16px !important;
        height: 16px !important;
        top: -6px !important;
        right: -6px !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .search-results-table {
        min-width: 700px !important;
    }

    .search-results-table th,
    .search-results-table td {
        padding: 8px 6px !important;
        font-size: 12px !important;
    }

    .search-results-table th:nth-child(1),
    .search-results-table td:nth-child(1) {
        min-width: 180px !important;
    }

    .result-button {
        width: 36px !important;
        height: 36px !important;
    }

    .result-button img {
        width: 20px !important;
        height: 20px !important;
    }

    .violation-icon {
        padding: 3px 5px !important;
    }
}

< !-- Add this CSS in the head section or in a separate CSS file --><style>

/* Responsive table styles for owner search */
.owner-search-results-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    margin: 0 -10px;
    /* Negative margin for better mobile view */
    padding: 0 10px;
    /* Padding to compensate */
}

.owner-search-results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    min-width: 800px;
    /* Minimum width before scrolling */
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    .owner-search-results-table {
        min-width: 100%;
        /* Allow natural width on very small screens */
    }

    .owner-search-results-table th,
    .owner-search-results-table td {
        padding: 10px 8px !important;
        font-size: 14px;
    }

    .owner-search-results-table th {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Make owner and facility names wrap */
    .owner-search-results-table td:nth-child(1),
    .owner-search-results-table td:nth-child(2) {
        min-width: 120px;
        max-width: 150px;
        word-break: break-word;
    }

    /* Adjust action buttons for mobile */
    .owner-search-results-table td:nth-child(5) .owner-search-button {
        padding: 6px;
        min-width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .owner-search-results-table td:nth-child(5) .owner-search-button img {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
    }

    /* Stack pagination buttons vertically on very small screens */
    @media screen and (max-width: 480px) {

        .owner-pagination a,
        .owner-pagination span {
            display: block;
            margin: 5px 0 !important;
            width: 100%;
            max-width: 200px;
            box-sizing: border-box;
        }

        .owner-search-results-table {
            font-size: 13px;
        }

        .owner-search-results-table th,
        .owner-search-results-table td {
            padding: 8px 6px !important;
        }

        /* Further reduce column widths */
        .owner-search-results-table td:nth-child(1),
        .owner-search-results-table td:nth-child(2) {
            min-width: 100px;
            max-width: 130px;
        }

        /* Hide less important information on very small screens */
        .owner-search-results-table td:nth-child(4) {
            font-size: 12px;
        }

        /* Make action buttons smaller */
        .owner-search-results-table td:nth-child(5) .owner-search-button {
            min-width: 32px;
            height: 32px;
            padding: 4px;
        }

        .owner-search-results-table td:nth-child(5) .owner-search-button img {
            width: 14px !important;
            height: 14px !important;
        }
    }
}

/* Tablet-specific adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .owner-search-results-table {
        min-width: 700px;
    }

    .owner-search-results-table th,
    .owner-search-results-table td {
        padding: 12px 10px !important;
    }
}

/* Ensure text doesn't overflow */
.owner-search-results-table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Improve button visibility */
.owner-search-button {
    padding: 8px 12px;
    background: #4682b4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    /* Minimum touch target size */
    height: 44px;
}

.owner-search-button:hover {
    background: #3a6d9c;
}

.owner-search-button img {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0) invert(1);
    vertical-align: middle;
    margin-right: 0 !important;
}

/* Adjust form inputs for mobile */
@media screen and (max-width: 768px) {
    .owner-search-input {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
        width: 100%;
        box-sizing: border-box;
    }

    .owner-search-submit-button,
    .owner-clear-button {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px !important;
        /* Larger touch target */
        box-sizing: border-box;
    }

    .owner-search-form-container {
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Fix icon sizes in the search form */
.owner-search-submit-button img,
.owner-search-button img {
    width: 20px !important;
    height: 20px !important;
    display: inline-block;
    vertical-align: middle;
}

/* Pagination styles */
.owner-pagination {
    margin: 30px 0;
    text-align: center;
}

.owner-pagination a,
.owner-pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.owner-pagination a {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.owner-pagination a:hover {
    background: #e9ecef;
}

.owner-pagination span {
    background: #4682b4;
    color: white;
    border: 1px solid #4682b4;
    font-weight: bold;
}

/* Loading indicator */
.owner-loading-indicator {
    text-align: center;
    padding: 20px;
}

.owner-loading-indicator img {
    width: 24px;
    height: 24px;
}

/* Alternative mobile card view */
.owner-mobile-card-view {
    display: none;
}

@media screen and (max-width: 768px) {
    /* Optional: Uncomment to use card view instead of table on mobile */
    /*
    .owner-search-results-table {
        display: none;
    }
    
    .owner-mobile-card-view {
        display: block;
    }
    */
}

/* Fix for button containers */
.owner-search-results-table td:nth-child(5) {
    white-space: nowrap;
}

.owner-search-results-table td:nth-child(5) div {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

</style>