/* Исправление цветов кнопок для единообразия */

/* Переопределяем Tailwind кнопки на корпоративные цвета */
.btn-primary {
    background-color: #3e6d26 !important;
    color: white !important;
    border: none !important;
}

.btn-primary:hover {
    background-color: #2d5219 !important;
}

.btn-secondary {
    background-color: #6c757d !important;
    color: white !important;
    border: none !important;
}

.btn-secondary:hover {
    background-color: #545b62 !important;
}

/* Исправляем синие кнопки из Tailwind */
.bg-blue-600,
.bg-blue-500 {
    background-color: #3e6d26 !important;
}

.bg-blue-600:hover,
.bg-blue-500:hover,
.hover\:bg-blue-700:hover {
    background-color: #2d5219 !important;
}

.text-blue-600,
.text-blue-500 {
    color: #3e6d26 !important;
}

.text-blue-600:hover,
.text-blue-500:hover,
.hover\:text-blue-600:hover {
    color: #2d5219 !important;
}

/* Исправляем кнопки в формах */
.form-button,
.ORDER_PAGE_CONTINUE_BUTTON,
.ORDER_PAGE_GET_CODE,
.ORDER_PAGE_CONFIRM_BUTTON {
    background-color: #3e6d26 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.form-button:hover,
.ORDER_PAGE_CONTINUE_BUTTON:hover,
.ORDER_PAGE_GET_CODE:hover,
.ORDER_PAGE_CONFIRM_BUTTON:hover {
    background-color: #2d5219 !important;
}

/* Исправляем btn-order из тарифных табов */
.btn-order {
    background-color: #3e6d26 !important;
    color: white !important;
    border: none !important;
}

.btn-order:hover {
    background-color: #2d5219 !important;
}

/* Исправляем кнопки в водительских формах */
.driver-btn,
.driver-form-button {
    background-color: #3e6d26 !important;
    color: white !important;
    border: none !important;
}

.driver-btn:hover,
.driver-form-button:hover {
    background-color: #2d5219 !important;
}

/* Исправляем outline кнопки */
.btn-outline {
    background: transparent !important;
    color: #3e6d26 !important;
    border: 2px solid #3e6d26 !important;
}

.btn-outline:hover {
    background-color: #3e6d26 !important;
    color: white !important;
}

/* Исправляем активные состояния табов */
.tariff-tab.is-active,
.tab-active {
    background-color: #3e6d26 !important;
    color: white !important;
}

/* Исправляем ссылки-кнопки */
a.btn-primary,
a.btn {
    text-decoration: none;
    display: inline-block;
}

/* Исправляем кнопки в модальных окнах */
.modal .btn-primary,
.modal-button {
    background-color: #3e6d26 !important;
    color: white !important;
}

.modal .btn-primary:hover,
.modal-button:hover {
    background-color: #2d5219 !important;
}

/* Исправляем кнопки отправки форм */
button[type="submit"] {
    background-color: #3e6d26 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: #2d5219 !important;
}

/* Исправляем фокусные состояния */
.btn:focus,
.btn-primary:focus,
button:focus {
    outline: 2px solid #3e6d26;
    outline-offset: 2px;
}

/* Исправляем Tailwind CSS синие цвета на корпоративные */
.bg-blue-600,
.bg-blue-500,
.bg-blue-700 {
    background-color: #3e6d26 !important;
}

.text-blue-600,
.text-blue-500,
.text-blue-700 {
    color: #3e6d26 !important;
}

.border-blue-500,
.border-blue-600 {
    border-color: #3e6d26 !important;
}

.ring-blue-500 {
    --tw-ring-color: rgba(62, 109, 38, 0.5) !important;
}

/* Исправляем focus состояния */
.focus\:border-blue-500:focus,
.focus\:ring-blue-500:focus {
    border-color: #3e6d26 !important;
    --tw-ring-color: rgba(62, 109, 38, 0.5) !important;
}

/* Исправляем все hover состояния с синим */
.hover\:bg-blue-600:hover,
.hover\:bg-blue-700:hover,
.hover\:text-blue-600:hover {
    background-color: #2d5219 !important;
    color: #2d5219 !important;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .btn,
    .btn-primary,
    button[type="submit"] {
        padding: 10px 20px;
        font-size: 14px;
    }
}