/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Logistics Professional Color Palette */
    --primary-color: #0f3460;
    --primary-dark: #082447;
    --primary-light: #1a4d80;
    --accent-color: #ff6b35;
    --accent-dark: #e55a2b;
    --accent-light: #ff8c5a;
    --accent-bg: #fff4f0;
    --secondary-color: #2d7d32;
    --secondary-dark: #1b5e20;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #2d3748;
    --border-color: #cbd5e0;
    --border-light: #e2e8f0;
    --success-color: #2d7d32;
    --warning-color: #f57c00;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #ffffff 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2.5rem 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

header .container {
    position: relative;
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-text {
    flex: 1;
}

header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

/* Search Section */
.search-section {
    margin-bottom: 2.5rem;
}

.search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    font-size: 1.05rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1), var(--shadow-md);
    transform: translateY(-1px);
}

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

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition);
}

.search-wrapper:focus-within .search-icon {
    color: var(--accent-color);
}

/* Filter Section */
.filter-section {
    background-color: var(--bg-primary);
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    position: relative;
}

.filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
    min-width: 200px;
}

.filter-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.filter-select {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-select:hover {
    border-color: var(--primary-light);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.filter-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Results Section */
.results-section {
    margin-bottom: 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.clear-btn {
    padding: 0.625rem 1.5rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-btn:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.clear-btn:active {
    transform: translateY(0);
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Location Card */
.location-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    padding: 1.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleY(0);
    transition: var(--transition);
}

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

.location-card:hover::before {
    transform: scaleY(1);
}

.location-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.location-county {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: capitalize;
    font-weight: 500;
}

.location-route {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-tertiary);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pickup-location-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.pickup-location-section .detail-label {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.pickup-location-section .detail-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.pickup-location-section .detail-value:last-child {
    margin-bottom: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.detail-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    flex: 1;
    font-weight: 500;
}

.courier-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.courier-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.courier-tag:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-light);
}

.service-type-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.service-type-bus {
    background: linear-gradient(135deg, #0f3460 0%, #1a4d80 100%);
    color: #ffffff;
}

.service-type-parcel {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #ffffff;
}

.service-type-speedaf {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: #ffffff;
}

.pod-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fff4f0 0%, #ffe0d6 100%);
    color: var(--accent-dark);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-results {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border: 2px dashed var(--border-color);
    box-shadow: var(--shadow-sm);
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.no-results p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 2px solid var(--border-light);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
        header {
        padding: 2rem 0;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.9375rem;
    }

    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }

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

    .results-container {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .clear-btn {
        width: 100%;
    }

    .location-card {
        padding: 1rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .detail-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 1.5rem 0;
    }

    main {
        padding: 1.5rem 0;
    }

    .search-input {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.9375rem;
    }

    .filter-section {
        padding: 1rem;
    }
}

/* Logout Button */
.logout-button {
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.logout-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logout-button:active {
    transform: translateY(0);
}

.logout-button span:first-child {
    font-size: 1.125rem;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .logout-button {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 1rem;
    }

    .logout-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

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

.location-card {
    animation: fadeIn 0.3s ease-out;
}

/* Login Modal Styles */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.login-modal.hidden {
    display: none;
}

.login-container {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    position: relative;
}

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

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
}

.login-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 0.9375rem;
    opacity: 0.9;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-body {
    padding: 2.5rem 2rem;
    text-align: center;
}

.login-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.login-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

.login-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.login-input::placeholder {
    letter-spacing: 1px;
    font-weight: 400;
}

.login-error {
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.login-button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-form.shake {
    animation: shake 0.4s ease-in-out;
}

.login-arrow {
    font-size: 1.25rem;
    transition: var(--transition);
}

.login-button:hover .login-arrow {
    transform: translateX(4px);
}

.login-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.login-footer p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Login */
@media (max-width: 480px) {
    .login-container {
        max-width: 100%;
        border-radius: 12px;
    }

    .login-header {
        padding: 1.5rem 1.5rem 1rem;
    }

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

    .login-body {
        padding: 2rem 1.5rem;
    }

    .login-icon {
        font-size: 3rem;
    }
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.nav-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    margin-bottom: -2px;
}

.nav-tab:hover {
    color: var(--primary-color);
    background-color: var(--bg-secondary);
}

.nav-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background-color: transparent;
}

.nav-tab span:first-child {
    font-size: 1.25rem;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Speedaf Locations Section */
.speedaf-section {
    margin-top: 2rem;
}

.speedaf-header {
    text-align: center;
    margin-bottom: 2rem;
}

.speedaf-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.speedaf-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.speedaf-search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.speedaf-results-section {
    margin-top: 2rem;
}

.speedaf-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.speedaf-results-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.speedaf-results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.speedaf-card {
    border-left: 4px solid #e91e63;
}

.speedaf-card:hover {
    border-left-color: #c2185b;
}

.contact-phone {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-phone:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Price Checker Section */
.price-section {
    margin-top: 2rem;
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.price-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.price-filter-section {
    margin-bottom: 2rem;
    max-width: 400px;
}

.price-results {
    margin-top: 2rem;
}

.price-route-section {
    margin-bottom: 3rem;
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.price-route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.price-route-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.route-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-tertiary);
    border-radius: 20px;
}

.price-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.price-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 1.25rem;
    border-radius: 10px;
    border: 2px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.price-card-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.price-card-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-weight: 800;
}

.price-card-amount .currency {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 600;
}

.price-card-amount .amount {
    font-size: 1.5rem;
    line-height: 1;
}

.price-low .amount {
    color: var(--success-color);
}

.price-medium .amount {
    color: var(--primary-color);
}

.price-high .amount {
    color: var(--accent-color);
}

.price-very-high .amount {
    color: var(--accent-dark);
}

.no-price-results {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.no-price-results p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.no-price-results p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Responsive Price Checker */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-tab {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .price-route-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .price-locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .price-card {
        padding: 1rem;
    }

    .price-card-amount .amount {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .price-locations-grid {
        grid-template-columns: 1fr;
    }

    .price-route-section {
        padding: 1.5rem;
    }

    .speedaf-results-container {
        grid-template-columns: 1fr;
    }

    .speedaf-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .clear-btn {
        width: 100%;
    }
}

/* G4S Tariff Section */
.g4s-section {
    margin-top: 2rem;
}

.g4s-header {
    text-align: center;
    margin-bottom: 2rem;
}

.g4s-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.g4s-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.g4s-search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.g4s-results-section {
    margin-top: 2rem;
}

.g4s-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.g4s-results-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.g4s-results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.g4s-card {
    border-left: 4px solid #2d7d32;
}

.g4s-card:hover {
    border-left-color: #1b5e20;
}

.service-type-g4s {
    background: linear-gradient(135deg, #2d7d32 0%, #1b5e20 100%);
    color: #ffffff;
}

.g4s-rate {
    font-weight: 600;
    color: var(--text-primary);
}

.g4s-total-row {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border-light);
}

.g4s-total-amount {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.g4s-excess {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Responsive G4S */
@media (max-width: 768px) {
    .g4s-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .g4s-results-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .g4s-results-container {
        grid-template-columns: 1fr;
    }

    .g4s-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .clear-btn {
        width: 100%;
    }
}
