/* Custom Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Colors */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;

    /* Dark Theme Colors */
    --bg-primary: #1a1b1e;
    --bg-secondary: #2c2e33;
    --bg-tertiary: #3a3b3f;
    --text-primary: #f3f4f6;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #4b5563;
    --card-bg: #2c2e33;
    --hover-bg: #3a3b3f;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Navigation */
nav {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* Card Styles */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden; /* Prevent content from overflowing */
    width: 100%; /* Ensure cards take full width */
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 1.0rem;
}

nav .btn {
    padding: 0.25rem 0.25rem;
    font-size: 0.75rem;
    margin: 0 0.05rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

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

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

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

/* Input Styles */
.input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    transition: all 0.2s;
}

.input::placeholder {
    color: var(--text-muted);
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-blue {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
}

/* Table Styles */
/* Improved Table Styles for Mobile */
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Fixed layout for better mobile display */
}

th, td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    word-wrap: break-word;
    max-width: 200px;
}

/* Only enable horizontal scroll when absolutely necessary */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    border-radius: 0.5rem; /* Match card border radius */
}

/* Center alignment improvements */
.container, .content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

/* Enhanced Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .container, .content-wrapper {
        padding: 0.5rem;
    }

    /* Improved table responsiveness */
    table {
        display: table;
        width: 100%;
        font-size: 0.95rem; /* Slightly larger font for better readability */
    }

    th, td {
        padding: 0.5rem 0.75rem; /* Increased horizontal padding */
        font-size: 0.95rem; /* Larger font size for better readability */
        max-width: none;
    }

    /* Center align content */
    .stats-card, .card {
        text-align: center;
        margin: 0.75rem auto; /* Increased margin */
        max-width: 100%;
        border-radius: 0.5rem; /* Ensure border radius is applied */
        overflow: hidden; /* Prevent content overflow */
    }
    
    /* Card padding adjustments */
    .card .p-6 {
        padding: 1rem; /* Reduce padding on mobile */
    }

    /* Improved spacing */
    .grid {
        gap: 0.25rem;
        padding: 0.25rem;
    }

    /* Enhanced button styling */
    .btn {
        width: auto;
        min-width: 120px;
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.95rem; /* Larger font size */
    }

    /* Better form elements */
    .input, select, textarea {
        max-width: 100%;
        margin: 0.5rem auto;
        font-size: 1rem; /* Larger font size */
    }

    /* Improved navigation */
    nav {
        padding: 0.5rem;
    }

    /* Better spacing for headings */
    h1, h2, h3 {
        margin: 1rem 0;
        text-align: center;
    }

    /* Improved badge display */
    .badge {
        font-size: 0.9rem; /* Larger badge text */
        padding: 0.3rem 0.8rem; /* Larger badge */
    }

    /* Improved plate display */
    .al-plate {
        min-width: 110px; /* Ensure plate is visible */
    }

    /* Main content padding */
    main {
        padding: 0.75rem 0.5rem; /* Reduced padding */
    }
}

