/* Container */
.car-service-wrapper {
    font-family: sans-serif;
}
.car-service-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Nút */
.cs-btn {
    padding: 10px 20px;
    border: 1px solid #d0d0d0;
    background: #fff;
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}
.cs-btn:hover {
    border-color: #c00;
    color: #c00;
}
.cs-btn-hotline {
    background: #c00;
    color: #fff;
    border-color: #c00;
}
.cs-btn-hotline:hover {
    background: #a00;
    color: #fff;
}

/* Modal Overlay */
.cs-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.cs-modal.show {
    display: flex;
}

/* Modal Content */
.cs-modal-content {
    background-color: #fff;
    padding: 0;
    width: 95%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: csFadeIn 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

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

.cs-close {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.cs-close:hover { 
    color: #000;
    background: #f0f0f0;
}

.cs-modal-content h3 {
    text-align: center;
    color: #000;
    border-bottom: 2px solid #c00;
    margin: 0 auto 20px;
    padding: 20px 20px 10px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Form & List */
.cs-form-group-row {
    padding: 0 20px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cs-form-group-row label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.cs-form-group-row select {
    padding: 8px 12px;
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.cs-form-group-row select:focus {
    border-color: #c00;
}

.cs-calc-list {
    padding: 0 20px 20px;
}
.cs-calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.cs-bold { 
    font-weight: bold;
    color: #000;
}
.cs-calc-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    color: #c00;
    font-weight: bold;
    font-size: 18px;
}

/* Finance Form */
.cs-finance-form {
    padding: 0 20px 20px;
}
.cs-form-group {
    margin-bottom: 15px;
}
.cs-form-group-c{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cs-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.cs-price-display {
    display: inline-block;
    font-size: 18px;
    color: #c00;
}
.cs-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
    overflow: hidden;
}
.cs-input-wrapper:focus-within {
    border-color: #c00;
}
.cs-input-money {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: transparent;
}
.cs-input-money::placeholder {
    color: #999;
    font-weight: 400;
}
.cs-input-unit {
    padding: 12px 15px;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    background: #f5f5f5;
    border-left: 1px solid #ddd;
    white-space: nowrap;
}
.cs-note {
    padding: 0 20px 15px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}
.cs-note p {
    margin: 0;
}

/* CTA Button */
.cs-modal-cta {
    display: block;
    background: #c00;
    color: #fff;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: background 0.3s;
    font-size: 15px;
}
.cs-modal-cta:hover {
    background: #a00;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cs-modal-content {
        width: 98%;
        max-width: none;
        margin: 10px;
    }
    
    .cs-modal-content h3 {
        font-size: 16px;
        padding: 15px 15px 8px;
    }
    
    .cs-form-group-row,
    .cs-calc-list,
    .cs-finance-form,
    .cs-note {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .cs-calc-row {
        font-size: 13px;
    }
    
    .cs-calc-row.total {
        font-size: 16px;
    }
    
    .cs-input-money {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .cs-input-unit {
        padding: 10px 12px;
        font-size: 13px;
    }
}