.driver-future-entry { position: relative; }
#driverSectionTabs[data-future-tasks] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#driverSectionTabs[data-future-tasks] .driver-section-tab { min-width: 0; padding-inline: 3px; font-size: 13px; white-space: nowrap; }
.driver-future-badge { position: absolute; top: -5px; right: -3px; display: inline-flex; min-width: 1.45em; height: 1.45em; padding: 0 4px; align-items: center; justify-content: center; border-radius: 20px; color: #fff; background: #b52f36; font-size: 11px; line-height: 1; }
.driver-future-badge[hidden] { display: none; }
.driver-future-dialog { box-sizing: border-box; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; overflow: auto; border: 2px solid #559e90; border-radius: 12px; background: #f0f7f3; color: #133e36; font: 16px/1.55 system-ui, sans-serif; overflow-wrap: anywhere; }
.driver-future-dialog::backdrop { background: #08131ba8; }
.driver-future-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.driver-future-dialog h2 { margin: 0; font-size: 22px; color: #133e36; }
.driver-future-dialog h3 { margin: 0 0 6px; color: #133e36; font-size: 18px; }
.driver-future-dialog button { min-height: 44px; padding: 9px 14px; border-radius: 7px; font: inherit; cursor: pointer; }
.driver-future-dialog button:disabled { opacity: .6; cursor: wait; }
.driver-future-dialog button:focus-visible { outline: 3px solid #b06024; outline-offset: 3px; }
.driver-future-close, .driver-future-secondary { border: 1px solid #559e90; background: #fff; color: #134e40; }
.driver-future-primary { width: 100%; border: 0; background: #176d59; color: #fff; font-weight: 650 !important; }
.driver-future-status { margin: 8px 0; font-size: 14px; }
.driver-future-card, .driver-future-withdrawn, .driver-future-reminder { padding: 16px; margin-top: 14px; background: #fff; border: 1px solid #b9d5c9; border-radius: 8px; }
.driver-future-date { margin: 4px 0 12px; font-weight: 650; }
.driver-future-card dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 5px 9px; margin: 12px 0; font-size: 15px; }
.driver-future-card dt { color: #46665a; }
.driver-future-card dd { margin: 0; white-space: pre-wrap; }
.driver-future-pending { color: #875509; }
.driver-future-confirmed { color: #176d59; }
.driver-future-withdrawn { border-color: #d0a2a3; background: #fff5f3; }
.driver-future-withdrawn h3 { color: #92343c; }
.driver-future-reminder { border-color: #e0c98a; background: #fffaf0; }
.driver-future-reminder h3 { color: #875509; }
.driver-future-empty { padding: 24px 0; text-align: center; }
@media (max-width: 360px) { #driverSectionTabs[data-future-tasks] { gap: 3px; } #driverSectionTabs[data-future-tasks] .driver-section-tab { font-size: 12px; padding-inline: 1px; } .driver-future-dialog { padding: 14px; } .driver-future-card { padding: 12px; } .driver-future-card dl { grid-template-columns: 74px minmax(0, 1fr); } }
