/*--------------------------------------------------------------
# Settings Page Styles
--------------------------------------------------------------*/

.checkout-pageses {
    width: 100%;
    background: #fff;
    padding: 35px;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .12);
}

/* HEADER */
.checkout-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.checkout-header i {
    font-size: 22px;
    cursor: pointer;
}

.checkout-header h5 {
    margin-bottom: 5px;
    font-weight: 700;
}

/* CARD */
.checkout-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: .3s;
}

.checkout-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* BOOKING ROW (Used for settings options) */
.booking-row {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
}

.booking-row i {
    font-size: 30px;
    color: #3f51b5;
    width: 40px;
    text-align: center;
}

.row-text {
    flex: 1;
}

.row-text b {
    font-size: 16px;
    color: #1a202c;
}

.row-text small {
    color: #64748b;
}

/* DELETE ACCOUNT SECTION */
.coupon-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 5px 0;
    border-radius: 12px;
}

.delete-account-btn {
    background: #e53935;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: .3s;
    cursor: pointer;
}

.delete-account-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

/* POPUP / MODAL */
.coupon-popup {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.coupon-popup.active {
    display: flex;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.popup-box {
    position: relative;
    width: 100%;
    max-width: 530px;
    background: #fff;
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    animation: pop .4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

@keyframes pop {
    from {
        transform: scale(.85) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-header {
    position: relative !important;
    padding: 25px 30px !important;
    text-align: left !important;
    background: #374484 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}

.popup-header i {
    font-size: 28px !important;
    color: #ffd25d !important;
    margin: 0 !important;
    display: inline-block !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

.popup-header h4 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: -0.3px !important;
    text-align: left !important;
}

.popup-header span {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
    line-height: 1;
}

.popup-header span:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* MODAL CONTENT */
.popup-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.coupon-card {
    border: 1.5px solid #f1f5f9 !important;
    background: #fff !important;
    border-radius: 20px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    transition: 0.3s !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 5px !important;
}

.coupon-card:hover {
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.coupon-card h5 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 4px !important;
    text-align: left !important;
}

.coupon-card p {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* INPUTS */
.input-with-icon {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 0 20px;
    height: 60px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.input-with-icon i {
    color: #94a3b8;
    margin-right: 12px;
    font-size: 18px;
}

.premium-input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    font-size: 15px;
}

.info-alert {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SELECT */
#cars {
    padding: 8px 15px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    outline: none;
    background: #f8fafc;
    color: #334155;
    font-weight: 500;
}

/* INFO CARD */
.info-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-card strong {
    min-width: 60px;
    display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .checkout-pageses {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .checkout-pageses {
        padding: 20px;
        border-radius: 16px;
    }

    .checkout-card {
        padding: 15px 20px;
    }

    .coupon-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .delete-account-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .checkout-pageses {
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .checkout-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .popup-header {
        padding: 20px !important;
    }

    .popup-header h4 {
        font-size: 18px !important;
    }

    .popup-content {
        padding: 20px;
    }

    .coupon-card {
        padding: 15px !important;
    }

    .input-with-icon {
        height: 50px;
        padding: 0 15px;
    }

    .premium-input {
        font-size: 14px;
    }

    .booking-row i {
        font-size: 24px;
        width: 30px;
    }

    .row-text b {
        font-size: 14px;
    }

    .row-text small {
        font-size: 12px;
    }

    .info-card {
        padding: 15px !important;
    }

    .info-card div {
        font-size: 13px;
        flex-wrap: wrap;
    }
}