/* Bokun Cancellation Policies Widget */

.bokun-cancellation-policy-wrapper {
    padding: 20px 0;
}

.bokun-cancellation-policy-wrapper .bokun-cp-title {
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 1.5em;
}

/* Accordion Style */
.bokun-cp-style-accordion .bokun-cp-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.bokun-cp-style-accordion .bokun-cp-header {
    padding: 16px;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.bokun-cp-style-accordion .bokun-cp-header:hover {
    background: #f3f4f6;
}

.bokun-cp-style-accordion .bokun-cp-header i {
    transition: transform 0.2s ease;
}

.bokun-cp-style-accordion .bokun-cp-header i.active {
    transform: rotate(180deg);
}

.bokun-cp-style-accordion .bokun-cp-body {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

/* List Style */
.bokun-cp-style-list .bokun-cp-list-item {
    display: flex;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.bokun-cp-list-item:last-child {
    border-bottom: none;
}

.bokun-cp-number {
    min-width: 40px;
    width: 40px;
    height: 40px;
    background: #05bbc7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 16px;
}

.bokun-cp-content {
    flex: 1;
}

.bokun-cp-content .bokun-cp-title {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.bokun-cp-content .bokun-cp-desc {
    margin: 0;
    color: #6b7280;
    font-size: 0.95em;
}

/* Card Style */
.bokun-cp-style-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
}

.bokun-cp-card {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bokun-cp-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #05bbc7;
    transform: translateY(-2px);
}

.bokun-cp-card .bokun-cp-title {
    margin: 0 0 12px 0;
    font-size: 1.15em;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bokun-cp-card .bokun-cp-title::before {
    content: '✓';
    color: #05bbc7;
    font-weight: bold;
    font-size: 1.2em;
}

.bokun-cp-card .bokun-cp-desc {
    margin: 0;
    color: #4b5563;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Timeline Style */
.bokun-cp-style-timeline {
    position: relative;
    padding-left: 40px;
}

.bokun-cp-timeline-item {
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.bokun-cp-timeline-item:last-child {
    margin-bottom: 0;
}

.bokun-cp-timeline-dot {
    position: absolute;
    left: -40px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #05bbc7;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #05bbc7;
}

.bokun-cp-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 20px;
    width: 2px;
    height: calc(100% + 4px);
    background: #e5e7eb;
}

.bokun-cp-timeline-content .bokun-cp-title {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.bokun-cp-timeline-content .bokun-cp-desc {
    margin: 0;
    color: #6b7280;
    font-size: 0.95em;
}

/* Loading State */
.bokun-cp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6b7280;
    font-size: 16px;
    padding: 40px 20px;
}

.bokun-cp-loading i {
    font-size: 24px;
    color: #05bbc7;
}

/* Error State */
.bokun-cp-error {
    padding: 20px;
    background: #fee;
    color: #c00;
    border-radius: 4px;
    text-align: center;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .bokun-cp-style-cards {
        grid-template-columns: 1fr;
    }

    .bokun-cp-style-timeline {
        padding-left: 30px;
    }

    .bokun-cp-timeline-dot {
        left: -30px;
        width: 16px;
        height: 16px;
    }

    .bokun-cp-timeline-item:not(:last-child)::before {
        left: -25px;
    }

    .bokun-cp-list-item {
        flex-direction: column;
    }

    .bokun-cp-number {
        margin-right: 0;
        margin-bottom: 12px;
        width: 36px;
        height: 36px;
    }
}
