/* Bricks Tailwind Pro - Frontend Styles */

/* Кастомные утилиты для Tailwind */
.btp-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Анимации */
@keyframes btp-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes btp-slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes btp-scale-in {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.btp-animate-fade-in {
    animation: btp-fade-in 0.3s ease-out;
}

.btp-animate-slide-up {
    animation: btp-slide-up 0.4s ease-out;
}

.btp-animate-scale-in {
    animation: btp-scale-in 0.3s ease-out;
}

/* Утилиты для градиентов */
.btp-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btp-gradient-success {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
}

.btp-gradient-danger {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
}

.btp-gradient-ocean {
    background: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
}

/* Текстовые градиенты */
.btp-text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism эффект */
.btp-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btp-glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Неоморфизм */
.btp-neomorphism {
    background: #e0e5ec;
    box-shadow: 
        9px 9px 16px rgba(163, 177, 198, 0.6),
        -9px -9px 16px rgba(255, 255, 255, 0.5);
}

.btp-neomorphism-inset {
    background: #e0e5ec;
    box-shadow: 
        inset 9px 9px 16px rgba(163, 177, 198, 0.6),
        inset -9px -9px 16px rgba(255, 255, 255, 0.5);
}

/* Утилиты для позиционирования */
.btp-center-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btp-center-x {
    left: 50%;
    transform: translateX(-50%);
}

.btp-center-y {
    top: 50%;
    transform: translateY(-50%);
}

/* Эффекты при наведении */
.btp-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btp-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btp-hover-scale {
    transition: transform 0.3s ease;
}

.btp-hover-scale:hover {
    transform: scale(1.05);
}

/* Скроллбары */
.btp-scrollbar-thin::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.btp-scrollbar-thin::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.btp-scrollbar-thin::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.btp-scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Утилиты для форм */
.btp-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.btp-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btp-input-error {
    border-color: #ef4444;
}

.btp-input-error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
