/*
🎨 KraskiTours - Стили для системы скидок и корзины
Красивое отображение множественных бронирований
*/

:root {
    --cart-primary: #4a90e2;
    --cart-success: #28a745;
    --cart-warning: #ffc107;
    --cart-danger: #dc3545;
    --cart-info: #17a2b8;
    --cart-light: #f8f9fa;
    --cart-dark: #343a40;
    --cart-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --cart-border-radius: 12px;
    --cart-transition: all 0.3s ease;
}

/* =============================
   📋 ИНФОРМАЦИЯ О ПРОМОАКЦИИ
   ============================= */

/* Контейнер для баннера с бейджиками */
.banner-content {
    position: relative;
}

.promotion-info {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 12px;
    z-index: 10;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    max-width: 280px;
    justify-content: center;
    align-items: center;
}

.promotion-info .single-info-panel {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.2px;
    position: relative;
}

.promotion-info .single-info-panel:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
}

/* Состояния срочности для одной панели */
.promotion-info .single-info-panel.urgent {
    background: rgba(220, 53, 69, 0.15) !important;
    border: 1px solid rgba(220, 53, 69, 0.4) !important;
    box-shadow: 
        0 8px 25px rgba(220, 53, 69, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    animation: singlePanelUrgent 2s ease-in-out infinite;
}

.promotion-info .single-info-panel.warning {
    background: rgba(255, 193, 7, 0.15) !important;
    border: 1px solid rgba(255, 193, 7, 0.4) !important;
    box-shadow: 
        0 8px 25px rgba(255, 193, 7, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    animation: singlePanelWarning 2.5s ease-in-out infinite;
}

.promotion-info .time-info {
    border-left: 3px solid #ffc107;
}

.promotion-info .activations-info {
    border-left: 3px solid #28a745;
}

/* Стили срочности для стеклянных панелей */
.promotion-info .glass-panel:has-text("Последний день"),
.promotion-info .glass-panel:has-text("Завтра окончание") {
    background: rgba(220, 53, 69, 0.2) !important;
    border: 1px solid rgba(220, 53, 69, 0.6) !important;
    box-shadow: 
        0 8px 32px rgba(220, 53, 69, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    animation: glassUrgentPulse 2s ease-in-out infinite;
}

.promotion-info .glass-panel:has-text("Всего"),
.promotion-info .glass-panel:has-text("мест осталось") {
    background: rgba(255, 193, 7, 0.2) !important;
    border: 1px solid rgba(255, 193, 7, 0.6) !important;
    box-shadow: 
        0 8px 32px rgba(255, 193, 7, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    animation: glassWarningGlow 2.5s ease-in-out infinite;
}

/* Анимации для одной панели */
@keyframes singlePanelUrgent {
    0%, 100% { 
        backdrop-filter: blur(25px);
        box-shadow: 
            0 8px 25px rgba(220, 53, 69, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        backdrop-filter: blur(30px);
        box-shadow: 
            0 12px 35px rgba(220, 53, 69, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes singlePanelWarning {
    0%, 100% { 
        backdrop-filter: blur(25px);
        box-shadow: 
            0 8px 25px rgba(255, 193, 7, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        backdrop-filter: blur(28px);
        box-shadow: 
            0 10px 30px rgba(255, 193, 7, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Мобильная адаптация для одной панели */
@media (max-width: 768px) {
    .promotion-info {
        bottom: 40px;
        max-width: 300px;
    }
    
    .promotion-info .single-info-panel {
        font-size: 12px;
        padding: 8px 20px;
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .promotion-info {
        bottom: 35px;
        max-width: 260px;
    }
    
    .promotion-info .single-info-panel {
        font-size: 11px;
        padding: 7px 18px;
        border-radius: 22px;
        backdrop-filter: blur(20px);
    }
}

@media (max-width: 360px) {
    .promotion-info {
        bottom: 30px;
        max-width: 220px;
    }
    
    .promotion-info .single-info-panel {
        font-size: 10px;
        padding: 6px 16px;
        border-radius: 20px;
        backdrop-filter: blur(18px);
    }
}

/* =============================
   🛒 ПЛАВАЮЩАЯ КОРЗИНА
   ============================= */

.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1200;
    font-family: 'Poppins', sans-serif;
}

.cart-toggle {
    background: linear-gradient(135deg, var(--cart-primary), #667eea);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: var(--cart-shadow);
    transition: var(--cart-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    min-width: 60px;
    position: relative;
}

.cart-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cart-count {
    background: var(--cart-danger);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.cart-toggle.open .cart-arrow {
    transform: rotate(180deg);
}

.cart-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: var(--cart-border-radius);
    box-shadow: var(--cart-shadow);
    border: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--cart-transition);
    display: none;
}

.cart-dropdown.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cart-light);
    border-radius: var(--cart-border-radius) var(--cart-border-radius) 0 0;
}

.cart-header h5 {
    margin: 0;
    color: var(--cart-dark);
    font-weight: 600;
}

.btn-close-cart {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cart-dark);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--cart-transition);
}

.btn-close-cart:hover {
    background: #e9ecef;
}

.cart-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-cart-message i {
    opacity: 0.5;
}

/* =============================
   📦 ЭЛЕМЕНТЫ КОРЗИНЫ
   ============================= */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background: var(--cart-light);
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: var(--cart-transition);
}

.cart-item:hover {
    border-color: var(--cart-primary);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.item-info {
    flex: 1;
}

.item-info h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--cart-dark);
    line-height: 1.2;
}

.item-info small {
    color: #6c757d;
    font-size: 12px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.participants {
    background: var(--cart-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.price {
    font-weight: 600;
    color: var(--cart-success);
    font-size: 14px;
}

.btn-remove {
    background: var(--cart-danger);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--cart-transition);
    margin-left: 10px;
}

.btn-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* =============================
   💰 ИНФОРМАЦИЯ О СКИДКАХ
   ============================= */

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: var(--cart-light);
    border-radius: 0 0 var(--cart-border-radius) var(--cart-border-radius);
}

.discount-info {
    margin-bottom: 15px;
}

.discount-applied {
    background: var(--cart-success);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-next {
    background: var(--cart-info);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.total-breakdown {
    margin-bottom: 15px;
}

.original-price,
.final-price,
.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.final-price {
    font-size: 18px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

#proceedToCheckout {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--cart-success), #20c997);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: var(--cart-transition);
}

#proceedToCheckout:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* =============================
   🎯 БАННЕРЫ СКИДОК
   ============================= */

.discount-banner-container {
    margin: 30px 0;
}

.discount-progress-banner,
.discount-cards-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: var(--cart-border-radius);
    text-align: center;
    margin-bottom: 30px;
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.banner-subtitle .urgency-info {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    animation: urgentGlow 2s ease-in-out infinite;
}

.banner-subtitle .urgency-info:has-text("⚡"),
.banner-subtitle .urgency-info:has-text("🔥"),
.banner-subtitle .urgency-info:has-text("🚨") {
    color: #ff6b6b;
    animation: criticalPulse 1.5s ease-in-out infinite;
}

@keyframes urgentGlow {
    0%, 100% { 
        opacity: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    50% { 
        opacity: 0.8;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.5);
    }
}

@keyframes criticalPulse {
    0%, 100% { 
        opacity: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    50% { 
        opacity: 0.9;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 107, 107, 0.7);
    }
}

/* =============================
   📊 ПРОГРЕСС-БАР СКИДОК
   ============================= */

.discount-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: var(--cart-transition);
    position: relative;
}

.progress-step.active {
    opacity: 1;
    transform: scale(1.1);
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: rgba(255, 255, 255, 0.8);
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    transition: var(--cart-transition);
}

.progress-step.active .step-circle {
    background: white;
    color: var(--cart-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.step-label {
    font-size: 14px;
    font-weight: 600;
}

.step-discount {
    font-size: 16px;
    font-weight: 700;
    color: #ffd700;
}

/* =============================
   🎴 КАРТОЧКИ СКИДОК
   ============================= */

.discount-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.discount-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--cart-border-radius);
    padding: 25px;
    text-align: center;
    transition: var(--cart-transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.discount-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.discount-card.current {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.discount-card.featured {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.3), rgba(255, 107, 157, 0.1));
    border-color: #ff6b9d;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.discount-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.discount-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.discount-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.discount-card .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b9d;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

/* =============================
   🔔 УВЕДОМЛЕНИЯ
   ============================= */

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1300;
    min-width: 300px;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: var(--cart-shadow);
    transition: var(--cart-transition);
    transform: translateX(100%);
    opacity: 0;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
}

.toast-success {
    background: linear-gradient(135deg, var(--cart-success), #20c997);
}

.toast-warning {
    background: linear-gradient(135deg, var(--cart-warning), #ffb347);
}

.toast-error {
    background: linear-gradient(135deg, var(--cart-danger), #ff6b6b);
}

.toast-info {
    background: linear-gradient(135deg, var(--cart-info), #48cae4);
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.toast-close:hover {
    opacity: 1;
}

/* =============================
   📱 АДАПТИВНОСТЬ
   ============================= */

@media (max-width: 768px) {
    .floating-cart {
        bottom: 15px;
        right: 15px;
    }
    
    .cart-dropdown {
        width: 320px;
        bottom: 60px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .discount-progress {
        gap: 15px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .progress-step::after {
        width: 15px;
        right: -8px;
    }
    
    .discount-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .discount-card {
        padding: 20px;
    }
    
    .discount-value {
        font-size: 28px;
    }
    
    .toast-notification {
        min-width: 280px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .cart-dropdown {
        width: 90vw;
        right: 5vw;
    }
    
    .discount-progress-banner,
    .discount-cards-banner {
        padding: 25px 20px;
    }
    
    .discount-cards {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        padding: 12px;
    }
    
    .item-info h6 {
        font-size: 13px;
    }
}

/* =============================
   ✨ АНИМАЦИИ
   ============================= */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.cart-count {
    animation: bounce 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
}

.cart-toggle:hover {
    animation: pulse 1.5s infinite;
}

/* =============================
   🎨 КАСТОМНЫЕ СКРОЛЛБАРЫ
   ============================= */

.cart-body::-webkit-scrollbar {
    width: 6px;
}

.cart-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-body::-webkit-scrollbar-thumb {
    background: var(--cart-primary);
    border-radius: 3px;
}

.cart-body::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

/* ===============================
   📅 DATE PICKER MODAL
   =============================== */

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.date-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.date-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.date-option.available {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
}

.date-option.limited {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

.date-option.full {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    cursor: not-allowed;
    opacity: 0.7;
}

.date-option.selected {
    border-color: #007bff;
    background: linear-gradient(135deg, #cce7ff, #b3d9ff);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

.date-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.date-time {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.date-spots {
    font-size: 0.85rem;
    font-weight: 500;
}

.date-spots.available {
    color: #28a745;
}

.date-spots.limited {
    color: #fd7e14;
}

.date-spots.full {
    color: #dc3545;
}

.date-price {
    font-weight: 600;
    color: #495057;
    margin-top: 5px;
}

.no-dates-message {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.no-dates-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.tour-participants .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px;
}

#addToCartFromModal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================
   🎪 СТАТУС АКЦИЙ В КОРЗИНЕ
   ============================= */

.promotion-status {
    margin-bottom: 10px;
    padding: 0;
}

.promotion-info {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
}

.promotion-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #155724;
    font-weight: 600;
}

.promotion-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.promotion-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 10px 12px;
    color: #856404;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.promotion-warning i {
    color: #f39c12;
    animation: pulse 2s infinite;
}

.promotion-active {
    background: linear-gradient(135deg, #d1ecf1, #b8e6f1);
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 10px 12px;
    color: #0c5460;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promotion-inactive {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 10px 12px;
    color: #721c24;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

/* =============================
   🎫 ПОЛЕ ПРОМОКОДА
   ============================= */

.promocode-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.promocode-section .form-floating label {
    color: #6c757d;
    font-weight: 500;
}

.promocode-section .form-control {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.promocode-section .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.promocode-section .form-control:disabled {
    background-color: #e9ecef;
    opacity: 0.8;
}

#applyPromocode {
    height: 58px; /* Совпадает с высотой form-floating */
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#applyPromocode:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#applyPromocode:disabled {
    transform: none;
    box-shadow: none;
}

/* Анимация для статуса промокода */
#promocodeStatus {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Специальные стили для сообщений */
.promocode-section .alert {
    font-size: 14px;
    border-radius: 8px;
    border: none;
    margin-bottom: 0;
}

.promocode-section .alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.promocode-section .alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ===== APPLIED PROMOCODE CARD STYLES ===== */
.applied-promocode-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    color: white;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInDown 0.3s ease-out;
}

.promocode-info {
    flex: 1;
}

.promocode-badge {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 16px;
}

.promocode-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
    margin-left: 4px;
}

.promocode-discount {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.remove-promocode-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
    font-size: 12px;
    padding: 4px 8px;
}

.remove-promocode-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.remove-promocode-btn:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    color: white;
}