/* Minification failed. Returning unminified contents.
(1128,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1184,33): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1229,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1333,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
 */
/* Model Page Styles - Individual Model Detail View */
/* Matching the design spirit of models.css with Team Honda layout */

/* ===== Back Navigation ===== */
.model-page .back-nav {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.model-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.model-page .back-link:hover {
    color: #c00;
    text-decoration: none;
}

.model-page .back-link svg {
    transition: transform 0.2s ease;
}

.model-page .back-link:hover svg {
    transform: translateX(-3px);
}

/* ===== Hero Section ===== */
.model-page .hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.model-page .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 30px;
}

.model-page .hero-text {
    max-width: 500px;
}

.model-page .hero-year {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin: 0 0 5px;
}

.model-page .hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.1;
}

.model-page .hero-trim {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    margin: 0 0 30px;
}

.model-page .hero-price {
    margin-bottom: 30px;
}

.model-page .hero-price .price-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.model-page .hero-price .price-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #c00;
}

.model-page .hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.model-page .btn-book {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.model-page .btn-book:hover {
    background: #333;
    color: #fff;
}

.model-page .btn-build {
    background: #c00;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.model-page .btn-build:hover {
    background: #a00;
    color: #fff;
    text-decoration: none;
}

.model-page .hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-page .hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* ===== Sticky Navigation ===== */
.model-page .model-nav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.model-page .model-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.model-page .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.model-page .nav-model-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.model-page .nav-thumb {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.model-page .nav-model-text {
    display: flex;
    flex-direction: column;
}

.model-page .nav-year {
    font-size: 12px;
    color: #666;
}

.model-page .nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.model-page .nav-links {
    display: flex;
    gap: 30px;
}

.model-page .nav-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.2s ease;
}

.model-page .nav-link:hover {
    color: #111;
    text-decoration: none;
}

.model-page .nav-link.active {
    color: #c00;
}

.model-page .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c00;
}

/* ===== Section Title ===== */
.model-page .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin: 0 0 30px;
    text-align: center;
}

/* ===== Overview Section ===== */
.model-page .overview-section {
    padding: 60px 0;
    background: #fff;
}

/* ===== Trim Selector ===== */
.model-page .trim-selector {
    position: relative;
    margin-bottom: 40px;
}

.model-page .trim-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.model-page .trim-cards::-webkit-scrollbar {
    display: none;
}

.model-page .trim-card {
    flex: 0 0 260px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-page .trim-card:hover {
    border-color: #ccc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.model-page .trim-card.active {
    border-color: #c00;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.15);
}

.model-page .trim-card-header {
    margin-bottom: 15px;
}

.model-page .trim-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.model-page .trim-drivetrain {
    display: block;
    font-size: 13px;
    color: #666;
}

.model-page .trim-card-body hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 15px 0;
}

.model-page .trim-price-label {
    font-size: 12px;
    color: #666;
    margin: 0 0 5px;
}

.model-page .trim-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}

.model-page .trim-availability {
    font-size: 12px;
    color: #666;
    margin: 0 0 15px;
}

.model-page .btn-contact-trim {
    width: 100%;
    background: #fff;
    color: #111;
    border: 2px solid #111;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.model-page .btn-contact-trim:hover {
    background: #111;
    color: #fff;
}

.model-page .trim-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 5px;
}

.model-page .trim-nav-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.model-page .trim-nav-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.model-page .trim-nav-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
}

/* ===== Vehicle Carousel ===== */
.model-page .vehicle-carousel {
    margin-bottom: 40px;
}

.model-page .carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    min-height: 350px;
}

.model-page .carousel-image {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.model-page .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
}

.model-page .carousel-btn:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.model-page .carousel-btn.prev {
    left: 20px;
}

.model-page .carousel-btn.next {
    right: 20px;
}

.model-page .carousel-btn svg {
    width: 24px;
    height: 24px;
    color: #333;
}

