/* Light-theme surfaces and the responsive app shell (laptops, tablets, phones, touch) */

/* =====================================================================
   v2 LAYER — theme components, shell, form layout, responsive system
   ===================================================================== */
        :root[data-theme="dark"] .card-status-select { background-color: color-mix(in srgb, currentColor 10%, var(--input-bg)); border-width: 1px; border-color: color-mix(in srgb, currentColor 40%, transparent) !important; }
:root[data-theme="dark"] .card-status-select:hover { background-color: color-mix(in srgb, currentColor 16%, var(--input-bg)); }
.card-status-select option { color: var(--text-main); font-weight: 600; }

/* Light-theme surfaces: grey lanes, white load tiles */
.load-card { background: var(--tile-bg); }
.load-card-route { background: var(--well); }
:root:not([data-theme="dark"]) .view-toggle, :root:not([data-theme="dark"]) .date-preset-row { background: var(--bg-hover); border-color: var(--border); }
:root:not([data-theme="dark"]) .view-toggle-btn.active { background: var(--bg-card); box-shadow: 0 1px 2px rgba(16,24,40,0.10), inset 0 0 0 1px var(--border); }
:root:not([data-theme="dark"]) .kanban-count { background: var(--bg-card); }
:root:not([data-theme="dark"]) .load-card.stale-highlight { background: linear-gradient(180deg, rgba(210,63,63,0.07), rgba(210,63,63,0.02)), var(--tile-bg); }
:root:not([data-theme="dark"]) .modal-header { background: var(--bg-card); }
:root:not([data-theme="dark"]) .form-control, :root:not([data-theme="dark"]) .ss-selected { box-shadow: 0 1px 1px rgba(16,24,40,0.03); }
:root:not([data-theme="dark"]) .btn-outline { background: var(--bg-card); }
/* Keyboard focus on custom controls */
.ss-selected:focus-visible { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
[role="button"]:focus-visible, .load-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* Dropdown: "Not listed? + Add" pinned to the bottom of the open list */
.ss-options { flex: 1 1 auto; min-height: 0; }
.ss-footer { flex-shrink: 0; border-top: 1px solid var(--border); background: var(--bg-subtle); }
.ss-footer:empty { display: none; }
.ss-footer .ss-add-row { margin: 0; border-top: none; background: transparent; padding: 9px 12px; }
.ss-footer .ss-add-row:hover { background: var(--bg-hover); }
/* Add / Edit Load: two-column layout on wide screens */
@media (min-width: 1180px) {
    #modalOverlay .modal { max-width: 1280px; }
}
/* Unsaved-changes dialog */
.confirm-overlay { z-index: 1300; }
.modal.confirm-modal { max-width: 540px; }
.confirm-actions .btn { flex-shrink: 0; }
.confirm-body { display: flex; gap: 14px; padding: 22px 22px 18px; }
.confirm-icon { width: 40px; height: 40px; border-radius: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--warning); background: color-mix(in srgb, var(--warning) 14%, transparent); }
.confirm-body h2 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.confirm-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.confirm-actions { display: flex; align-items: center; gap: 8px; padding: 12px 22px 18px; flex-wrap: wrap; }
.confirm-actions .toolbar-spacer { flex: 1; }
/* Screen-reader-only text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* -------- Laptops / iPad landscape -------- */
@media (min-width: 900px) and (max-width: 1279px) {
    main { padding: 16px 18px 12px; }
}
@media (max-width: 1100px) {
    .dashboard-summary-container { grid-template-columns: 1fr; }
    .toolbar-spacer { display: none; }
}
/* -------- Tablets (portrait) & phones: app shell with top bar + bottom tabs -------- */
@media (max-width: 899px) {
    body { display: block; height: auto; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; overflow-y: auto; }
    main { display: block; overflow: visible; min-height: 100dvh; padding: calc(70px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) calc(92px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
    .view-panel { min-height: 0; }
    header { align-items: flex-start; margin-bottom: 14px; }
    h1 { font-size: 20px; }
    /* boards stack instead of scrolling sideways */
    .kanban-board:not([style*="none"]) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); overflow: visible; flex: none; align-items: start; gap: 12px; padding-bottom: 0; }
    .view-scroll, .stats-container, .cards-grid { overflow: visible; flex: none; }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
    .status-filter-view { flex: none; }
    /* toolbar */
    .toolbar, .controls { gap: 8px; }
    .toolbar .search-wrap, .controls .search-wrap { width: 100%; flex: 1 1 100%; }
    .date-range-filter { flex: 1 1 260px; }
    .date-range-filter input[type="date"] { width: auto; flex: 1 1 0; min-width: 0; }
    .view-toggle { flex: 1 1 auto; }
    .view-toggle-btn { flex: 1; justify-content: center; }
    .header-actions { width: 100%; }
    #statsView .header-actions, #finishedView .header-actions { width: 100%; }
    .date-preset-row { height: auto; flex: 1 1 100%; }
    .status-filter-panel { width: min(280px, calc(100vw - 28px)); }
    .breadcrumb-container { flex-wrap: wrap; }
    .folder-path { white-space: normal; }
    .month-status-tabs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
    /* tables become labelled cards — every column still shown */
    .table-responsive { overflow: visible; background: none; border: none; border-radius: 0; }
    .data-table { white-space: normal; }
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr { display: block; width: 100%; }
    .data-table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px; }
    .data-table tbody tr { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 4px 14px 6px; box-shadow: var(--shadow-sm); }
    .data-table tbody tr:hover { background: var(--bg-card); border-color: var(--border-hover); }
    .data-table td { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr); column-gap: 12px; align-items: center; justify-items: end; text-align: right; padding: 7px 0; max-width: none; white-space: normal; overflow: visible; border-bottom: 1px dashed var(--border); font-size: 13px; }
    .data-table td::before { content: attr(data-label); grid-column: 1; grid-row: 1 / span 20; align-self: start; justify-self: start; text-align: left; color: var(--text-muted); font-size: 12px; font-weight: 500; padding-top: 1px; }
    .data-table td > * { grid-column: 2; }
    .data-table td:last-child { border-bottom: none; }
    .data-table td:first-child { display: block; text-align: left; padding: 10px 0 9px; border-bottom: 1px solid var(--border); box-shadow: none !important; }
    .data-table td:first-child::before, .data-table td[data-label=""]::before { display: none; }
    .data-table td[data-label=""] { display: block; }
    .data-table td[colspan] { display: block; text-align: center; border: none; }
    .data-table tbody tr.stale-row { background: var(--danger-bg); border-color: color-mix(in srgb, var(--danger) 45%, transparent); box-shadow: inset 3px 0 0 var(--danger); }
    .data-table tbody tr.stale-row > td:first-child { box-shadow: none; }
    .data-table .cell-stop { justify-content: flex-end; }
    .data-table .cell-when { padding-left: 0; }
    .data-table .card-status-select { width: 100%; min-width: 0; max-width: 240px; }

    .row-actions { width: 100%; justify-content: flex-start; }
    .row-actions .btn { flex: 1; }
    /* modals become full-screen sheets */
    .modal-overlay { padding: 0; align-items: stretch; }
    .modal { max-width: none !important; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; border: none; }
    .modal-header { padding: calc(12px + env(safe-area-inset-top)) 12px 12px 16px; }
    .modal-body { padding: 14px 16px; }
    .modal-footer { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
    /* small dialogs stay as centered cards */
    .confirm-overlay, #quickAddOverlay { padding: 16px; align-items: center; }
    .confirm-modal, #quickAddOverlay .modal { height: auto !important; max-height: calc(100dvh - 32px); border-radius: 27px !important; border: 1px solid var(--border-strong) !important; }
    #quickAddOverlay .modal { max-width: 480px !important; }
    .confirm-modal { max-width: 540px !important; }
    .ss-options { max-height: 42vh; }
}
/* -------- Phones -------- */
@media (max-width: 599px) {
    main { padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
    h1 { font-size: 19px; }
    .current-date { font-size: 12px; }
    header .header-actions .btn { flex: 1; }
    .modal-footer { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .footer-left, .footer-right { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
    .footer-left .btn, .footer-right .btn { width: 100%; }
    #btnDeletePerm[style*="block"] { display: inline-flex !important; }
    .confirm-actions { flex-direction: column; align-items: stretch; }
    .confirm-actions .btn { width: 100%; }
    .confirm-actions .toolbar-spacer { display: none; }
    .confirm-actions .btn:not(.btn-outline):not(.btn-danger) { order: -2; }
    .confirm-actions .btn-outline { order: -1; }
    /* dropdowns open as a sheet at the top of the screen (clear of the on-screen keyboard), footer always visible */
    .ss-dropdown { position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; bottom: auto; min-width: 0; max-height: 58dvh; margin: 0; z-index: 1400; border-radius: 27px; box-shadow: 0 24px 64px rgba(16,24,40,0.35), 0 0 0 100vmax rgba(15,23,42,0.28); }
    .ss-options { max-height: none; }
}
/* -------- Touch devices: bigger targets, no iOS zoom on focus -------- */
@media (pointer: coarse) {
    :root { --control-h: 44px; }
    .form-control,.ss-search,textarea.form-control { font-size: 16px; }
    .ss-selected { font-size: 15px; }
    .ss-search { height: 40px; }
    .ss-option { padding: 11px 10px; font-size: 15px; }
    .ss-footer .ss-add-row { padding: 13px 12px; }
    .btn { min-height: 42px; }
    .btn-sm { min-height: 36px; }
    .icon-btn { width: 42px; height: 42px; }
    .view-toggle-btn { min-height: 36px; }
    .card-status-select { height: 40px; font-size: 14px; }

    .status-filter-opt { padding: 11px 8px; }
    .add-disp-btn { padding: 7px 10px; }
    .attachment-remove { width: 34px; height: 34px; }
    .back-btn { height: 38px; }
    input[type="checkbox"] { width: 20px; height: 20px; }
    .date-range-filter input[type="date"] { font-size: 15px; }
}

/* =====================================================================
   TOP DOCK (replaces the sidebar)
   ===================================================================== */
body { flex-direction: column; }
main { flex: 1 1 auto; min-height: 0; }
.dock { position: sticky; top: 0; z-index: 900; flex-shrink: 0; display: flex; flex-direction: column; align-items: stretch; gap: 3px;
    padding: max(6px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left));
    background: var(--sb-bg); color: var(--sb-text); border-bottom: 1px solid var(--sb-border); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); }
.dock-team { flex-shrink: 0; }
.dock-team-select { height: 32px; padding: 0 30px 0 11px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--sb-text);
    background-color: var(--sb-input); border: 1px solid var(--sb-border); border-radius: 15px; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adbb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 9px center; background-size: 13px; }
