/* Car Detail Page Styles - Clean CSS Approach */

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Base */
.car-detail-section {
    padding: 40px 0;
}

/* Icon Boxes Section */
.icon-boxes-section {
    background-color: #fff;
}

.icon-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.icon-box {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.icon-box:hover {
    background-color: #eeeeee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.icon-box-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-icon i {
    font-size: 24px;
    color: #1280DF;
}

.icon-box-content {
    flex: 1;
}

.icon-box-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.icon-box-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Main Details Section */
.main-details-section {
    background-color: #fff;
}

.main-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-details-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-details-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Price Box */
.price-box-mobile {
    display: none;
}

.price-box {
    background: linear-gradient(135deg, #1280DF 0%, #0d6bc2 100%);
    border-radius: 12px;
    padding: 25px 30px;
    color: white;
    box-shadow: 0 4px 15px rgba(18, 128, 223, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 128, 223, 0.4);
}

.price-box-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-period {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

.price-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price-note-label {
    font-size: 14px;
    opacity: 0.9;
}

.price-note-value {
    font-size: 18px;
    font-weight: 600;
}

.price-original {
    font-size: 18px;
    text-decoration: line-through;
    opacity: 0.8;
}

/* Configure Offer Panel */
.configure-offer-panel {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.configure-offer-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #1280DF;
}

.offer-type-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.offer-type-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-type-btn:hover {
    border-color: #1280DF;
    color: #1280DF;
}

.offer-type-btn.active {
    background: #1280DF;
    border-color: #1280DF;
    color: #fff;
}

.offer-config-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.config-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.config-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.config-select:hover {
    border-color: #1280DF;
}

.config-select:focus {
    outline: none;
    border-color: #1280DF;
    box-shadow: 0 0 0 3px rgba(18, 128, 223, 0.1);
}

.calculated-price {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 25px;
}

.price-display {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.price-display strong {
    color: #1280DF;
}

.price-note {
    font-size: 14px;
    color: #666;
}

.included-services {
    margin-bottom: 25px;
}

.services-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.services-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1280DF;
    font-weight: bold;
}

.request-consultation-btn {
    width: 100%;
    padding: 16px 20px;
    background: #1280DF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-consultation-btn:hover {
    background: #0d6bc2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 128, 223, 0.3);
}

/* Consultation Form Updates */
.consultation-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #1280DF;
    box-shadow: 0 0 0 3px rgba(18, 128, 223, 0.1);
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.contact-form .checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.contact-form .privacy-link {
    color: #ff6b35;
    text-decoration: underline;
}

.contact-form .submit-button {
    width: 100%;
    padding: 16px 20px;
    background: #1280DF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .submit-button:hover:not(:disabled) {
    background: #0d6bc2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 128, 223, 0.3);
}

.contact-form .submit-button:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.contact-form .error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}

.contact-form .alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.contact-form .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Car Title */
.car-title-section {
    margin-bottom: 20px;
}

.car-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.car-date {
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Gallery */
.car-gallery {
    margin-bottom: 20px;
}

.gallery-main {
    position: relative;
    margin-bottom: 15px;
}

.gallery-slide {
    display: none;
    position: relative;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    max-height: 600px;
    object-fit: contain;
    background-color: #f5f5f5;
}

.gallery-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #1280DF;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
}

.thumbnail {
    flex: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border 0.3s;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: #1280DF;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Car Actions */
.car-actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.action-btn:hover {
    color: #1280DF;
}

.action-delimiter {
    width: 1px;
    height: 20px;
    background-color: #ddd;
    margin: 0 10px;
}

/* Seller Info */
.seller-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.seller-avatar {
    width: 50px;
    height: 50px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
}

.seller-details {
    flex: 1;
}

.seller-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.seller-label {
    font-size: 14px;
    color: #666;
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-info i {
    color: #1280DF;
    font-size: 20px;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-number {
    font-size: 16px;
    color: #333;
}

.show-number-btn {
    background: none;
    border: none;
    color: #1280DF;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    padding: 0;
}

.message-info {
    padding: 0;
    background-color: transparent;
}

.message-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #1280DF 0%, #0d6bc2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(18, 128, 223, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.message-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.message-btn:hover::before {
    width: 300px;
    height: 300px;
}

.message-btn:hover {
    background: linear-gradient(135deg, #0d6bc2 0%, #0a5a9e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 128, 223, 0.4);
}

.message-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(18, 128, 223, 0.3);
}

.message-btn i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.message-btn span {
    position: relative;
    z-index: 1;
}

/* MPG Info */
.mpg-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.mpg-item {
    text-align: center;
}

.mpg-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.mpg-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.mpg-icon {
    font-size: 24px;
    color: #1280DF;
}

/* Attributes Bar */
.attributes-bar-section {
    background-color: #1280DF;
    padding: 20px 0;
}

.attributes-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.attribute-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    color: white;
    padding: 15px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.attribute-item:last-child {
    border-right: none;
}

.attribute-item i {
    font-size: 25px;
    margin-bottom: 8px;
    display: block;
}

.attribute-label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 5px;
}

.attribute-value {
    font-size: 14px;
    font-weight: 700;
}

/* Section Grid (for sidebar + content layout) */
.section-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.section-sidebar {
    /* Sidebar styles */
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.section-title-center {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0 0 20px 0;
}

.section-content {
    /* Content styles */
}

/* Summary List */
.summary-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-label {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-label i {
    color: #1280DF;
}

.summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Highlights Gallery */
.highlights-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight-item {
    border-radius: 8px;
    overflow: hidden;
}

.highlight-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Features List */
.features-group-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.features-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.features-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.features-items li i {
    color: #1280DF;
}

/* Overview Content */
.overview-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Location Content */
.location-content {
    font-size: 16px;
    color: #333;
}

/* Calculator */
.calculator-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-input-group label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.calc-input-group .required {
    color: #1280DF;
}

.calc-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.calc-button {
    padding: 10px 20px;
    background-color: #1280DF;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
}

.calc-button:hover {
    background-color: #0f6bb8;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.calc-result-item {
    text-align: center;
}

.calc-result-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.calc-result-value {
    font-size: 20px;
    font-weight: 700;
    color: #1280DF;
}

/* Contact Form */
.seller-info-form {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.checkbox-label a {
    color: #1280DF;
}

.submit-button {
    padding: 15px 30px;
    background-color: #1280DF;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #0f6bb8;
}

/* Related Cars */
.related-cars-section {
    background-color: #f8f9fa;
}

.related-cars-header {
    margin-bottom: 30px;
}

.related-cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-car-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.car-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.car-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #1280DF;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.car-card-content {
    padding: 15px;
}

.car-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.car-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #1280DF;
}

/* Quality Section */
.quality-section {
    background-color: #f8f9fa;
}

.quality-description {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quality-feature {
    text-align: center;
}

.quality-feature i {
    font-size: 32px;
    color: #1280DF;
    margin-bottom: 15px;
}

.quality-feature p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-details-grid {
        grid-template-columns: 1fr;
    }
    
    .price-box-mobile {
        display: block;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .icon-boxes-grid {
        grid-template-columns: 1fr;
    }
    
    .icon-boxes-section {
        display: none;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .summary-list {
        grid-template-columns: 1fr;
    }
    
    .highlights-gallery {
        grid-template-columns: 1fr;
    }
    
    .features-items {
        grid-template-columns: 1fr;
    }
    
    .related-cars-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-features {
        grid-template-columns: 1fr;
    }
    
    .attributes-bar {
        flex-direction: column;
    }
    
    .attribute-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .attribute-item:last-child {
        border-bottom: none;
    }
}

/* Success Popup Styles */
.inquiry-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.inquiry-success-popup {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.inquiry-success-icon {
    width: 80px;
    height: 80px;
    background: #1280DF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    animation: scaleIn 0.3s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.inquiry-success-popup h3 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.inquiry-success-popup p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.inquiry-success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.inquiry-download-btn {
    background: #1280DF;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.inquiry-download-btn:hover {
    background: #0f6bb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 128, 223, 0.3);
}

.inquiry-download-btn i {
    font-size: 18px;
}

.inquiry-close-btn {
    background: #f5f5f5;
    color: #1a3a5c;
    padding: 12px 30px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.inquiry-close-btn:hover {
    background: #e8e8e8;
    border-color: #bbb;
}

@media (max-width: 768px) {
    .inquiry-success-popup {
        padding: 30px 20px;
    }
    
    .inquiry-success-popup h3 {
        font-size: 20px;
    }
    
    .inquiry-success-actions {
        flex-direction: column;
    }
    
    .inquiry-download-btn,
    .inquiry-close-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Optionals Section - Enhanced Styles */
.optionals-section {
    background-color: #f8f9fa;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
}

.optionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.optional-category-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.optional-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #1280DF;
}

.optional-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.optional-category-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.optional-category-title i {
    color: #1280DF;
    font-size: 16px;
}

.optional-count {
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.optionals-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.optional-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.optional-item:hover {
    background: #e8f4fd;
    transform: translateX(4px);
}

.optional-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optional-icon i {
    color: #1280DF;
    font-size: 16px;
}

.optional-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* Optional selectable (checkbox + prezzo) */
.optional-item-selectable {
    cursor: pointer;
}
.optional-item-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    cursor: pointer;
    width: 100%;
}
.optional-item-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #1280DF;
}
.optional-item-label .optional-name {
    flex: 1;
    min-width: 0;
}
.optional-price {
    font-size: 13px;
    color: #1280DF;
    font-weight: 600;
    white-space: nowrap;
}
.optional-price-period {
    font-weight: 400;
    color: #666;
    font-size: 12px;
}

/* DataTable-like sections (PrimeReact-inspired) */
.datatable-section {
    background-color: #f8f9fa;
}

.datatable-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.datatable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.datatable thead {
    background: #f3f4f6;
}

.datatable thead th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.datatable tbody tr.datatable-row {
    background: #fff;
    transition: background-color 0.15s ease;
}

.datatable tbody tr.datatable-row:hover {
    background: #f9fafb;
}

.datatable tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.datatable-expander-cell {
    text-align: center;
    width: 40px;
}

.datatable-expander {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    border-radius: 999px;
    color: #6b7280;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.datatable-expander i {
    font-size: 12px;
}

.datatable-expander:hover {
    background-color: #e5f0ff;
    color: #1d4ed8;
}

.datatable-expander[aria-expanded="true"] {
    transform: rotate(90deg);
    color: #1d4ed8;
}

.datatable-expansion-row {
    display: none;
    background: #f9fafb;
}

.datatable-expansion-row td {
    border-top: none;
}

.datatable-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.datatable-items-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.datatable-items-list i {
    color: #16a34a;
}

@media (max-width: 768px) {
    .datatable-wrapper {
        border-radius: 8px;
    }

    .datatable thead {
        display: table-header-group;
    }

    .datatable th,
    .datatable td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Responsive for Optionals */
@media (max-width: 768px) {
    .optionals-grid {
        grid-template-columns: 1fr;
    }
    
    .optional-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .optional-count {
        align-self: flex-end;
    }
}