/* ===== Highlighted Features ===== */
.model-page .highlighted-features {
    max-width: 900px;
    margin: 0 auto;
}

.model-page .highlighted-features hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 30px 0;
}

.model-page .features-label {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    text-align: center;
}

.model-page .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.model-page .feature-item {
    text-align: center;
    padding: 15px;
}

.model-page .feature-label {
    font-size: 12px;
    color: #666;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.model-page .feature-value {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.model-page .feature-value svg {
    color: #c00;
}

/* ===== Fuel Economy ===== */
.model-page .fuel-economy {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.model-page .fuel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.model-page .fuel-header svg {
    color: #c00;
}

.model-page .fuel-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.model-page .fuel-values {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 15px;
}

.model-page .fuel-item {
    text-align: center;
}

.model-page .fuel-label {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px;
}

.model-page .fuel-value {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.model-page .fuel-disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
}

.model-page .btn-build-price-lg {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #c00;
    color: #fff;
    border: none;
    padding: 16px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.model-page .btn-build-price-lg:hover {
    background: #a00;
    color: #fff;
    text-decoration: none;
}

/* ===== Features Section ===== */
.model-page .features-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.model-page .features-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.model-page .feature-tab {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.model-page .feature-tab:hover {
    color: #111;
}

.model-page .feature-tab.active {
    color: #c00;
}

.model-page .feature-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c00;
}

.model-page .features-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
}

.model-page .features-categories {
    display: flex;
    flex-direction: column;
}

.model-page .feature-category {
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.model-page .feature-category:last-child {
    border-bottom: none;
}

.model-page .feature-category .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    cursor: pointer;
}

.model-page .feature-category .category-header:hover {
    background: #f8f9fa;
}

.model-page .category-name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    letter-spacing: 0.3px;
}

.model-page .category-icon {
    margin: 0;
    flex-shrink: 0;
}

.model-page .category-icon svg {
    display: none;
}

.model-page .category-icon::before {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #333;
    line-height: 1;
}

.model-page .feature-category.expanded .category-icon::before {
    content: '−';
}

.model-page .feature-category .category-features {
    display: none;
    padding: 0 10px 20px;
}

.model-page .feature-category.expanded .category-features {
    display: block;
}

.model-page .feature-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    columns: 2;
    column-gap: 40px;
}

.model-page .feature-list li {
    font-size: 14px;
    color: #333;
    padding: 5px 0;
    break-inside: avoid;
}

/* ===== Gallery Section ===== */
.model-page .gallery-section {
    padding: 60px 0;
    background: #fff;
}

.model-page .gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.model-page .gallery-tab {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.model-page .gallery-tab:hover {
    color: #111;
}

.model-page .gallery-tab.active {
    color: #c00;
}

.model-page .gallery-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c00;
}

.model-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.model-page .gallery-item {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.model-page .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-page .gallery-item:hover img {
    transform: scale(1.05);
}

.model-page .no-gallery {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* ===== Inventory Section ===== */
.model-page .inventory-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.model-page .inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.model-page .inventory-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.model-page .view-all-link {
    color: #c00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.model-page .view-all-link:hover {
    color: #a00;
    text-decoration: underline;
}

.model-page .inventory-content {
    text-align: center;
}

.model-page .inventory-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px;
}

.model-page .btn-view-inventory {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.model-page .btn-view-inventory:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.model-page .no-inventory {
    text-align: center;
    padding: 60px 20px;
}

.model-page .no-inventory svg {
    color: #ccc;
    margin-bottom: 20px;
}

.model-page .no-inventory h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0 0 10px;
}

.model-page .no-inventory p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
}

.model-page .btn-contact {
    background: #c00;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.model-page .btn-contact:hover {
    background: #a00;
}

/* ===== Lightbox ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #c00;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* ===== Responsive Styles ===== */

