/* Tổng thể modal */
.modal-dialog.custom-modal {
    margin-top: 10vh;
    max-width: 95%;
    width: 95%;
}

.modal-content {
    border-radius: 20px;
    background: #ffffff;
    border: none;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Header */
.modal-header {
    padding: 25px 30px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #202e3b;
}

.btn-close {
    background-color: #f0f3f8 !important;
    border-radius: 50%;
    padding: 7px;
}

/* Summary box */
.modal-summary {
    border-radius: 18px !important;
    background: #f8fbff;
    border: 1px solid #e6edf7;
}

/* Input icon - discount */
.discount-input-wrapper {
    position: relative;
}

.discount-input-wrapper input {
    padding-left: 48px !important;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #cdd5df;
    background: #fdfdff;
    transition: 0.25s;
}

.discount-input-wrapper .discount-icon {
    position: absolute;
    top: 70%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #1d7bff;
    opacity: 0.85;
}

/* Hover + Focus input */
.discount-input-wrapper input:hover,
.modal-content input:hover,
.modal-content select:hover {
    border-color: #1d7bff;
}

.discount-input-wrapper input:focus,
.modal-content input:focus,
.modal-content select:focus {
    border-color: #1d7bff;
    box-shadow: 0 0 6px rgba(29,123,255,0.3);
}

/* Card package */
.package-card {
    border-radius: 18px !important;
    border: 1px solid #e5e9f2;
    transition: 0.25s;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: #1d7bff;
    box-shadow: 0 10px 25px rgba(29,123,255,0.1);
    background: #f8fbff;
}

/* Thông tin gói */
.package-card h6 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #1d1d1d;
}

.package-card ul li {
    font-size: 0.9rem;
    color: #4b4b4b;
}

/* Radio chọn gói */
.package-card .form-check-input {
    border-radius: 50%;
    transform: scale(1.1);
    cursor: pointer;
}

.package-card .form-check-input:checked {
    background-color: #1d7bff;
    border-color: #1d7bff;
}

/* Select + input chung */
.modal-dialog.modal-xl.custom-modal select.form-select,
.modal-dialog.modal-xl.custom-modal input.form-control {
    height: 50px;
    border-radius: 14px;
    border: 1px solid #d4dae3;
    background: #fdfdff;
    transition: 0.25s;
}

/* Nút thêm vào giỏ hàng */
button.btn.btn-warning {
    height: 52px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffc107, #ff9500);
    border: none;
    transition: 0.25s;
}

button.btn.btn-warning:hover {
    background: linear-gradient(90deg, #ffb300, #ff7b00);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,153,0,0.35);
}

/* Icon màu đồng nhất */
.modal-content i {
    color: #000000 !important;
    font-weight: 100;
}

/* Danh sách tóm tắt */
.modal-summary ul li {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #2c3e50;
}
.card.p-4.shadow-sm.modal-summary ul.list-unstyled.mb-4 {
    border-radius: 18px !important;
    border: 1px solid #e5e9f2;
    transition: 0.25s;
    padding: 20px;
}


.card.p-4.shadow-sm.modal-summary ul.list-unstyled.mb-4 {
    border-radius: 18px !important;
    border: 1.5px solid #d0d7e6;
    background: #f8fbff;
    padding: 24px 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.card.p-4.shadow-sm.modal-summary ul.list-unstyled.mb-4:hover {
    border-color: #4a90e2;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card.p-4.shadow-sm.modal-summary ul li {
    padding: 10px 0;
    font-size: 17px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.card.p-4.shadow-sm.modal-summary ul li strong {
    color: #111;
    font-weight: 600;
}

.card.p-4.shadow-sm.modal-summary ul li i {
    background: #e8f8f0;
    color: #28a745;
    padding: 8px;
    border-radius: 50%;
    font-size: 13px;
    margin-right: 10px;
}

.modal-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4c;
    align-items: center;
    gap: 6px;
    line-height: 26px;
}

.modal-summary-title i {
    color: #0d6efd;
    font-size: 18px;
}

.modal-summary-title span {
    color: #0d6efd;
    font-weight: 700;
}
.modal-summary-title i {
    background: #e8f0ff;
    color: #3f7df6 !important;
    padding: 10px;
    border-radius: 12px;
    font-size: 15px;
    margin-right: 10px;
    transition: 0.3s ease;
}


/* mobile style*/
@media only screen and (max-width: 768px) {

    .modal-summary-title {
        font-size: 18px;
        font-weight: 600;
        color: #1a2b4c;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-direction: column;
    }

    .card.p-4.shadow-sm.modal-summary ul li {
        padding: 10px 0;
        font-size: 15px;
        color: #2c3e50;
        display: flex;
        align-items: center;
    }
}

