/* Стили для кнопки сброса промокода */
.promocode__reset {
    margin-left: 8px !important;
    background: transparent !important;
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    font-family: Arial, sans-serif !important;
    font-weight: normal !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.promocode__reset:hover {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.promocode__reset:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25) !important;
}

.promocode__reset:active {
    transform: scale(0.95) !important;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .promocode__reset {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
        margin-left: 6px !important;
    }
}

/* Стили для промокод-секции */
.promocode-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.promocode-section input[name="promocode"] {
    flex: 1;
    min-width: 120px;
}

.promocode-section .promocode__btn {
    white-space: nowrap;
}

.promocode-section .promocode__reset {
    flex-shrink: 0;
}

/* Анимация появления кнопки сброса */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.promocode__reset {
    animation: fadeIn 0.3s ease !important;
}