/* Custom styles для админ-панели Hotel California */

/* Плавные анимации */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

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

/* Safe area для мобильных устройств с notch */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Mobile navigation bottom bar */
@media (max-width: 1023px) {
    .mobile-nav-item.active {
        color: #1f2937;
        background-color: #f3f4f6;
    }
    
    .mobile-nav-item:active {
        transform: scale(0.95);
    }
}

/* Навигация - анимированное подчеркивание */
.nav-link.active span {
    width: 100% !important;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

/* Стили для форм */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Стили для таблиц */
table {
    border-collapse: separate;
    border-spacing: 0;
}

thead th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

/* Badge стили */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-info {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Hover эффекты для карточек */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Кнопки */
.btn {
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

/* Модальные окна */
.modal {
    transition: opacity 0.3s ease;
}

.modal-content {
    animation: slideIn 0.3s ease;
}

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

/* Прогресс-бар */
.progress-bar {
    transition: width 0.5s ease;
}

/* Градиенты для фона */
.bg-gradient-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Утилиты */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow-soft {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
