.dashboard {
    padding: 40px 20px 60px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.dashboard h1 {
    margin-bottom: 40px;
    color: var(--text);
}

/* Loading state */
.loading-text {
    color: var(--text-light);
}

.dashboard-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    transition: opacity 0.2s ease;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.05);

}



.card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text);
}

/* Pairing Code */
.pairing-card {
    text-align: center;
}

.pairing-code {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--primary);
    background: rgba(227, 25, 55, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(227, 25, 55, 0.15);
    text-align: center;
}

.copy-code-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

.copy-code-btn:active {
    transform: scale(0.95);
}

.card-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Status */
.status-connected {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: 600;
}

.status-trial {
    color: #f39c12;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-trial #trialDaysLeft {
    font-size: 0.85rem;
    background: #f39c12;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-disconnected, .status-inactive {
    color: #c41e22;
    margin-bottom: 15px;
}

.status-loading {
    color: var(--text-light);
    font-style: italic;
}

.vehicle-name {
    color: var(--text-light);
    margin-top: 10px;
}

/* Country Selector */
.country-selector {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray);
}

.country-selector label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.field-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 4px 0 8px 0;
}

.country-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    background: var(--background);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.country-select:focus {
    outline: none;
    border-color: var(--primary);
}

.country-select:hover {
    border-color: var(--text-light);
}

.country-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
    opacity: 0.8;
}

/* Subscription */
.plan-selector {
    margin-bottom: 20px;
}

.plan-selector label[data-i18n="selectPlan"] {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text);
}

/* Dashboard Billing Segment Control */
.dash-billing-segments {
    display: flex;
    background: #e9ecef;
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
    margin-bottom: 12px;
    position: relative;
}

.dash-billing-segment {
    flex: 1;
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}


.dash-billing-segment:hover {
    color: var(--text);
}

.dash-billing-segment.active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.plan-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.plan-option:hover {
    border-color: var(--primary);
    background: rgba(227, 25, 55, 0.08);
    transform: translateY(-2px);
}

.plan-option.selected {
    border-color: var(--primary);
    background: rgba(227, 25, 55, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.plan-option input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--primary);
}

.plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.plan-info strong {
    color: var(--text);
}

.plan-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.trial-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #27ae60;
    font-weight: 500;
    text-align: center;
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#stripeBtn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

.sub-info {
    color: var(--text-light);
    margin-top: 10px;
}

.sub-cancelled,
.sub-cancelled span:not(.cancelled-badge) {
    color: #e74c3c !important;
}

.cancelled-badge {
    display: inline-block;
    background: #e74c3c;
    color: white !important;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 500;
}

/* Manage Subscription */
.manage-subscription {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-dark);
}

.change-plan-details {
    margin-bottom: 15px;
}

.change-plan-details summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
    padding: 8px 0;
    text-decoration: none;
}

.change-plan-details summary:hover {
    text-decoration: none;
}

.change-plan-options {
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-option-small {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--gray-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.plan-option-small:hover {
    border-color: var(--primary);
}

.plan-option-small input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--primary);
}

.plan-option-small span {
    color: var(--text);
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #333;
    padding-top: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}



