/* Adventure Tours Manager — Tabs widget */

.atm-tabs-widget {
    width: 100%;
    font-family: inherit;
}

.atm-tabs-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.atm-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 18px 16px;
    border: 1px solid #e7eaee;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
    box-shadow: 0 4px 14px rgba(17, 24, 39, .05);
}

.atm-tab:hover {
    transform: translateY(-2px);
}

.atm-tab.is-active {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
    box-shadow: 0 10px 24px rgba(76, 175, 80, .32);
}

.atm-tab-icon {
    font-size: 22px;
    line-height: 1;
}

.atm-tab-label {
    text-align: center;
}

.atm-tab:focus-visible {
    outline: 2px solid #149447;
    outline-offset: 2px;
}

.atm-tabs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .atm-tabs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .atm-tabs-grid {
        grid-template-columns: 1fr;
    }
    .atm-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .atm-tab {
        min-height: 78px;
        font-size: 14px;
    }
}
