.kr-card {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    padding: 24px;
}

.kr-booking-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.kr-booking-form p {
    margin: 0 0 16px;
}

.kr-booking-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.kr-booking-form input,
.kr-booking-form select,
.kr-booking-form textarea {
    border: 1px solid #c7d1db;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 12px 14px;
    width: 100%;
}

.kr-booking-form button {
    background: #0f6cbd;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 18px;
}

.kr-booking-form button:hover {
    background: #0b5aa0;
}

.kr-field-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kr-kayak-list {
    display: grid;
    gap: 16px;
}

.kr-kayak-catalog {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.kr-kayak-catalog-item h3 {
    margin: 0 0 10px;
}

.kr-kayak-item {
    border: 1px solid #d9e1ea;
    border-radius: 14px;
    padding: 18px;
}

.kr-kayak-catalog-item-body {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: 240px minmax(0, 1fr);
}

.kr-kayak-thumb {
    width: 100%;
}

.kr-kayak-thumb img {
    border-radius: 12px;
    display: block;
    height: 180px;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.kr-kayak-thumb-placeholder {
    align-items: center;
    background: #f2f4f7;
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
    color: #667085;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    height: 180px;
    justify-content: center;
}

.kr-kayak-details {
    min-width: 0;
}

.kr-kayak-summary {
    margin-bottom: 10px;
}

.kr-kayak-detail-toggle {
    margin-bottom: 10px;
}

.kr-kayak-detail-toggle summary {
    color: #0f6cbd;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 6px;
}

.kr-kayak-meta {
    color: #1d2939;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding-left: 18px;
}

.kr-kayak-meta li {
    margin-bottom: 4px;
}

@media (max-width: 782px) {
    .kr-kayak-catalog-item-body {
        grid-template-columns: 1fr;
    }
}

.kr-notice {
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
}

#kr-availability-feedback {
    display: none;
}

.kr-availability-help {
    color: #475467;
    margin-bottom: 10px;
}

.kr-notice-success {
    background: #ecfdf3;
    color: #027a48;
}

.kr-notice-error {
    background: #fef3f2;
    color: #b42318;
}

.kr-admin-wrap .kr-reservations-table td {
    vertical-align: top;
}

.kr-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
}

.kr-status-pending {
    background: #fff7e6;
    color: #b26a00;
}

.kr-status-confirmed,
.kr-status-approved {
    background: #ecfdf3;
    color: #027a48;
}

.kr-status-cancelled {
    background: #fef3f2;
    color: #b42318;
}

.kr-choose-kayak {
    background: #0f6cbd;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    margin-top: 10px;
    padding: 10px 14px;
}

.kr-choose-kayak:hover {
    background: #0b5aa0;
}

.kr-manage-actions {
    display: flex;
    gap: 10px;
}

.kr-booking-form .kr-danger-button {
    background: #b42318;
}

.kr-booking-form .kr-danger-button:hover {
    background: #912018;
}

.kr-calendar-wrap {
    overflow-x: auto;
    width: 100%;
}

.kr-calendar-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.kr-calendar-header h3 {
    margin: 0;
}

.kr-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
}

.kr-calendar-weekday {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    font-weight: 700;
    min-width: 0;
    padding: 10px;
    text-align: center;
}

.kr-calendar-day {
    border: 1px solid #e4e7ec;
    min-height: 120px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 8px;
}

.kr-calendar-day-outside {
    background: #f8fafc;
    opacity: 0.75;
}

.kr-calendar-day-number {
    color: #101828;
    font-weight: 700;
    margin-bottom: 8px;
}

.kr-calendar-events {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kr-calendar-events li {
    background: #eff8ff;
    border-left: 3px solid #0f6cbd;
    border-radius: 8px;
    font-size: 12px;
    overflow-wrap: anywhere;
    padding: 8px;
}

@media (max-width: 782px) {
    .kr-calendar-header {
        align-items: stretch;
        flex-direction: column;
    }

    .kr-calendar-grid {
        font-size: 12px;
    }

    .kr-calendar-day {
        min-height: 96px;
        padding: 6px;
    }

    .kr-calendar-events {
        gap: 6px;
    }

    .kr-calendar-events li {
        font-size: 11px;
        padding: 6px;
    }
}

.kr-gantt-wrap {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    width: 100%;
}

.kr-gantt-scroll {
    min-width: 0;
    width: 100%;
}

.kr-gantt-header,
.kr-gantt-row {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
    width: 100%;
}

.kr-gantt-header {
    border-bottom: 1px solid #e4e7ec;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.kr-gantt-kayak-col {
    align-items: center;
    display: flex;
    min-width: 0;
    overflow-wrap: anywhere;
}

.kr-gantt-days {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.kr-gantt-days span {
    color: #667085;
    font-size: 10px;
    text-align: center;
}

.kr-gantt-row {
    border-bottom: 1px solid #f2f4f7;
    padding: 8px 0;
}

.kr-gantt-timeline-col {
    background-image: linear-gradient(to right, rgba(16, 24, 40, 0.06) 1px, transparent 1px);
    background-size: calc(100% / 7) 100%;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    min-width: 0;
    position: relative;
}

.kr-gantt-bar {
    background: #0f6cbd;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    line-height: 1.2;
    overflow: hidden;
    padding: 4px 6px;
    position: absolute;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kr-gantt-modal {
    inset: 0;
    position: fixed;
    z-index: 999999;
}

.kr-gantt-modal-backdrop {
    background: rgba(16, 24, 40, 0.55);
    inset: 0;
    position: absolute;
}

.kr-gantt-modal-dialog {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.3);
    left: 50%;
    max-height: 80vh;
    max-width: 540px;
    overflow: auto;
    padding: 18px 18px 14px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 24px);
}

.kr-gantt-modal-close {
    background: transparent;
    border: 0;
    color: #344054;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 10px;
}

.kr-gantt-modal-title {
    margin: 0 28px 12px 0;
}

.kr-gantt-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kr-gantt-modal-list li {
    border-top: 1px solid #eaecf0;
    font-size: 14px;
    padding: 7px 0;
}

@media (max-width: 782px) {
    .kr-gantt-header,
    .kr-gantt-row {
        gap: 6px;
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .kr-gantt-days span,
    .kr-gantt-bar {
        font-size: 9px;
    }

    .kr-gantt-bar {
        padding: 3px 5px;
    }
}

/* ── Contact form ─────────────────────────────────────────── */
.kr-contact-form-wrap {
    max-width: 560px;
}

.kr-contact-form .kr-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 16px;
}

.kr-contact-form label {
    font-size: 14px;
    font-weight: 600;
}

.kr-contact-form label span {
    color: #b42318;
}

.kr-contact-form input[type="text"],
.kr-contact-form input[type="email"],
.kr-contact-form input[type="tel"],
.kr-contact-form textarea {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
}

.kr-contact-form textarea {
    resize: vertical;
}

.kr-notice--success {
    background: #ecfdf3;
    color: #027a48;
}

.kr-notice--error {
    background: #fef3f2;
    color: #b42318;
}