.btn-danger {
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-danger:hover {
    background: #e74c3c;
    color: white;
}

/* Instructions */
.instruction-item {
    background: var(--background);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.instruction-question {
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.instruction-question:hover {
    background: transparent;
}

.instruction-question::after {
    content: '+';
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.instruction-item.open .instruction-question::after {
    transform: rotate(45deg);
}

.instruction-answer {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.instruction-item.open .instruction-answer {
    padding: 0 18px 18px;
    max-height: 800px;
}

.instructions-card ol {
    padding-left: 20px;
}

.instructions-card li {
    padding: 8px 0;
    color: var(--text-light);
}

.instructions-card strong {
    color: var(--text);
}

#codeInstructions {
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.instruction-tip {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.instruction-gif {
    text-align: center;
}

.instruction-gif img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--gray);
}



/* Usage Stats Card */
.usage-card .usage-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usage-card .usage-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.usage-card .usage-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.usage-card .usage-value {
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}

.usage-card .usage-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.usage-card .usage-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.usage-card .usage-fill.warning {
    background: linear-gradient(90deg, #FF9800, #FFB74D);
}

.usage-card .usage-fill.danger {
    background: linear-gradient(90deg, #f44336, #E57373);
}

.usage-card .usage-fill.warning {
    background: #f39c12;
}

.usage-card .usage-fill.danger {
    background: #e74c3c;
}

.usage-card .usage-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-lighter);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard {
        padding: 20px 15px 60px;
    }

    .dashboard h1 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 20px;
    }

    .pairing-code {
        font-size: 2rem;
        letter-spacing: 5px;
        padding: 15px;
    }

    .instructions-card ol {
        padding-left: 15px;
    }
}

/* Danger Zone */
.danger-zone {
    border: 1px solid rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.danger-zone h3 {
    color: #c0392b;
}

.danger-zone p {
    color: #666;
    margin-bottom: 15px;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.btn-danger:hover {
    background: #c0392b;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
}

.modal-content h3 {
    margin-bottom: 10px;
    color: #c0392b;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.modal-buttons .btn {
    flex: 1;
}

.modal-buttons .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Contact Form */
.contact-card .form-group {
    margin-bottom: 15px;
}

.contact-card label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text);
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 35, 51, 0.1);
}

.contact-card textarea {
    min-height: 100px;
}

.contact-card .btn {
    width: 100%;
    margin-top: 10px;
}

.contact-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Account Settings Card */
.account-card .account-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.account-card .btn-sm {
    padding: 10px 16px;
    font-size: 0.9rem;
}

/* Passkey Section inside Account Card */
.passkey-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.passkey-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text);
}

.passkey-section .passkey-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.passkey-section .status-warning {
    color: #f59e0b;
    font-size: 0.9rem;
}



/* Virtual Key Top Banner (Critical Warning) */
.virtual-key-top-banner {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(200, 35, 51, 0.95) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 2px solid rgba(139, 0, 0, 0.5);
    padding: 14px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: fixed; /* Changed from sticky to fixed */
    top: 80px; /* Increased from 70px to clear the nav */
    left: 0;
    right: 0;
    z-index: 999;
    transition: top 250ms ease;
}

/* Adjust position when nav is scrolled */
.virtual-key-top-banner.scrolled {
    top: 64px; /* 80px - 16px */
}

.virtual-key-top-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.virtual-key-top-banner-icon {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.virtual-key-top-banner-text {
    flex: 1;
    min-width: 200px;
}

.virtual-key-top-banner-text strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.virtual-key-top-banner-text span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.88rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.virtual-key-top-banner .btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    background: #fff;
    color: #dc3545;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.virtual-key-top-banner .btn-sm:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.virtual-key-top-banner-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.virtual-key-top-banner-close i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.virtual-key-top-banner-close:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .virtual-key-top-banner {
        padding: 12px 15px;
    }

    .virtual-key-top-banner-content {
        gap: 10px;
        position: relative;
        padding-right: 30px; /* Space for close button */
    }

    .virtual-key-top-banner-text {
        flex: 1;
        order: 1;
    }

    .virtual-key-top-banner-icon {
        order: 0;
        width: 20px;
        height: 20px;
    }

    .virtual-key-top-banner .btn-sm {
        order: 2;
        flex: 1 1 100%;
        width: 100%;
    }

    .virtual-key-top-banner-close {
        order: 2;
        position: absolute;
        right: 0;
        top: 0;
    }

    .virtual-key-top-banner {
        top: 70px; /* Increased for mobile nav */
    }

    .virtual-key-top-banner.scrolled {
        top: 58px; /* Adjusted for mobile */
    }
}

/* Pulse animation for highlighting buttons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
}

/* Passkey Banner */
.passkey-banner {
    background: rgba(254, 243, 199, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    padding: 12px 20px;
    position: fixed; /* Changed from sticky to fixed */
    top: 80px; /* Increased from 70px to clear the nav */
    left: 0;
    right: 0;
    z-index: 998;
    transition: top 250ms ease;
}

/* Adjust position when nav is scrolled */
.passkey-banner.scrolled {
    top: 64px; /* 80px - 16px */
}

.passkey-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.passkey-banner-icon {
    font-size: 1.5rem;
}

.passkey-banner-text {
    flex: 1;
    min-width: 200px;
}

.passkey-banner-text strong {
    color: #000;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.passkey-banner-text span {
    color: #333;
    font-size: 0.85rem;
}

.passkey-banner .btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
    background: #c41e22;
    border-color: #a11a1d;
}

