/* ========================================
   ROAD FIGHTERS - КОМПОНЕНТЫ
   ======================================== */

/* ========================================
   УВЕДОМЛЕНИЕ О COOKIES
   ======================================== */

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.cookie-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cookie-buttons .btn-outline-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-buttons .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность для уведомления о cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-text {
        text-align: center;
        justify-content: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        justify-content: center;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 0.75rem;
    }
    
    .cookie-text {
        font-size: 0.8rem;
    }
    
    .cookie-buttons .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Кнопки-иконки для карточек */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    gap: 0;
}

.btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-icon i {
    font-size: 1rem;
}





/* Алерты */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* Адаптивность */
@media (max-width: 768px) {
    .btn-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
} 