/* Centering for stacked hero at lg breakpoint (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .model-page .hero-content {
        align-items: center;
        text-align: center;
        padding-right: 0;
    }
    
    .model-page .hero-text {
        max-width: 100%;
    }
    
    .model-page .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 1199px) {
    .model-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-page .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .model-page .hero-section {
        padding: 30px 0 40px;
    }
    
    .model-page .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .model-page .hero-title {
        font-size: 32px;
    }
    
    .model-page .hero-price .price-value {
        font-size: 28px;
    }
    
    .model-page .nav-model-info {
        display: none;
    }
    
    .model-page .nav-links {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    
    .model-page .trim-card {
        flex: 0 0 220px;
    }
    
    .model-page .fuel-values {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .model-page .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .model-page .btn-book,
    .model-page .btn-build {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .model-page .hero-image {
        max-height: 250px;
    }
    
    .model-page .section-title {
        font-size: 24px;
    }
    
    .model-page .nav-links {
        gap: 15px;
    }
    
    .model-page .nav-link {
        font-size: 12px;
    }
    
    .model-page .trim-card {
        flex: 0 0 260px;
    }
    
    .model-page .trim-nav-buttons {
        display: none;
    }
    
    .model-page .carousel-container {
        padding: 20px;
        min-height: 250px;
    }
    
    .model-page .carousel-image {
        max-height: 200px;
    }
    
    .model-page .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .model-page .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .model-page .feature-item {
        padding: 10px;
    }
    
    .model-page .feature-value {
        font-size: 13px;
    }
    
    .model-page .fuel-values {
        flex-direction: column;
        gap: 20px;
    }
    
    .model-page .features-tabs,
    .model-page .gallery-tabs {
        flex-wrap: wrap;
    }
    
    .model-page .feature-list {
        columns: 1;
    }
    
    .model-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-page .inventory-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .model-page .hero-year {
        font-size: 18px;
    }
    
    .model-page .hero-title {
        font-size: 26px;
    }
    
    .model-page .hero-trim {
        font-size: 16px;
    }
    
    .model-page .trim-card {
        flex: 0 0 calc(100vw - 60px);
    }
    
    .model-page .trim-name {
        font-size: 16px;
    }
    
    .model-page .trim-price {
        font-size: 20px;
    }
    
    .model-page .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .model-page .gallery-item {
        aspect-ratio: 16/9;
    }
}
/* ===== Modern Form Styling for Model Page Modals ===== */

/* Modal Container */
#mdContactUs .modal-dialog,
#mdTestDrive .modal-dialog {
    max-width: 520px !important;
    margin: 30px auto !important;
}

#mdContactUs .modal-content,
#mdTestDrive .modal-content {
    border: none !important;
    border-radius: 8px !important;
    overflow: visible !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-height: calc(100vh - 60px) !important;
    overflow-y: auto !important;
    padding: 0 !important;
}

/* Modal Header */
#mdContactUs .modal-header,
#mdTestDrive .modal-header {
    background: var(--primary-color, #eb0a1e) !important;
    padding: 16px 24px !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#mdContactUs .modal-header .modal-title,
#mdTestDrive .modal-header .modal-title {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    flex-grow: 1 !important;
    order: 1 !important;
}

#mdContactUs .modal-header .close,
#mdTestDrive .modal-header .close {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
    order: 2 !important;
}

#mdContactUs .modal-header .close:hover,
#mdTestDrive .modal-header .close:hover {
    opacity: 0.8 !important;
}

/* Modal Body */
#mdContactUs .modal-body,
#mdTestDrive .modal-body {
    padding: 24px !important;
    background: #fff !important;
}

/* Vehicle Info */
#mdContactUs #contactVehicleInfo,
#mdContactUs .mb-3:first-child,
#mdTestDrive #appointmentVehicleInfo,
#mdTestDrive .mb-3:first-child {
    background: #f8f9fa !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
    border-left: 4px solid var(--primary-color, #eb0a1e) !important;
}