.passkey-banner .btn-sm:hover {
    background: #a11a1d;
    border-color: #8b1619;
}

.passkey-banner-close {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: opacity 0.2s;
}

.passkey-banner-close:hover {
    opacity: 0.6;
}

@media (max-width: 600px) {
    .passkey-banner {
        padding: 10px 15px;
    }

    .passkey-banner-content {
        gap: 10px;
        position: relative;
        padding-right: 30px; /* Space for close button */
    }

    .passkey-banner-text {
        flex: 1;
        order: 1;
    }

    .passkey-banner-icon {
        order: 0;
    }

    .passkey-banner .btn-sm {
        order: 2;
        flex: 1 1 100%;
        width: 100%;
    }

    .passkey-banner-close {
        order: 2;
        position: absolute;
        right: 0;
        top: 0;
    }

    .passkey-banner {
        position: fixed;
        top: 70px; /* Increased for mobile nav */
    }

    .passkey-banner.scrolled {
        top: 58px; /* Adjusted for mobile */
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.modal-content > p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-close:hover {
    color: var(--text);
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
}

.modal-content .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.modal-content .form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.success-message {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success);
    color: #27ae60;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

.error-message {
    background: rgba(232, 33, 39, 0.1);
    border: 1px solid var(--primary);
    color: #c41e22;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

/* Password Requirements (Dashboard) */
.password-requirements {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    padding: 3px 0;
    color: #999;
    transition: color 0.2s;
}

.password-requirements li.valid {
    color: #2ecc71;
}

/* Password Toggle (Eye Icon) */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #333;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 400px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid #4CAF50;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hiding {
    transform: translateX(120%);
    opacity: 0;
}

.toast.success {
    border-left-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.06), rgba(255, 255, 255, 0.95));
}

.toast.error {
    border-left-color: #f44336;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.06), rgba(255, 255, 255, 0.95));
}

.toast.warning {
    border-left-color: #FF9800;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.06), rgba(255, 255, 255, 0.95));
}

.toast.info {
    border-left-color: #2196F3;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.06), rgba(255, 255, 255, 0.95));
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.toast.success .toast-icon {
    background: rgba(76, 175, 80, 0.12);
}

.toast.error .toast-icon {
    background: rgba(244, 67, 54, 0.12);
}

.toast.warning .toast-icon {
    background: rgba(255, 152, 0, 0.12);
}

.toast.info .toast-icon {
    background: rgba(33, 150, 243, 0.12);
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast.success .toast-icon svg {
    color: #4CAF50;
}

.toast.error .toast-icon svg {
    color: #f44336;
}

.toast.warning .toast-icon svg {
    color: #FF9800;
}

.toast.info .toast-icon svg {
    color: #2196F3;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    font-size: 0.92rem;
}

.toast-message {
    color: #555;
    font-size: 0.84rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #bbb;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    border-radius: 6px;
}

.toast-close:hover {
    color: #555;
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .toast {
        max-width: 100%;
    }
}

/* Vehicles List */
.vehicles-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.vehicles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vehicle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.vehicle-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vehicle-item.selected {
    background: rgba(76, 175, 80, 0.12);
    border-color: rgba(76, 175, 80, 0.4);
}

.vehicle-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vehicle-item-name {
    font-weight: 600;
    font-size: 0.95em;
    color: var(--text);
}

.vehicle-item-vin {
    font-size: 0.75em;
    color: var(--text-light);
    font-family: monospace;
}

.vehicle-item .btn-xs {
    padding: 4px 10px;
    font-size: 0.8em;
}

.btn-xs {
    padding: 4px 10px;
    font-size: 0.8em;
}

.vehicle-item .selected-badge {
    color: #4caf50;
    font-weight: 600;
    font-size: 0.85em;
}
