/* ========================================
   LAND WATCH AUSTRALIA BRAND STYLES
   ======================================== */

:root {
  --lwa-primary-green: #385B4F;
  --lwa-white: #FFFFFF;
  --lwa-copper: #BD8B65;
  --lwa-copper-hover: #A67852;
  --lwa-cream: #F2F0EB;
  --lwa-gray: #6C757D;
  --lwa-light-gray: #F8F9FA;
  --lwa-status-active: #28A745;
  --lwa-status-online: #17A2B8;
  --lwa-status-ready: #007BFF;
  --lwa-status-pending: #FFC107;
  --lwa-status-offline: #DC3545;
}

/* Typography Hierarchy */
body {
  font-family: 'Arimo', sans-serif !important;
}

h1, h2, h3 {
  font-family: 'League Spartan', sans-serif !important;
}

h4, h5, h6 {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--lwa-primary-green);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.navbar-menu a:hover, .navbar-menu a.active {
    background: rgba(255,255,255,0.2);
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Credentials Box */
.credentials-box {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid var(--lwa-primary-green);
}

.credentials-box h3 {
    margin-bottom: 1rem;
    color: var(--lwa-primary-green);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.credentials-grid div {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Action Bar */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-bar input[type="text"] {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 250px;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--lwa-copper);
    color: white;
}

.btn-primary:hover {
    background: var(--lwa-copper-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(189, 139, 101, 0.3);
}

.btn-secondary {
    background: var(--lwa-gray);
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Table */
.table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.camera-table {
    width: 100%;
    border-collapse: collapse;
}

.camera-table thead {
    background: #f8f9fa;
}

.camera-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.camera-table td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.camera-table tbody tr:hover {
    background: #f8f9fa;
}

.camera-table tr.disabled {
    opacity: 0.6;
}

.camera-site-id {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: #ffc107;
    color: #333;
}

.status-ready {
    background: #17a2b8;
    color: white;
}

.status-online {
    background: #17a2b8;
    color: white;
}

.status-active {
    background: #28a745;
    color: white;
}

.status-offline {
    background: #dc3545;
    color: white;
}

.status-disabled {
    background: #6c757d;
    color: white;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-admin {
    background: var(--lwa-primary-green);
    color: white;
}

.badge-user {
    background: #6c757d;
    color: white;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #333;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.badge-info {
    background: #17a2b8;
    color: white;
}

/* 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);
    overflow: auto;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s;
}

.modal-large {
    max-width: 900px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lwa-primary-green);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Login Page */
.login-page {
    background: var(--lwa-primary-green);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.login-box {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.login-header p {
    color: #6c757d;
}

.login-form {
    margin-bottom: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--lwa-primary-green);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Temp Password Display */
.temp-password {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temp-password code {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--lwa-primary-green);
}

/* Activity Log */
#activityLog {
    margin-top: 1rem;
}

.activity-entry {
    padding: 1rem;
    border-left: 3px solid var(--lwa-primary-green);
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.activity-entry strong {
    color: var(--lwa-primary-green);
}

.activity-entry .timestamp {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .navbar-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .navbar-menu a {
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .action-bar input[type="text"] {
        min-width: 100%;
    }

    .camera-table {
        font-size: 0.875rem;
    }

    .camera-table th,
    .camera-table td {
        padding: 0.5rem;
    }

    .modal-content {
        margin: 2% 1rem;
        max-width: 100%;
    }
}

/* Filter Group */
.filter-group {
    display: flex;
    gap: 0.5rem;
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--lwa-primary-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status Legend Box */
.status-legend-box {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--lwa-primary-green);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.status-legend-box h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.legend-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.legend-item {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
}

.legend-item.status-pending,
.legend-item.status-ready {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.legend-item.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

.legend-item.status-online {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #17a2b8;
}

.legend-item.status-offline {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
}

.legend-item.status-disabled {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #6c757d;
}
/* ============================================================================
   ENHANCED DASHBOARD STYLES - Added 2026-01-10
   Append these to the existing style.css or use as separate stylesheet
   ============================================================================ */

/* Status Dashboard */
.status-dashboard {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.status-card.active {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f2 100%);
}

.status-card.online {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #e0f7fa 0%, #f0fcff 100%);
}

.status-card.pending {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf3 100%);
}

.status-card.offline {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffebee 0%, #fff5f6 100%);
}

.status-card.disabled {
    border-color: #6c757d;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

.status-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.status-card-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.status-card-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Alert Box */
.alert-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.alert-box h4 {
    color: #856404;
    margin-bottom: 0.75rem;
}

.alert-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
    gap: 0.5rem;
}

/* Quick Setup Box */
.quick-setup-box {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #28a745;
}

.quick-setup-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.btn-large {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-large small {
    font-size: 0.75rem;
    font-weight: normal;
    opacity: 0.8;
}

/* Collapsible Sections */
.collapsible h3 {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible h3:hover {
    opacity: 0.8;
}

.toggle-icon {
    transition: transform 0.3s;
    font-size: 0.8em;
}

.collapsible-content {
    transition: max-height 0.3s ease-out;
}

/* Copy Button */
.btn-copy {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    background: var(--lwa-primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-copy:hover {
    background: var(--lwa-primary-green);
}

/* Action Bar Enhancements */
.action-bar-left,
.action-bar-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-bar select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

/* Bulk Operations */
.bulk-checkbox-column {
    width: 40px;
    text-align: center;
}

.bulk-select {
    cursor: pointer;
}

#bulkActions {
    display: none;
}

#bulkModeBtn.active {
    background: #ffc107;
    color: #333;
}

/* Wizard Modal */
.modal-wizard {
    max-width: 700px;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 0 2rem;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 0.7;
}

.wizard-step.completed .step-number {
    background: #28a745;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    transition: background 0.3s;
}

.wizard-step.active .step-number {
    background: var(--lwa-primary-green);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.step-label {
    font-size: 0.85rem;
    text-align: center;
}

.wizard-page {
    display: none;
}

.wizard-page.active {
    display: block;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Info Box */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.info-box p {
    margin: 0.5rem 0;
}

/* Preview Box */
.preview-box {
    background: #f8f9fa;
    border: 2px solid var(--lwa-primary-green);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.preview-box h4 {
    margin: 0 0 0.5rem 0;
    color: var(--lwa-primary-green);
}

.path-preview {
    font-family: 'Courier New', monospace;
    background: white;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    word-break: break-all;
}

/* Review Section */
.review-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.review-table {
    width: 100%;
    border-collapse: collapse;
}

.review-table th {
    text-align: left;
    padding: 0.75rem;
    background: #e9ecef;
    font-weight: 600;
    width: 35%;
}

.review-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.checkbox-group {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 4px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Configuration Modal */
.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.config-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.config-section h4 {
    margin: 0 0 1rem 0;
    color: var(--lwa-primary-green);
}

.config-table {
    width: 100%;
    border-collapse: collapse;
}

.config-table th,
.config-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.config-table th {
    background: #e9ecef;
    font-weight: 600;
    width: 30%;
}

.config-table td:nth-child(2) {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.config-actions {
    display: flex;
    gap: 1rem;
    justify-center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Diagnostics */
.diagnostic-loading {
    text-align: center;
    padding: 2rem;
    font-style: italic;
    color: #666;
}

.diagnostic-results {
    padding: 1rem 0;
}

.diagnostic-checks {
    margin: 1rem 0;
}

.diagnostic-check {
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    font-weight: 500;
}

.diagnostic-check.check-pass {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.diagnostic-check.check-fail {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.diagnostic-issues {
    background: #fff3cd;
    padding: 1rem 1rem 1rem 2rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.diagnostic-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .status-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-setup-buttons {
        grid-template-columns: 1fr;
    }

    .wizard-progress {
        padding: 0 0.5rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .action-bar-left,
    .action-bar-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .config-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .status-cards {
        grid-template-columns: 1fr;
    }

    .alert-item {
        flex-direction: column;
        align-items: stretch;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   PLATE LIST WIZARD STYLES
   ============================================================================ */

/* Plate Wizard Progress */
.plate-wizard-progress {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 0 2rem;
}

.plate-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.plate-wizard-step.active {
    opacity: 1;
}

.plate-wizard-step.completed {
    opacity: 0.7;
}

.plate-wizard-step.completed .step-number {
    background: #28a745;
}

.plate-wizard-step.active .step-number {
    background: var(--lwa-primary-green);
    box-shadow: 0 0 0 4px rgba(56, 91, 79, 0.2);
}

.plate-wizard-page {
    display: none;
}

.plate-wizard-page.active {
    display: block;
}

/* List Type Selector */
.list-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.list-type-option {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.list-type-option:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.list-type-option.selected {
    border-width: 3px;
}

.list-type-option.allowed.selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f2 100%);
}

.list-type-option.blocked.selected {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffebee 0%, #fff5f6 100%);
}

.list-type-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.list-type-label {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.list-type-option small {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* List Type Badge for Review */
.list-type-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
}

.list-type-badge.allowed {
    background: #28a745;
    color: white;
}

.list-type-badge.blocked {
    background: #dc3545;
    color: white;
}

/* Plate Input Styling */
#plateNumber {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Mobile Responsive for Plate Wizard */
@media (max-width: 480px) {
    .list-type-selector {
        grid-template-columns: 1fr;
    }

    .plate-wizard-progress {
        padding: 0 0.5rem;
    }
}

/* Camera thumbnail in view modal */
.thumbnail-container {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.thumbnail-container h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.camera-thumbnail {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.camera-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.thumbnail-info {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.no-image {
    color: #999;
    font-style: italic;
    padding: 40px;
}

#imageThumbnail {
    margin-top: 20px;
}

/* Plates list table styling */
.plates-list-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
}

.plates-list-table th,
.plates-list-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.plates-list-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.plates-list-table tr:hover {
    background: #f9f9f9;
}

.plates-added-list {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.no-plates-msg {
    color: #666;
    font-style: italic;
    text-align: center;
    margin: 0;
}

.plates-count {
    text-align: right;
    color: #28a745;
    font-weight: 600;
    margin-top: 10px;
}

#addPlateBtn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}