#mdContactUs #contactVehicleInfo strong,
#mdContactUs .mb-3:first-child strong,
#mdTestDrive #appointmentVehicleInfo strong,
#mdTestDrive .mb-3:first-child strong {
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Form Labels */
#mdContactUs .form-group label,
#mdTestDrive .form-group label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #444 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.01em !important;
}

/* Form Inputs */
#mdContactUs .form-control,
#mdTestDrive .form-control {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1a1a1a !important;
    background-color: #fff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

#mdContactUs .form-control:focus,
#mdTestDrive .form-control:focus {
    border-color: var(--primary-color, #eb0a1e) !important;
    box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.1) !important;
    outline: none !important;
}

#mdContactUs .form-control::placeholder,
#mdTestDrive .form-control::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

#mdContactUs textarea.form-control,
#mdTestDrive textarea.form-control {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Select Dropdown */
#mdContactUs select.form-control,
#mdTestDrive select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
    padding-right: 40px !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 40rem !important;
}

/* Form Groups */
#mdContactUs .form-group,
#mdTestDrive .form-group {
    margin-bottom: 16px !important;
}

#mdContactUs .row,
#mdTestDrive .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

#mdContactUs .row > [class*="col-"],
#mdTestDrive .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Modal Footer */
#mdContactUs .modal-footer,
#mdTestDrive .modal-footer {
    padding: 16px 24px 16px 0 !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e5e7eb !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Footer Buttons */
#mdContactUs .modal-footer .btn,
#mdTestDrive .modal-footer .btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Hide any chevrons/arrows in buttons */
#mdContactUs .modal-footer .btn::after,
#mdContactUs .modal-footer .btn::before,
#mdContactUs .modal-footer .btn i,
#mdContactUs .modal-footer .btn svg,
#mdTestDrive .modal-footer .btn::after,
#mdTestDrive .modal-footer .btn::before,
#mdTestDrive .modal-footer .btn i,
#mdTestDrive .modal-footer .btn svg {
    display: none !important;
}

/* Send/Submit Button - Left side, larger */
#mdContactUs .modal-footer .btn-outlined-dark,
#mdContactUs .modal-footer .btn[type="submit"],
#mdTestDrive .modal-footer .btn-outlined-dark,
#mdTestDrive .modal-footer .btn[type="submit"] {
    background: var(--primary-color, #eb0a1e) !important;
    color: #fff !important;
    border: none !important;
    order: 1 !important;
    flex: 1 1 auto !important;
    max-width: calc(70% - 6px) !important;
    min-width: auto !important;
}

#mdContactUs .modal-footer .btn-outlined-dark:hover,
#mdContactUs .modal-footer .btn[type="submit"]:hover,
#mdTestDrive .modal-footer .btn-outlined-dark:hover,
#mdTestDrive .modal-footer .btn[type="submit"]:hover {
    opacity: 0.9 !important;
}

/* Close Button - Right side, smaller */
#mdContactUs .modal-footer .btn[data-dismiss="modal"],
#mdTestDrive .modal-footer .btn[data-dismiss="modal"] {
    background: #fff !important;
    color: #374151 !important;
    border: 1px solid #d0d5dd !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    max-width: calc(30% - 6px) !important;
    min-width: auto !important;
    width: calc(30% - 6px) !important;
}

#mdContactUs .modal-footer .btn[data-dismiss="modal"]:hover,
#mdTestDrive .modal-footer .btn[data-dismiss="modal"]:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    #mdContactUs .modal-dialog,
    #mdTestDrive .modal-dialog {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    #mdContactUs .modal-body,
    #mdTestDrive .modal-body {
        padding: 20px !important;
    }
    
    #mdContactUs .modal-footer,
    #mdTestDrive .modal-footer {
        padding: 12px 16px 12px 0 !important;
        flex-direction: row !important;
        gap: 10px !important;
    }
    
    #mdContactUs .modal-footer .btn,
    #mdTestDrive .modal-footer .btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}
