/* [KH-P07G3-SMART-GARAGE-NOTIFICATION-UX:STYLE] */
#kh-smart-garage-r1a-static .kh-garage-p07g3-header-badges {
    display: grid;
    position: relative;
    z-index: 7;
    flex: 0 0 auto;
    gap: 6px;
    justify-items: end;
    pointer-events: none;
}

#kh-smart-garage-r1a-static .kh-garage-p07g3-reminder-badge {
    display: inline-flex;
    min-height: 40px;
    max-width: 148px;
    box-sizing: border-box;
    padding: 7px 10px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(251, 146, 60, 0.42);
    border-radius: 999px;
    background: rgba(154, 52, 18, 0.34);
    color: #fff7ed;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 8px 20px rgba(124, 45, 18, 0.16);
    font: inherit;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 850;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#kh-smart-garage-r1a-static
    .kh-garage-p07g3-reminder-badge[data-due-status="overdue"] {
    border-color: rgba(248, 113, 113, 0.54);
    background: rgba(153, 27, 27, 0.42);
}

#kh-smart-garage-r1a-static
    .kh-garage-p07g3-reminder-badge[data-due-status="soon"] {
    border-color: rgba(125, 211, 252, 0.46);
    background: rgba(3, 105, 161, 0.34);
}

#kh-smart-garage-r1a-static .kh-garage-p07g3-reminder-badge[hidden] {
    display: none !important;
}

#kh-smart-garage-r1a-static .kh-garage-p07g3-reminder-badge:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 3px;
}

.kh-garage-p07g3-reminder-badge__status {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kh-garage-p07g3-reminder-badge__count {
    display: grid;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
}

.kh-garage-manual-dates__card--focused {
    border-color: var(--tg-theme-link-color, #2481cc);
    box-shadow:
        0 0 0 3px rgba(36, 129, 204, 0.18),
        0 12px 28px rgba(36, 129, 204, 0.14);
}

.kh-garage-manual-dates__card--focused:focus-visible {
    outline: 3px solid var(--tg-theme-link-color, #2481cc);
    outline-offset: 3px;
}

@media (max-width: 430px) {
    #kh-smart-garage-r1a-static .kh-garage-p07g3-header-badges {
        gap: 4px;
    }

    #kh-smart-garage-r1a-static .kh-garage-p07g3-reminder-badge {
        min-height: 38px;
        max-width: 112px;
        padding: 6px 8px;
        gap: 5px;
        font-size: 9px;
    }

    .kh-garage-p07g3-reminder-badge__count {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #kh-smart-garage-r1a-static .kh-garage-p07g3-reminder-badge,
    .kh-garage-manual-dates__card--focused {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
/* [/KH-P07G3-SMART-GARAGE-NOTIFICATION-UX:STYLE] */
