/* ============================================
   Owner Dashboard — Safari Vents Compact
   Matches /user/dashboard design language
   ============================================ */

/* ── Page Shell ── */
.od {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #2A2A2A;
    background: #f5f3ef;
    min-height: 100vh;
    padding: 1.25rem 1.5rem;
}

/* ── Welcome Banner ── */
.od-welcome {
    background: linear-gradient(135deg, #2A2A2A 0%, #3d3d3d 100%);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.od-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 0.125rem 0;
}
.od-subtitle {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.od-welcome-right { display: flex; gap: 0.5rem; }

/* ── Buttons ── */
.od-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.od-btn-primary { background: #C87941; color: #fff; }
.od-btn-primary:hover { background: #b36a35; color: #fff; text-decoration: none; }
.od-btn-outline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }
.od-btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }
.od-btn-ghost { background: transparent; color: #2A2A2A; border: 1px solid rgba(158,139,99,0.25); }
.od-btn-ghost:hover { border-color: #9E8B63; color: #9E8B63; text-decoration: none; }

/* ── Stat Cards ── */
.od-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.od-stat {
    background: #fff;
    border: 1px solid rgba(158, 139, 99, 0.12);
    border-radius: 14px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}
.od-stat:hover {
    box-shadow: 0 4px 16px rgba(42, 42, 42, 0.06);
    border-color: rgba(158, 139, 99, 0.25);
}
.od-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.od-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2A2A2A;
    line-height: 1;
}
.od-stat-label {
    font-size: 0.6875rem;
    color: #8a8177;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.125rem;
}
.od-icon-terracotta { background: rgba(200, 121, 65, 0.1); color: #C87941; }
.od-icon-teal { background: rgba(72, 140, 130, 0.1); color: #488C82; }
.od-icon-bronze { background: rgba(158, 139, 99, 0.1); color: #9E8B63; }
.od-icon-charcoal { background: rgba(42, 42, 42, 0.06); color: #2A2A2A; }
.od-icon-olive { background: rgba(128, 128, 48, 0.1); color: #6B7028; }

/* ── Cards ── */
.od-card {
    background: #fff;
    border: 1px solid rgba(158, 139, 99, 0.12);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.od-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid rgba(158, 139, 99, 0.1);
}
.od-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2A2A2A;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.od-card-title i { color: #9E8B63; font-size: 0.8125rem; }
.od-card-body { padding: 0; }
.od-link {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #C87941;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.od-link:hover { text-decoration: underline; color: #a8612f; }

/* ── Hotel Rows ── */
.od-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(158, 139, 99, 0.08);
    transition: background 0.15s ease;
}
.od-row:last-child { border-bottom: none; }
.od-row:hover { background: rgba(158, 139, 99, 0.04); }
.od-row-left {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    flex: 1;
}
.od-row-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2A2A2A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.od-row-meta {
    font-size: 0.6875rem;
    color: #8a8177;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.od-row-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

/* ── Badges ── */
.od-badge {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.125rem 0.4rem;
    border-radius: 4px;
    width: fit-content;
}
.od-badge-ok { background: rgba(72, 140, 130, 0.1); color: #488C82; }
.od-badge-warn { background: rgba(200, 121, 65, 0.1); color: #C87941; }
.od-badge-muted { background: rgba(42, 42, 42, 0.06); color: #8a8177; }

/* ── Booking Rows ── */
.od-bk-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid rgba(158, 139, 99, 0.08);
    transition: background 0.15s ease;
}
.od-bk-row:last-child { border-bottom: none; }
.od-bk-row:hover { background: rgba(158, 139, 99, 0.04); }
.od-bk-left {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    flex: 1;
    min-width: 0;
}
.od-bk-id {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2A2A2A;
}
.od-bk-meta {
    font-size: 0.625rem;
    color: #8a8177;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.od-bk-meta i { color: #9E8B63; font-size: 0.5625rem; }

/* ── Quick Action Stack ── */
.od-qa-stack { display: flex; flex-direction: column; gap: 0.5rem; }
.od-qa {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: #fff;
    border: 1px solid rgba(158, 139, 99, 0.08);
    border-radius: 10px;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    color: #2A2A2A;
}
.od-qa:hover {
    box-shadow: 0 4px 12px rgba(42, 42, 42, 0.06);
    border-color: rgba(158, 139, 99, 0.2);
    text-decoration: none;
    color: #2A2A2A;
}
.od-qa-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.od-qa-text { font-size: 0.75rem; font-weight: 600; flex: 1; }
.od-qa-arrow { font-size: 0.625rem; color: #c4b99a; }
.od-qa:hover .od-qa-arrow { color: #9E8B63; }

/* ── Tips ── */
.od-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.6875rem;
    color: #5a5450;
    line-height: 1.5;
}
.od-tip i {
    color: #488C82;
    font-size: 0.625rem;
    flex-shrink: 0;
    margin-top: 0.1875rem;
}

/* ── Empty States ── */
.od-empty {
    text-align: center;
    padding: 2rem 1rem;
}
.od-empty i { font-size: 2rem; color: #c4b99a; }
.od-empty-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-top: 0.5rem;
}
.od-empty-text {
    font-size: 0.6875rem;
    color: #8a8177;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}
.od-empty-sm {
    text-align: center;
    padding: 1.25rem 0.75rem;
}
.od-empty-sm i { font-size: 1.5rem; color: #c4b99a; }
.od-empty-sm p { font-size: 0.6875rem; color: #8a8177; margin: 0.375rem 0 0; }

/* ── Loading ── */
.od-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}
.od-loading i { font-size: 1.5rem; color: #c4b99a; animation: od-spin 1s linear infinite; }
.od-loading p { font-size: 0.75rem; color: #8a8177; margin-top: 0.5rem; }
@keyframes od-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 992px) {
    .od-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .od { padding: 0.75rem; }
    .od-welcome { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .od-stats { grid-template-columns: 1fr 1fr; }
    .od-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .od-row-right { margin-left: 0; }
}
