﻿.cb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cb-modal {
    background: #ffffff;
    width: 420px;
    max-width: 90%;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.cb-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

    .cb-icon img {
        width: 20px;
        height: 20px;
    }

.cb-header h3 {
    margin: 0;
    font-size: 17px;
    margin-top: -5px
}

.cb-header p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.cb-policy {
    background-color: #fef9c3;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.cb-policy-title {
    margin: 0 0 6px;
    font-weight: 600;
    color: #854d0e;
    font-size: 13px;
}

.cb-policy ul {
    margin: 0;
    padding-left: 16px;
    font-size: 12.5px;
    color: #854d0e;
}

.cb-reason-box {
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    margin-top: 8px;
}

    .cb-reason-box:focus-within {
        border: 2px solid #3b82f6;
        transition: border 0.1s ease-in-out;
    }


    .cb-reason-box textarea {
        width: 100%;
        min-height: 70px;
        border: none;
        outline: none;
        resize: none;
        font-size: 15px;
        font-family: inherit;
    }

.cb-summary {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13.5px;
}

.cb-row {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    font-weight: 350;
    padding: 6px 0;
}

.cb-fee {
    color: #dc2626;
}

.cb-refund-row {
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
    padding-top: 8px;
    font-weight: 600;
}

.cb-refund {
    color: #16a34a;
}

.cb-actions {
    display: flex;
    gap: 10px;
}

.cb-keep {
    flex: 1;
    height: 40px;
    padding: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 530;
    font-size: 14px;
}

    .cb-keep:hover {
        background: #eeeeee;
        transition: background 0.1s ease-in-out;
    }

.cb-confirm {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #dc2626;
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 530;
    font-size: 14px;
}

    .cb-confirm:hover {
        background-color: #b91c1c;
        transition: background 0.1s ease-in-out;
    }

.reason {
    font-size: 14px;
    margin-left: 3px;
    margin-bottom: 5px;
}

#cancelBookingModalContent {
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 18px;
}
