/* public/assets/css/service-addons.css */

/* ------------------ */
/* Inclusions box      */
/* ------------------ */
.addon-inclusions {
    border: 1px solid #4dd1ff;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

/* ------------------ */
/* Addon section       */
/* ------------------ */
.addon-section {
    margin-top: 5px;
}

.addon-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.addon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ------------------ */
/* Addon card          */
/* ------------------ */
.addon-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #e6f4ff;
    border-radius: 16px;
    padding: 12px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 153, 255, 0.15);
}

.addon-card.is-selected {
    border-color: #0a84ff;
    background: linear-gradient(135deg, #e8f6ff, #ffffff);
}

/* Left image */
.addon-left img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

/* Middle */
.addon-middle {
    flex: 1;
}

.addon-name {
    font-weight: 700;
    font-size: 15px;
}

.addon-rating {
    font-size: 13px;
    color: #f5a623;
    margin: 2px 0;
}

.addon-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.addon-price {
    font-size: 14px;
    font-weight: 600;
}

/* Right button */
.addon-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.addon-add-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #0a84ff;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}

.addon-card.is-selected .addon-add-btn {
    background: #ff3b30;
    color: #fff;
}

.addon-card.is-selected .addon-add-btn i {
    content: "";
}

/* ✅ red indicator */
.addon-selected-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3b30;
    display: none;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.18);
}

.addon-card.is-selected .addon-selected-dot {
    display: inline-block;
}

/* ------------------ */
/* Custom Addon Modal  */
/* ------------------ */
.custom-addon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-addon-modal.show {
    display: flex;
    opacity: 1;
}

.custom-addon-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 22px;
    border: 2px solid #4dd1ff;
    background: radial-gradient(1200px 500px at 80% -10%, rgba(0, 153, 255, 0.18), transparent 55%),
        radial-gradient(900px 450px at -10% 110%, rgba(0, 153, 255, 0.12), transparent 60%),
        #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-addon-modal-header {
    padding: 20px 24px 10px;
    border-bottom: 1px solid rgba(0, 153, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-addon-modal-header h5 {
    margin: 0;
    font-weight: bold;
}

.custom-addon-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #0a84ff;
    transition: 0.2s ease;
}

.custom-addon-modal-close:hover {
    background: rgba(0, 153, 255, 0.2);
    transform: rotate(90deg);
}

.custom-addon-modal-body {
    padding: 16px 24px;
    overflow-y: auto;
    flex: 1;
}

.custom-addon-modal-footer {
    padding: 12px 24px;
    border-top: 1px solid rgba(0, 153, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* option pills */
.addon-section-block {
    margin-bottom: 22px;
}

.addon-section-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.addon-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.addon-option-btn {
    border-radius: 14px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 13px;
    border: 2px solid #d8efff;
    background: #fff;
    color: #0a84ff;
    transition: 0.2s ease;
}

.addon-option-btn:hover {
    background: rgba(10, 132, 255, 0.08);
}

.addon-option-btn.active {
    background: linear-gradient(135deg, #0a84ff, #3fb9ff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(10, 132, 255, 0.25);
}

/* ------------------ */
/* City button (card)  */
/* ------------------ */
.city-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 16px;
    border: 2px solid #4dd1ff;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 26px rgba(10, 132, 255, 0.1);
    transition: 0.2s ease;
}

.city-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(10, 132, 255, 0.14);
}

.city-btn__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-badge {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.18), rgba(0, 153, 255, 0.06));
    border: 1px solid rgba(0, 153, 255, 0.22);
    color: #25cbff;
}

.city-btn__text {
    font-weight: 700;
    color: #00c2ff;
}

.city-btn__right {
    color: #0a84ff;
    opacity: 0.85;
}

/* ------------------ */
/* City modal shell    */
/* ------------------ */
.city-modal {
    border: 0;
    border-radius: 22px;
    border: 2px solid #4dd1ff;
    overflow: hidden;
    background: radial-gradient(1200px 500px at 80% -10%, rgba(0, 153, 255, 0.18), transparent 55%),
        radial-gradient(900px 450px at -10% 110%, rgba(0, 153, 255, 0.12), transparent 60%),
        #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

/* tiles */
.city-tile {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 6px;
    border-radius: 18px;
    transition: 0.18s ease;
    position: relative;
}

.city-tile:hover {
    background: rgba(0, 153, 255, 0.06);
    transform: translateY(-2px);
}

.city-tile__circle {
    width: 78px;
    height: 78px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    border: 2px solid rgb(102 199 255);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    color: #0a84ff;
    font-size: 26px;
}

.city-tile__name {
    display: block;
    text-align: center;
    font-weight: 800;
    color: #0b2540;
    font-size: 14px;
}

/* ✅ Premium Active (FIXED selectors) */
.city-tile.is-active {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.22);
    box-shadow: 0 10px 26px rgba(13, 110, 253, 0.18);
    transform: translateY(-2px);
}

.city-tile.is-active::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.22);
    pointer-events: none;
}

.city-tile.is-active .city-tile__circle {
    background: linear-gradient(135deg, #0d6efd, #4dabff);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.55);
    transform: scale(1.03);
    color: #fff;
}

.city-tile.is-active .city-tile__circle i {
    color: #fff !important;
}

.city-tile.is-active .city-tile__name {
    color: #0b5ed7;
    font-weight: 900;
}

/* ------------------ */
/* Pan India dropdown  */
/* ------------------ */
#panIndiaStep .form-select {
    border-radius: 16px;
    border: 2px solid #4dd1ff;
    box-shadow: 0 10px 26px rgba(10, 132, 255, 0.1);
    padding: 14px 16px;
    font-weight: 700;
    color: #0b2540;
    background-color: #fff;
}

#panIndiaStep .form-select:focus {
    border-color: #0a84ff;
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.18);
}

.state-tile {
    cursor: pointer;
}

.city-tile {
    width: max-content !important;
}

.state-tile img {
    pointer-events: none;
}