/* ============================================================
   S-PRESSO STAFF DASHBOARD — checkout.css v6
   Single row: dates left | room center | badge+btn right
============================================================ */

/* ============ CHECKOUT CARD ============ */
.checkout-card {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: 10px; padding: 10px 16px;
  margin-bottom: 6px; transition: border-color 0.15s, box-shadow 0.15s;
}
.checkout-card:hover  { border-color: var(--gold-600); box-shadow: 0 2px 8px rgba(160,122,34,0.1); }

/* Green tint when checked out (matches breakfast .bf-card.arrived) */
.checkout-card.is-done {
  background: linear-gradient(180deg, #fef9e7, #ffffff);
  border-color: #d4a72c;
}
.checkout-card.is-done:hover { border-color: #d4a72c; }

/* Icon-only checkout action button (matches breakfast .bf-action-btn) */
.checkout-action-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,58,95,0.10); color: var(--navy-800);
  transition: all 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.checkout-action-btn:hover  { transform: scale(1.08); background: rgba(30,58,95,0.20); }
.checkout-action-btn:active { transform: scale(0.95); }
.checkout-action-btn.done   { background: var(--navy-800); color: #fff; }

/* ============ SINGLE ROW LAYOUT ============ */
.checkout-main {
  display: flex; flex-direction: row;
  align-items: center; gap: 24px;
}

.co-dates-col { flex: 0 0 200px; }
.co-room-col  { flex: 1; text-align: center; }
.co-actions   {
  flex: 0 0 240px;
  display: flex; flex-direction: row;
  align-items: center; justify-content: flex-end;
  gap: 8px;
}

/* ============ LEFT — dates + nights + flags ============ */
.co-dates  { font-size: 0.84rem; font-weight: 600; color: var(--navy-800); }
.co-nights { font-size: 0.74rem; color: var(--gray-500); margin-top: 2px; }

.co-flags  { display: flex; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
.co-flag   {
  font-size: 0.67rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.co-flag-late  { background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; }
.co-flag-early { background: #ede9fe; color: #5b21b6; border: 1px solid #a78bfa; }
.co-flag-inspect { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.co-flag-block   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.co-flag-lastmin { background: #faf6ed; color: #78350f; border: 1px solid #a07a22; }
.co-flag-outwindow { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

/* ============ MIDDLE — room + guests ============ */
.co-room   { font-size: 1.3rem; font-weight: 800; color: var(--navy-800); line-height: 1; }
.co-guests { font-size: 0.78rem; color: var(--gray-500); margin-top: 3px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .checkout-main { flex-wrap: wrap; }
  .co-dates-col  { flex: 1 1 100%; }
  .co-room-col   { flex: 0 0 auto; text-align: left; }
  .co-actions    { flex: 1; justify-content: flex-end; }
}
