/* Styles of the integration area of the backoffice: Incoming reservations and API clients. Colours of the old
   planner: title bars #171E33, rows #E0E0FF / white, morning #E6E6FF, booked green #1BF259. */

.ir-count { font-weight: bold; }
.ir-grid .k-master-row, .ac-grid .k-master-row { cursor: pointer; }
.ir-source { display: flex; flex-wrap: wrap; gap: 18px; background: #EEEEFF; border: 1px solid #767880; padding: 4px 8px; margin-bottom: 8px; }
.ir-form, .ac-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ir-form label, .ac-form label { display: flex; flex-direction: column; gap: 2px; font-weight: bold; }
.ir-wide { grid-column: 1 / -1; }
.ir-title, .ac-title { margin-top: 10px; height: 26px; line-height: 26px; padding: 0 8px; color: #ffffff; font-weight: bold; }
.ir-table, .ac-table { width: 100%; border-collapse: separate; border-spacing: 1px; }
.ir-table th, .ac-table th { background: #B6C0FF; text-align: left; padding: 2px 4px; }
.ir-table td, .ac-table td { background: #E0E0FF; padding: 2px 4px; vertical-align: middle; }
.ir-table tr:nth-child(even) td, .ac-table tr:nth-child(even) td { background: #ffffff; }
.ir-number { width: 30px; text-align: right; }
.ir-date { white-space: nowrap; width: 130px; }
.ir-pax { width: 90px; }
.ir-trip { width: 380px; }
.ir-booked td { background: #C8E6C9 !important; }
.ir-booked-text { color: #1B5E20; font-weight: bold; }
.ir-none { color: #C02020; font-style: italic; cursor: help; }
.ir-decline { margin-top: 10px; }
.ir-decline label { display: flex; flex-direction: column; gap: 2px; font-weight: bold; }
.ir-problem, .ac-problem { white-space: pre-line; margin-top: 8px; }
.ir-buttons, .ac-buttons { margin-top: 12px; }

.ac-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ac-key { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.ac-key code { background: #EEEEFF; border: 1px solid #767880; padding: 2px 6px; }
.ac-secret { width: 300px; }
.ac-icon { width: 16px !important; height: 16px !important; }
.ac-hint { cursor: help; font-weight: normal; }
.ac-log { margin-top: 2px; }
.ac-key-warning { background: #FFD6D2; border: 1px solid #C0475D; color: #C02020; padding: 6px 10px; }
.ac-key-value input { font-family: Consolas, monospace; }

@media (max-width: 1000px) {
    .ir-form, .ac-form { grid-template-columns: 1fr; }
}

/* Web orders and Web products (the booking shop of the website). */
.wo-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wo-toolbar label { display: inline-flex; align-items: center; gap: 4px; font-weight: bold; }
.wo-grid .k-master-row, .wp-grid .k-master-row { cursor: pointer; }
.wo-guest th { text-align: left; white-space: nowrap; background: #EEEEFF; width: 140px; }
.wo-multiline { white-space: pre-line; }
.wo-money { text-align: right; white-space: nowrap; }
.wo-planner { padding: 4px 0 8px; }
.wo-notes { max-height: 160px; overflow-y: auto; border: 1px solid #D0D0F0; padding: 4px 6px; background: #FAFAFF; }
.wo-note { padding: 2px 0; border-bottom: 1px dotted #D0D0F0; white-space: pre-line; }
.wo-note-meta { color: #505070; font-size: 8.5pt; }
.wo-addnote label { display: flex; flex-direction: column; gap: 2px; font-weight: bold; margin-top: 8px; }
.wp-check { align-self: end; }
.wp-checks { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 4px 0 8px; }
.wp-rules td { vertical-align: middle; }
.wp-rule-buttons { white-space: nowrap; }
.wp-rule-add { display: flex; gap: 8px; margin: 6px 0; }
.wp-preview { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.wp-day { border: 1px solid #767880; padding: 2px 6px; font-size: 8.5pt; }
.wp-day-open { background: #E0FFE0; }
.wp-day-closed { background: #FFE0E0; }