/* Additional small screen improvements */
@media screen and (max-width: 480px) {
    .container, .content-wrapper {
        padding: 0.25rem;
    }

    /* Adjust card spacing */
    .card {
        margin: 0.5rem auto;
        padding: 0;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .card .p-6 {
        padding: 0.75rem; /* Further reduce padding */
    }

    /* Compact table view */
    th, td {
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
    }

    /* Better button sizing */
    .btn {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    /* Improved headings */
    h2 {
        font-size: 1.25rem;
    }

    /* Stats cards */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.9rem;
    }

    .stats-card p {
        font-size: 1.4rem;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 15px;
    background-image: url('../assets/al-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.al-plate::after {
    content: 'AL';
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: #003399;
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.6em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.al-plate.large {
    min-width: 160px;
    height: 40px;
    font-size: 1.2em;
    padding: 4px 16px 4px 48px;
}

.al-plate.large::before {
    width: 24px;
    height: 18px;
    left: 6px;
    top: 4px;
}

.al-plate.large::after {
    width: 24px;
    left: 6px;
    bottom: 4px;
    font-size: 0.7em;
}

.al-plate.small {
    min-width: 100px;
    height: 28px;
    font-size: 0.9em;
    padding: 2px 8px 2px 34px;
}

.al-plate.small::before {
    width: 16px;
    height: 12px;
    left: 4px;
    top: 3px;
}

.al-plate.small::after {
    width: 16px;
    left: 4px;
    bottom: 3px;
    font-size: 0.5em;
    padding: 0px 2px;
}

/* Dark theme adjustments for plate display */
.dark-plate {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #444;
    color: #fff;
}

/* Table cell plate styling */
td .al-plate {
    margin: -8px 0;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Adjust card padding and margins */
    .card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    /* Make tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    /* Adjust input and button sizes */
    .input, .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Make form elements full width */
    select, textarea {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust stats card */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.75rem;
    }

    .stats-card p {
        font-size: 1.25rem;
    }

    /* Adjust spacing and font sizes */
    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Add some breathing room */
    .container {
        padding: 0.5rem;
    }

    /* Make badges smaller */
    .badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional small screen adjustments */
@media screen and (max-width: 480px) {
    .card {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    th, td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 15px;
    background-image: url('../assets/al-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.al-plate::after {
    content: 'AL';
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: #003399;
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.6em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.al-plate.large {
    min-width: 160px;
    height: 40px;
    font-size: 1.2em;
    padding: 4px 16px 4px 48px;
}

.al-plate.large::before {
    width: 24px;
    height: 18px;
    left: 6px;
    top: 4px;
}

.al-plate.large::after {
    width: 24px;
    left: 6px;
    bottom: 4px;
    font-size: 0.7em;
}

.al-plate.small {
    min-width: 100px;
    height: 28px;
    font-size: 0.9em;
    padding: 2px 8px 2px 34px;
}

.al-plate.small::before {
    width: 16px;
    height: 12px;
    left: 4px;
    top: 3px;
}

.al-plate.small::after {
    width: 16px;
    left: 4px;
    bottom: 3px;
    font-size: 0.5em;
    padding: 0px 2px;
}

/* Dark theme adjustments for plate display */
.dark-plate {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #444;
    color: #fff;
}

/* Table cell plate styling */
td .al-plate {
    margin: -8px 0;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Adjust card padding and margins */
    .card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    /* Make tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    /* Adjust input and button sizes */
    .input, .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Make form elements full width */
    select, textarea {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust stats card */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.75rem;
    }

    .stats-card p {
        font-size: 1.25rem;
    }

    /* Adjust spacing and font sizes */
    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Add some breathing room */
    .container {
        padding: 0.5rem;
    }

    /* Make badges smaller */
    .badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional small screen adjustments */
@media screen and (max-width: 480px) {
    .card {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    th, td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 15px;
    background-image: url('../assets/al-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.al-plate::after {
    content: 'AL';
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: #003399;
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.6em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.al-plate.large {
    min-width: 160px;
    height: 40px;
    font-size: 1.2em;
    padding: 4px 16px 4px 48px;
}

.al-plate.large::before {
    width: 24px;
    height: 18px;
    left: 6px;
    top: 4px;
}

.al-plate.large::after {
    width: 24px;
    left: 6px;
    bottom: 4px;
    font-size: 0.7em;
}

.al-plate.small {
    min-width: 100px;
    height: 28px;
    font-size: 0.9em;
    padding: 2px 8px 2px 34px;
}

.al-plate.small::before {
    width: 16px;
    height: 12px;
    left: 4px;
    top: 3px;
}

.al-plate.small::after {
    width: 16px;
    left: 4px;
    bottom: 3px;
    font-size: 0.5em;
    padding: 0px 2px;
}

/* Dark theme adjustments for plate display */
.dark-plate {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #444;
    color: #fff;
}

/* Table cell plate styling */
td .al-plate {
    margin: -8px 0;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Adjust card padding and margins */
    .card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    /* Make tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    /* Adjust input and button sizes */
    .input, .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Make form elements full width */
    select, textarea {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust stats card */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.75rem;
    }

    .stats-card p {
        font-size: 1.25rem;
    }

    /* Adjust spacing and font sizes */
    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Add some breathing room */
    .container {
        padding: 0.5rem;
    }

    /* Make badges smaller */
    .badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional small screen adjustments */
@media screen and (max-width: 480px) {
    .card {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    th, td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 15px;
    background-image: url('../assets/al-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.al-plate::after {
    content: 'AL';
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: #003399;
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.6em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.al-plate.large {
    min-width: 160px;
    height: 40px;
    font-size: 1.2em;
    padding: 4px 16px 4px 48px;
}

.al-plate.large::before {
    width: 24px;
    height: 18px;
    left: 6px;
    top: 4px;
}

.al-plate.large::after {
    width: 24px;
    left: 6px;
    bottom: 4px;
    font-size: 0.7em;
}

.al-plate.small {
    min-width: 100px;
    height: 28px;
    font-size: 0.9em;
    padding: 2px 8px 2px 34px;
}

.al-plate.small::before {
    width: 16px;
    height: 12px;
    left: 4px;
    top: 3px;
}

.al-plate.small::after {
    width: 16px;
    left: 4px;
    bottom: 3px;
    font-size: 0.5em;
    padding: 0px 2px;
}

/* Dark theme adjustments for plate display */
.dark-plate {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #444;
    color: #fff;
}

/* Table cell plate styling */
td .al-plate {
    margin: -8px 0;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Adjust card padding and margins */
    .card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    /* Make tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    /* Adjust input and button sizes */
    .input, .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Make form elements full width */
    select, textarea {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust stats card */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.75rem;
    }

    .stats-card p {
        font-size: 1.25rem;
    }

    /* Adjust spacing and font sizes */
    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Add some breathing room */
    .container {
        padding: 0.5rem;
    }

    /* Make badges smaller */
    .badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional small screen adjustments */
@media screen and (max-width: 480px) {
    .card {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    th, td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 15px;
    background-image: url('../assets/al-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.al-plate::after {
    content: 'AL';
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: #003399;
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.6em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.al-plate.large {
    min-width: 160px;
    height: 40px;
    font-size: 1.2em;
    padding: 4px 16px 4px 48px;
}

.al-plate.large::before {
    width: 24px;
    height: 18px;
    left: 6px;
    top: 4px;
}

.al-plate.large::after {
    width: 24px;
    left: 6px;
    bottom: 4px;
    font-size: 0.7em;
}

.al-plate.small {
    min-width: 100px;
    height: 28px;
    font-size: 0.9em;
    padding: 2px 8px 2px 34px;
}

.al-plate.small::before {
    width: 16px;
    height: 12px;
    left: 4px;
    top: 3px;
}

.al-plate.small::after {
    width: 16px;
    left: 4px;
    bottom: 3px;
    font-size: 0.5em;
    padding: 0px 2px;
}

/* Dark theme adjustments for plate display */
.dark-plate {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #444;
    color: #fff;
}

/* Table cell plate styling */
td .al-plate {
    margin: -8px 0;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Adjust card padding and margins */
    .card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    /* Make tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    /* Adjust input and button sizes */
    .input, .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Make form elements full width */
    select, textarea {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust stats card */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.75rem;
    }

    .stats-card p {
        font-size: 1.25rem;
    }

    /* Adjust spacing and font sizes */
    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Add some breathing room */
    .container {
        padding: 0.5rem;
    }

    /* Make badges smaller */
    .badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional small screen adjustments */
@media screen and (max-width: 480px) {
    .card {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    th, td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 15px;
    background-image: url('../assets/al-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.al-plate::after {
    content: 'AL';
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: #003399;
    color: #fff;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.6em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.al-plate.large {
    min-width: 160px;
    height: 40px;
    font-size: 1.2em;
    padding: 4px 16px 4px 48px;
}

.al-plate.large::before {
    width: 24px;
    height: 18px;
    left: 6px;
    top: 4px;
}

.al-plate.large::after {
    width: 24px;
    left: 6px;
    bottom: 4px;
    font-size: 0.7em;
}

.al-plate.small {
    min-width: 100px;
    height: 28px;
    font-size: 0.9em;
    padding: 2px 8px 2px 34px;
}

.al-plate.small::before {
    width: 16px;
    height: 12px;
    left: 4px;
    top: 3px;
}

.al-plate.small::after {
    width: 16px;
    left: 4px;
    bottom: 3px;
    font-size: 0.5em;
    padding: 0px 2px;
}

/* Dark theme adjustments for plate display */
.dark-plate {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #444;
    color: #fff;
}

/* Table cell plate styling */
td .al-plate {
    margin: -8px 0;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Adjust card padding and margins */
    .card {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }

    /* Make tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    /* Adjust input and button sizes */
    .input, .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Make form elements full width */
    select, textarea {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust stats card */
    .stats-card {
        padding: 0.75rem;
    }

    .stats-card h3 {
        font-size: 0.75rem;
    }

    .stats-card p {
        font-size: 1.25rem;
    }

    /* Adjust spacing and font sizes */
    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Add some breathing room */
    .container {
        padding: 0.5rem;
    }

    /* Make badges smaller */
    .badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional small screen adjustments */
@media screen and (max-width: 480px) {
    .card {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    th, td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

tr:hover {
    background-color: var(--hover-bg);
}

/* Form Elements */
select, textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem;
}

select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Card */
.stats-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color); /* Added border for consistency */
}

.stats-card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-card p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Suggestions Container */
.suggestions-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    z-index: 50;
    top: 100%;
}

.suggestions-container.hidden {
    display: none !important;
}

.plate-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

.plate-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.plate-suggestion:last-child {
    border-bottom: none;
}

.plate-suggestion:hover {
    background-color: var(--hover-bg);
}

/* Media Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: var(--hover-bg);
}

/* Error States */
.error-text {
    color: var(--error-color);
}

.error-bg {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Success States */
.success-text {
    color: var(--success-color);
}

.success-bg {
    background-color: rgba(16, 185, 129, 0.1);
}

/* Albanian License Plate Styling */
.al-plate {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 4px 12px 4px 40px;
    font-family: 'License Plate', monospace;
    font-weight: bold;
    color: #000;
    position: relative;
    min-width: 120px;
    height: 32px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.al-plate::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4
}