* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.header h1 {
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Logo Styling */
.sh-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sh-logo:hover {
    transform: scale(1.05);
}

.user-email {
    margin-right: 15px;
    color: #666;
    font-size: 14px;
}

/* Navigation Sidebar */
.sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 280px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.025em;
}

.sidebar-menu a:hover {
    background: #f8f9fa;
    color: #2563eb;
}

.sidebar-menu a.active {
    background: #2563eb;
    color: white;
}

.sidebar-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    letter-spacing: -0.025em;
}

/* Main Layout */
.main-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    min-height: calc(100vh - 140px); /* Account for header */
}

.main-content {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    max-height: calc(100vh - 140px);
}

.main-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 25px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Card Menu Navigation */
.card-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.card-menu-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-menu-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.card-menu-item.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-color: #2563eb;
}

.card-menu-item i {
    font-size: 32px;
}

.card-menu-item span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.mobile-nav-toggle i {
    font-size: 18px;
    margin-right: 8px;
}

/* Old Navigation (keeping for backward compatibility) */
.nav-tabs {
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-link {
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-link:hover {
    background: #f0f0f0;
}

.tab-link.active {
    background: #2563eb;
    color: white;
}

/* Cards */
.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card h2, .card h3 {
    margin-bottom: 20px;
    color: #1f2937;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.card h2 {
    font-size: 24px;
}

.card h3 {
    font-size: 20px;
    color: #2563eb;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Search and Filter Row - Mobile Responsive */
.search-filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 200px;
}

.search-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    min-width: 250px;
}

/* Search Results */
.search-results {
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-item label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.result-item p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Family Grid */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.family-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.family-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.family-relation {
    color: #666;
    font-size: 14px;
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.data-card {
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: transform 0.3s;
}

.data-card:hover {
    transform: translateY(-5px);
}

.data-card.card-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}

.data-card.card-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.data-card.card-purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    border-color: #8b5cf6;
}

.data-card.card-cyan {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    border-color: #06b6d4;
}

.data-card.card-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-color: #f97316;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    gap: 10px;
}

