/* IWD CI 2023; typography and surfaces shared with the Pimcore website. */
:root {
    --iwd-yellow: #e6ce35;
    --iwd-brown: #804e49;
    --iwd-green: #3a6856;
    --iwd-mint: #86baa1;
    --iwd-ink: #18211d;
    --iwd-paper: #f7f5ee;
    --iwd-line: rgba(24, 33, 29, .25);
    --iwd-serif: Georgia, 'Times New Roman', serif;
    /* Compatibility with the shared component stylesheet. */
    --casuvera-navy: var(--iwd-ink);
    --casuvera-navy-deep: #284c3e;
    --casuvera-teal: var(--iwd-green);
    --casuvera-teal-dark: #284c3e;
    --casuvera-teal-soft: #dfece5;
    --casuvera-bg: var(--iwd-paper);
    --casuvera-border: var(--iwd-line);
    --casuvera-text: var(--iwd-ink);
    --casuvera-muted: #58645d;
    --casuvera-gray: #58645d;
    --casuvera-danger: #a4382f;
    --casuvera-warning: var(--iwd-yellow);
    --casuvera-success: var(--iwd-green);
    --casuvera-shadow: none;
    --casuvera-radius: 0;
    --bs-primary: var(--iwd-green);
    --bs-primary-rgb: 58, 104, 86;
    --bs-secondary: var(--iwd-brown);
    --bs-secondary-rgb: 128, 78, 73;
    --bs-success-rgb: 58, 104, 86;
    --bs-warning-rgb: 230, 206, 53;
    --bs-danger-rgb: 164, 56, 47;
    --bs-body-font-family: Arial, Helvetica, sans-serif;
    --bs-body-bg: var(--iwd-paper);
    --bs-body-color: var(--iwd-ink);
    --bs-secondary-color: #58645d;
    --bs-link-color: var(--iwd-green);
    --bs-link-color-rgb: 58, 104, 86;
    --bs-link-hover-color: #284c3e;
    --bs-link-hover-color-rgb: 40, 76, 62;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
}
body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; }
body { background: var(--iwd-paper); line-height: 1.6; }
h1, h2, h3, .card-title { font-family: var(--iwd-serif); font-weight: 400; letter-spacing: -.035em; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--iwd-green); outline-offset: 3px; }
.app-sidebar :focus-visible, .auth-brand-panel :focus-visible { outline-color: var(--iwd-yellow); }
.app-sidebar { padding: 22px 14px; background: var(--iwd-green); box-shadow: none; overflow-y: auto; }
.office-brand { display: block; padding: 16px 20px 30px; color: #fff; }
.office-brand:hover { color: var(--iwd-yellow); }
.office-logo { display: block; width: 185px; height: auto; object-fit: contain; margin: 0 auto }
.office-brand span { display: block; margin-top: 5px; color: #dfece5; font-size: 12px; overflow-wrap: anywhere; }
.office-brand .office-brand-name { margin-top: 18px; color: inherit; font-family: var(--iwd-serif); font-size: 36px; line-height: 1.1; letter-spacing: -.04em; }
.office-nav { display: flex; align-items: center; gap: 13px; margin: 4px 0; padding: 13px 18px; border-left: 3px solid transparent; color: #fff; }
.office-nav svg { flex-shrink: 0; }
.office-nav:hover { color: #fff; background: rgba(255,255,255,.1); }
.office-nav.active { border-left-color: var(--iwd-yellow); background: var(--iwd-yellow); color: var(--iwd-ink); font-weight: 700; }
.office-sidebar-note { position: static; margin-top: auto; padding: 24px 18px 0; color: #dfece5; font-size: 11px; }
.app-topbar { background: var(--iwd-paper); border-bottom: 1px solid var(--iwd-line); backdrop-filter: none; }
.office-topbar { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 22px 34px; }
.office-topbar h1 { margin: 4px 0 0; font-size: 30px; }
.office-topbar small, .office-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.office-account { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.office-menu-toggle { display: none; }
.office-intro { margin-bottom: 30px; padding: 12px 0 24px; border-bottom: 1px solid var(--iwd-line); }
.office-intro h2 { margin: 14px 0; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; }
.office-intro p { margin-bottom: 0; color: var(--casuvera-muted); }
.office-eyebrow { color: var(--iwd-brown); }
.card { border-radius: 0; box-shadow: none; }
.card-title { font-size: 24px; }
.office-stat { border-top: 4px solid var(--iwd-green); }
.office-stat strong { display: block; color: var(--iwd-green); font-family: var(--iwd-serif); font-size: 54px; font-weight: 400; line-height: 1.2; font-variant-numeric: tabular-nums; }
.office-stat span { display: block; margin-top: 14px; color: var(--casuvera-muted); font-size: 12px; }
.office-stat p { margin-bottom: 12px; font-size: 14px; }
.row > :nth-child(2) > .office-stat { border-top-color: var(--iwd-yellow); }
.row > :nth-child(3) > .office-stat { border-top-color: var(--iwd-brown); }
.btn, .badge, .alert, .form-control, .form-select, .auth-card, .activity-batch { border-radius: 0; }
.btn { font-weight: 700; }
.btn-primary { --bs-btn-color: var(--iwd-ink); --bs-btn-hover-color: var(--iwd-ink); --bs-btn-active-color: var(--iwd-ink); --bs-btn-active-bg: #d5bd24; --bs-btn-active-border-color: #d5bd24; --bs-btn-disabled-color: var(--iwd-ink); --bs-btn-disabled-bg: var(--iwd-yellow); --bs-btn-disabled-border-color: var(--iwd-yellow); color: var(--iwd-ink); border-color: var(--iwd-yellow); background: var(--iwd-yellow); box-shadow: none; }
.btn-primary:hover, .btn-primary:focus { color: var(--iwd-ink); border-color: #d5bd24; background: #d5bd24; }
.btn-outline-primary { --bs-btn-active-bg: var(--iwd-green); --bs-btn-active-border-color: var(--iwd-green); color: var(--iwd-green); border-color: var(--iwd-green); }
.btn-outline-primary:hover { color: #fff; background: var(--iwd-green); border-color: var(--iwd-green); }
.btn-outline-secondary { --bs-btn-active-bg: var(--iwd-ink); --bs-btn-active-border-color: var(--iwd-ink); color: var(--iwd-ink); border-color: var(--iwd-line); background: transparent; }
.btn-outline-secondary:hover, .btn-outline-secondary:focus-visible { color: #fff; border-color: var(--iwd-ink); background: var(--iwd-ink); }
.btn-link { --bs-btn-color: var(--iwd-green); --bs-btn-hover-color: #284c3e; }
.form-control, .form-select { border-color: var(--iwd-line); }
.form-control::placeholder { color: #68746c; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--iwd-green); box-shadow: 0 0 0 3px rgba(58,104,86,.17); }
.form-check-input:checked { background-color: var(--iwd-green); border-color: var(--iwd-green); }
.table { --bs-table-color: var(--iwd-ink); --bs-table-striped-bg: #f7f5ee; --bs-table-hover-bg: #dfece5; }
.table thead th { color: var(--iwd-green); background: #dfece5; }
.table tbody tr:hover { background: #f7f5ee; }
.page-link { --bs-pagination-color: var(--iwd-green); --bs-pagination-hover-color: var(--iwd-ink); --bs-pagination-focus-color: var(--iwd-green); --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(58,104,86,.17); }
.pagination { --bs-pagination-active-bg: var(--iwd-green); --bs-pagination-active-border-color: var(--iwd-green); --bs-pagination-border-radius: 0; }
.status-active, .status-approved, .alert-success { color: #284c3e; background: #dfece5; border-color: var(--iwd-mint); }
.status-pending, .alert-warning { color: #514711; background: #f4eaa7; border-color: var(--iwd-yellow); }
.status-neutral, .alert-info { color: #583530; background: #eadbd6; border-color: #c8aaa3; }
.office-activity-link { display: block; margin-top: 24px; font-size: 13px; text-align: right; }
.office-activity-batch { margin-bottom: 25px; padding-left: 20px; border-left: 3px solid var(--iwd-brown); }
.office-activity { padding: 12px 0; border-bottom: 1px solid var(--iwd-line); }
.office-activity small, .office-activity time { color: var(--casuvera-muted); font-size: 12px; }
.office-diff { padding: 12px; background: var(--iwd-paper); overflow-wrap: anywhere; }
.office-mail-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.auth-page { background: var(--iwd-green); }
.auth-brand-panel { position: relative; gap: 48px; background: var(--iwd-green); border-bottom: 10px solid var(--iwd-yellow); }
.auth-brand-panel .office-brand { padding: 0; }
.auth-brand-panel .office-logo { width: 106px; }
.auth-brand-copy h1 { margin: 22px 0; font-size: clamp(48px, 5.5vw, 80px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.auth-brand-copy h1 em { color: var(--iwd-yellow); }
.auth-brand-copy p { color: #fff; }
.auth-brand-copy .auth-eyebrow { color: var(--iwd-yellow); font-size: 11px; letter-spacing: .14em; }
.office-auth-signature { margin: 0; color: #dfece5; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.auth-form-panel { background: var(--iwd-paper); }
.auth-card { padding: clamp(24px,4vw,48px); border-radius: 5px; border: 1px solid var(--iwd-green); background: transparent; box-shadow: none; }
.office-auth-wordmark { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; color: var(--iwd-green); font-family: var(--iwd-serif); font-size: 28px; }
.office-auth-wordmark .office-logo { width: 64px; }
.auth-title { font-size: 38px; font-weight: 400; }
.auth-subtitle { margin-bottom: 30px; }
.dt-container .row { row-gap: 12px; }
table.dataTable { width: 100% !important; }
@media (max-width: 991px) {
    .office-menu-toggle { display: block; }
    .office-nav-open .app-sidebar { transform: translateX(0); z-index: 1050; padding-top: 110px; }
    .office-nav-open .app-topbar { z-index: 1060; }
    .office-nav-open .office-menu-toggle { position: relative; z-index: 1060; background: var(--iwd-yellow); color: var(--iwd-ink); }
    .office-topbar { padding: 16px; }
    .office-account > span { display: none; }
    .office-topbar h1 { font-size: 25px; }
    .office-nav-open .app-main { margin-left: 0; }
    .card-header { gap: 15px; flex-wrap: wrap; }
}
@media (max-width: 575px) {
    .auth-brand-panel { display: none; }
    .auth-layout { display: block; }
    .auth-form-panel { padding: 24px; min-height: 100vh; }
    .auth-card { padding: 28px 0; }
    .office-intro h2 { font-size: 32px; }
    .app-content { padding: 18px !important; }
    .card-body { padding: 18px; }
    .office-topbar { gap: 10px; }
    .office-activity time { min-width: 105px; }
}
