/* [KH-P07E-MKT1D-DIRECT-GARAGE-DETAIL-ACTIONS-STYLE:BEGIN] */
.kh-garage-detail-actions {
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid rgba(74, 144, 226, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(74, 144, 226, 0.10),
            rgba(74, 144, 226, 0.02)
        ),
        var(--tg-theme-bg-color, #ffffff);
    box-shadow: 0 10px 28px rgba(20, 46, 86, 0.08);
}

.kh-garage-detail-actions[hidden] {
    display: none !important;
}

.kh-garage-detail-actions__header {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.kh-garage-detail-actions__title {
    margin: 0;
    color: var(--tg-theme-text-color, #17212b);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.kh-garage-detail-actions__subtitle {
    margin: 0;
    color: var(--tg-theme-hint-color, #708499);
    font-size: 11px;
    line-height: 1.4;
}

.kh-garage-detail-actions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.kh-garage-detail-actions__button {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 12px;
    gap: 8px;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid rgba(112, 132, 153, 0.18);
    border-radius: 15px;
    background: var(--tg-theme-secondary-bg-color, #f3f6fb);
    color: var(--tg-theme-text-color, #17212b);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease,
        opacity 150ms ease;
}

.kh-garage-detail-actions__button:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 144, 226, 0.42);
    box-shadow: 0 8px 20px rgba(20, 46, 86, 0.10);
}

.kh-garage-detail-actions__button:active {
    transform: translateY(0);
}

.kh-garage-detail-actions__button:focus-visible {
    outline: 3px solid var(--tg-theme-link-color, #4b9cff);
    outline-offset: 2px;
}

.kh-garage-detail-actions__button:disabled {
    opacity: 0.58;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.kh-garage-detail-actions__button--danger {
    grid-column: 1 / -1;
    border-color: rgba(229, 57, 53, 0.28);
    background: rgba(229, 57, 53, 0.08);
    color: var(--tg-theme-destructive-text-color, #e53935);
}

.kh-garage-detail-actions__button--danger:hover {
    border-color: rgba(229, 57, 53, 0.52);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.12);
}

.kh-garage-detail-actions__button--danger .kh-garage-detail-actions__icon {
    background: rgba(229, 57, 53, 0.10);
}

.kh-garage-detail-actions__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: var(--tg-theme-bg-color, #ffffff);
    font-size: 17px;
    line-height: 1;
}

.kh-garage-detail-actions__label {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
}

.kh-garage-detail-actions__arrow {
    color: var(--tg-theme-hint-color, #708499);
    font-size: 20px;
    line-height: 1;
    text-align: right;
}

.kh-garage-detail-actions__status {
    min-height: 18px;
    margin: 0;
    color: var(--tg-theme-hint-color, #708499);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}

.kh-garage-detail-actions__status[hidden] {
    display: none !important;
}

.kh-garage-detail-actions__status[data-type="success"] {
    color: var(--tg-theme-link-color, #2481cc);
}

.kh-garage-detail-actions__status[data-type="error"] {
    color: var(--tg-theme-destructive-text-color, #e53935);
}

.kh-garage-detail-actions__status[data-type="warning"] {
    color: #b26a00;
}

@media (max-width: 350px) {
    .kh-garage-detail-actions {
        padding: 12px;
    }

    .kh-garage-detail-actions__grid {
        gap: 7px;
    }

    .kh-garage-detail-actions__button {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 7px;
        min-height: 56px;
        padding: 8px;
    }

    .kh-garage-detail-actions__icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 15px;
    }

    .kh-garage-detail-actions__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kh-garage-detail-actions__button {
        transition: none;
    }
}
/* [KH-P07E-MKT1D-DIRECT-GARAGE-DETAIL-ACTIONS-STYLE:END] */