.card-header h4 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    word-break: break-word;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card.stat-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.stat-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card.stat-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-card.stat-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.stat-card.stat-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.stat-card.stat-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stat-card h3 {
    font-size: 36px;
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-card p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

/* Block Filter Styles */
.block-filter-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

.filter-form {
    margin-bottom: 15px;
}

.filter-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-status {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.filter-status p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

/* Reports Section */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.report-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.report-card h4 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.report-card p {
    margin: 0 0 15px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #667eea;
}

.info-banner h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.info-banner ul {
    list-style: none;
    padding: 0;
}

.info-banner li {
    padding: 8px 0;
    color: #555;
}

/* Login Container */
.login-container {
    max-width: 450px;
    margin: 50px auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    flex-shrink: 0;
}

.modal-body {
    padding: 20px 30px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    max-height: calc(90vh - 140px);
}

.modal-footer {
    padding: 20px 30px 30px 30px;
    border-top: 1px solid #e5e7eb;
    background-color: white;
    border-radius: 0 0 15px 15px;
    flex-shrink: 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Divider */
.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e0e0e0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Checkbox */
input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header h1 {
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    .sh-logo {
        height: 70px !important;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
        min-width: auto;
    }

    .search-filter-row {
        flex-direction: column;
        gap: 12px;
    }

    .filter-select,
    .search-input {
        width: 100%;
        min-width: auto;
    }

    .search-actions {
        width: 100%;
        justify-content: space-between;
    }

    .search-actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .nav-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .main-layout {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .sidebar {
        max-width: 100%;
        margin-bottom: 0;
    }

    .mobile-nav-toggle {
        display: block;
        width: 100%;
    }

    .sidebar-menu {
        display: none;
        max-height: 500px;
        overflow-y: auto;
    }

    .sidebar-menu.show {
        display: block;
    }

    .card-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .card-menu-item {
        padding: 15px 10px;
    }

    .card-menu-item i {
        font-size: 24px;
    }

    .card-menu-item span {
        font-size: 12px;
    }

    /* Reports tablet responsiveness */
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tab-link {
        padding: 8px 16px;
        font-size: 13px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card h3 {
        font-size: 28px;
    }

    .stat-card p {
        font-size: 13px;
    }

    .data-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .family-grid {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    /* Sidebar responsive */
    .main-layout {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        max-width: 100%;
        margin-bottom: 0;
        padding: 15px;
        border-radius: 12px;
    }

    .sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    .sidebar-menu li {
        margin-bottom: 3px;
    }

    .sidebar-menu a {
        padding: 10px 12px;
        font-size: 16px;
    }

    .sidebar-menu a i {
        margin-right: 8px;
        width: 18px;
    }

    .mobile-nav-toggle {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        padding: 12px;
        font-size: 16px;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        border: none;
        border-radius: 10px;
        color: white;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }

    .mobile-nav-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    }

    .mobile-nav-toggle i {
        font-size: 16px;
        margin-right: 8px;
    }

    .sidebar-menu {
        display: none;
        animation: slideDown 0.3s ease-out;
    }

    .sidebar-menu.show {
        display: block;
    }

    .main-content {
        margin-top: 0;
        max-height: calc(100vh - 120px); /* Adjusted for mobile header */
    }

    .card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .main-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .card h3 {
        font-size: 18px;
        margin-bottom: 15px;
        font-weight: 600;
        letter-spacing: -0.025em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px 20px 15px 20px;
    }

    .modal-body {
        padding: 15px 20px;
        max-height: calc(95vh - 120px);
    }

    .modal-footer {
        padding: 15px 20px 20px 20px;
    }

    .info-banner {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .card {
        padding: 15px;
        border-radius: 10px;
    }

    .header-content {
        padding: 12px;
    }

    .header h1 {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    .sh-logo {
        height: 60px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card h3 {
        font-size: 24px;
    }

    .stat-card p {
        font-size: 12px;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .filter-controls .btn {
        align-self: flex-start;
        width: auto;
    }

    /* Reports mobile responsiveness */
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .report-card {
        padding: 15px;
    }

    .report-card h4 {
        font-size: 15px;
    }

    .report-card p {
        font-size: 13px;
    }

    /* Chart responsiveness */
    #vehicleChart {
        max-width: 100% !important;
        height: 250px !important;
    }

    /* Info banner mobile */
    .info-banner {
        padding: 15px;
    }

    .info-banner h3 {
        font-size: 16px;
    }

    .info-banner ul {
        padding-left: 20px;
    }

    .info-banner li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    .sidebar {
        padding: 12px;
    }

    .sidebar-menu a {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Carousel Styles */
.image-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Mobile responsive carousel */
@media (max-width: 768px) {
    .image-carousel {
        max-width: 100%;
        margin: 15px 0;
    }

    .carousel-container {
        height: 250px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 200px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Amenity Images Grid */
.amenity-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.amenity-image-thumb {
    position: relative;
    transition: transform 0.2s ease;
}

.amenity-image-thumb:hover {
    transform: scale(1.05);
}

.amenity-image-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #ddd;
    transition: border-color 0.2s ease;
}

.amenity-image-thumb:hover img {
    border-color: #ff9800;
}

.more-images-indicator {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease;
}

.more-images-indicator:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-color: #9ca3af;
}

/* Mobile responsive for amenity images */
@media (max-width: 768px) {
    .amenity-images-grid {
        gap: 8px;
    }

    .amenity-image-thumb img,
    .more-images-indicator {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .amenity-images-grid {
        gap: 6px;
    }

    .amenity-image-thumb img,
    .more-images-indicator {
        width: 60px;
        height: 60px;
    }
}

/* Password Toggle Icons */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    transition: color 0.2s ease;
    user-select: none;
}

.password-toggle:hover {
    color: #333;
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}