.dock-team-select:hover { border-color: rgba(255, 255, 255, 0.24); }
.dock-team-select option { color: var(--text-main); background: var(--bg-card); }
.dock-tabs { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dock-tabs::-webkit-scrollbar { display: none; }
.dock-tab { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border: none; border-radius: 15px;
    background: transparent; color: var(--sb-muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; }
.dock-tab .ic { font-size: 14px; }
.dock-tab:hover { background: var(--sb-hover); color: var(--sb-text); }
.dock-tab.active { background: var(--sb-active); color: #fff; }
.dock-tab.active .ic { color: var(--sb-accent); }
.dock-theme { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; border: 1px solid var(--sb-border);
    background: var(--sb-input); color: var(--sb-text); cursor: pointer; font-size: 14px; }
.dock-theme:hover { background: var(--sb-hover); border-color: rgba(255, 255, 255, 0.24); }
.dock-date { font-size: 12.5px; font-weight: 500; color: var(--sb-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dock-user { position: relative; flex-shrink: 0; }
.dock-user-btn { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 7px 0 3px; border: 1px solid transparent; border-radius: 19px; background: transparent; color: var(--sb-text); cursor: pointer; font: inherit; max-width: 240px; }
.dock-user-btn:hover, .dock-user-btn[aria-expanded="true"] { background: var(--sb-hover); border-color: var(--sb-border); }
.dock-user .session-avatar { width: 28px; height: 28px; font-size: 12.5px; background: #3d6fd1; }
.dock-user-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.2; }
.dock-user .session-name { font-size: 12.5px; font-weight: 600; color: var(--sb-text); max-width: 150px; }
.dock-user-caret { font-size: 12px; color: var(--sb-muted); flex-shrink: 0; }
.user-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; z-index: 950; padding: 5px; background: var(--bg-card); color: var(--text-main);
    border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow-lg); }
.user-menu[hidden] { display: none; }
.user-menu-head { display: flex; flex-direction: column; gap: 2px; padding: 7px 9px 9px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
#userMenuName { font-size: 13px; font-weight: 600; }
#userMenuRoles { font-size: 11.5px; color: var(--text-muted); }
.user-menu-signout { width: 100%; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 9px; border: none; border-radius: 15px; background: transparent;
    color: #d23f3f; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; }
.user-menu-signout:hover, .user-menu-signout:focus-visible { background: rgba(210, 63, 63, 0.1); }
/* U.S. time zones, centered under the navigation */
.dock-tz { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; font-size: 11.5px; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--sb-text); padding-top: 1px; }
.tz-item { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.tz-item + .tz-item::before { content: '|'; color: var(--sb-muted); opacity: .6; margin: 0 10px; }
.tz-abbr { font-size: 10.5px; font-weight: 500; color: var(--sb-accent); letter-spacing: .02em; }
.tz-time { font-weight: 500; }
.add-load-btn { margin-left: 4px; vertical-align: middle; }
.dock { position: sticky; }
/* top-right corner: Date → Theme */
.dock-date { min-width: 84px; text-align: right; }
/* profile: avatar only in the dock — name and role live in the menu */
.dock-user .dock-user-text, .dock-user .dock-user-caret { display: none !important; }
.dock-user-btn { padding: 0 3px; gap: 0; }
#userMenuRoles { color: var(--text-main) !important; font-size: 12.5px !important; }
.tz-item { position: relative; cursor: default; }
.tz-item[data-tip]:hover::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 960;
    padding: 5px 9px; border-radius: 15px; background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md);
    font-size: 11.5px; font-weight: 500; white-space: nowrap; pointer-events: none; }
@media (hover: none) { .tz-item[data-tip]:hover::after { display: none; } }
@media (max-width: 599px) { .dock-center .dock-tz { width: 100%; } .dock-right { gap: 5px; } .dock-date { min-width: 0; } .dock-theme { width: 28px; height: 28px; } }
body:not(.cap-teams) #navTeams, body:not(.cap-users) #navUsers, body:not(.cap-db) #navDatabase, body:not(.cap-stats) #navStats, body:not(.cap-edit) #addLoadBtn { display: none !important; }
/* Dock: three independent areas — team (left) · navigation + time zones (true center) · date, theme, user (right).
   Equal 1fr side columns keep the center exactly centered whatever the side widths are. */
.dock { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "left center right"; align-items: start; column-gap: 12px; row-gap: 4px; }
.dock-left { grid-area: left; justify-self: start; display: flex; align-items: center; height: 32px; min-width: 0; max-width: 100%; }
.dock-center { grid-area: center; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; max-width: 100%; }
.dock-right { grid-area: right; justify-self: end; display: flex; align-items: center; gap: 8px; height: 32px; min-width: 0; max-width: 100%; }
.dock-center .dock-tabs { flex: 0 0 auto; max-width: 100%; justify-content: safe center; }
.dock-center .dock-tz { max-width: 100%; }
/* laptops / tablets / phones: team + right group on the first row, navigation and time zones centered below */
@media (max-width: 1239px) {
    .dock { grid-template-columns: minmax(0, auto) minmax(0, 1fr); grid-template-areas: "left right" "center center"; }
    .dock-center { width: 100%; }
}
@media (max-width: 899px) {
    body { display: block; }
    main { padding: 10px max(12px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important; min-height: 0; }
    .dock-tabs { justify-content: flex-start; }
}
@media (max-width: 599px) {
    .dock { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
    .dock { column-gap: 6px; }
    .dock-team { flex: 0 1 auto; min-width: 0; }
    .dock-team-select { width: 100%; max-width: 124px; min-width: 88px; height: 32px; font-size: 12.5px; padding: 0 24px 0 8px; background-position: right 7px center; text-overflow: ellipsis; }
    .dock-date { font-size: 11.5px; }
    .dock-user { min-width: 0; }
    .dock-user-btn { gap: 6px; padding: 0 2px; max-width: 124px; }
    .dock-user .session-avatar { width: 26px; height: 26px; font-size: 12px; }
    .dock-user .session-name { font-size: 12px; max-width: 70px; }
    .dock-user-caret { display: none; }
    .dock-tab { height: 32px; padding: 0 9px; font-size: 12.5px; }
    .dock-tz { flex-wrap: nowrap; justify-content: space-between; font-size: 11px; }
    .tz-item { gap: 3px; }
    .tz-item + .tz-item::before { display: none; }
    .tz-abbr { font-size: 10px; }
}
@media (max-width: 379px) {
    .dock { column-gap: 4px; }
    .dock-team-select { min-width: 80px; max-width: 104px; font-size: 12px; }
    .dock-right { gap: 4px; }
    .dock-theme { width: 28px; height: 28px; }
    .dock-right .dock-date { font-size: 10.5px; }
    .dock-user-btn { max-width: 104px; }
    .dock-user .session-name { max-width: 52px; }
    .dock-tz { font-size: 10.5px; }
}
@media (pointer: coarse) { .dock-tab { height: 36px; } .dock-theme { width: 34px; height: 34px; } .user-menu-signout { height: 42px; } }
@media print { .dock { display: none !important; } }
/* =====================================================================
   COMPACT DENSITY (applies across the whole site)
   ===================================================================== */
:root { --control-h: 32px; --radius-md: 19px; --radius-lg: 24px; }
body { font-size: 12.5px; }
h1 { font-size: 19px; }
header { margin-bottom: 10px; gap: 8px 14px; }
.btn { height: var(--control-h); padding: 0 12px; font-size: 12.5px; gap: 6px; }
.btn-sm { height: 26px; padding: 0 9px; font-size: 11.5px; }
.form-control, .ss-selected { font-size: 12.5px; }
textarea.form-control { min-height: 60px; padding: 7px 10px; }
label { font-size: 11.5px; }
.toolbar, .controls { gap: 6px; margin-bottom: 10px; }
.dashboard-summary-container { gap: 10px; margin-bottom: 10px; }
.kanban-board { gap: 10px; }
.kanban-column-header { padding: 9px 10px 7px 12px; }
.load-card { padding: 8px 10px 8px; gap: 6px; }
.load-card-syl { font-size: 13px; }
.load-card-row { font-size: 12px; }
.load-card-route { padding: 6px 9px 6px 22px; gap: 4px; }

.card-status-select { height: 28px; font-size: 11.5px; }
.data-table { font-size: 12px; }
.disp-income, .stats-divider { margin-top: 18px; }
.di-month { padding: 4px 0; font-size: 12.5px; }
.folder-card { padding: 12px; }
.month-status-tab { padding: 12px 14px; font-size: 13.5px; }
.db-tab-btn { padding: 7px 10px 8px; font-size: 12.5px; }
.modal-header { padding: 10px 12px 10px 18px; }
.modal-header h2 { font-size: 15.5px; }
.modal-body { padding: 13px 18px; }
.modal-footer { padding: 9px 18px; }
.form-group { gap: 4px; }
.auto-value { font-size: 14px; }
.confirm-body { padding: 16px 18px 12px; gap: 12px; }
.confirm-actions { padding: 8px 18px 14px; }
.confirm-icon { width: 34px; height: 34px; font-size: 17px; }

@media (min-width: 900px) {
    main { padding: 12px 18px 10px; }
    .data-table th { padding: 7px 10px 6px; font-size: 11.5px; }
    .data-table td { padding: 6px 10px; font-size: 12px; }

}
@media (pointer: coarse) { :root { --control-h: 40px; } .btn { min-height: 38px; } .btn-sm { min-height: 32px; } .card-status-select { height: 36px; } }
/* ---------------------------------------------------------------
   Load Details — the View window
   --------------------------------------------------------------- */

/* tighter frame for the View window (the Add/Edit modal keeps its roomier spacing) */
.view-modal .modal-header { padding: 10px 14px 10px 20px; }
.view-modal .modal-header h2 { font-size: 15px; }
.view-modal .modal-body { padding: 16px 20px; }
.view-modal .modal-footer { padding: 10px 20px; }
