/* Основные стили */
body {
    font-family: 'Inter', sans-serif;
    background-color: #020617;
    color: #e2e8f0;
}

/* Стили для скроллбара */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
/* Анимации */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

@keyframes pulse {
0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

th, td {
    padding: 8px 12px;
    border-bottom: 1px solid #1e293b;
}

tr:hover {
    background-color: #1e293b;
}

/* Стили для модальных окон */
.modal-transition {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-enter {
    opacity: 0;
    transform: scale(0.95);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.95);
}
/* Стили для статусов сообщений */
.status-suspicious {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.status-normal {
    background-color: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
}

.status-warning {
    background-color: rgba(234, 179, 8, 0.1);
    border-left: 3px solid #eab308;
}

/* Стили для выпадающего меню пользователя */
.user-dropdown {
  transition: all 0.3s ease;
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.user-dropdown a i {
  width: 16px;
  height: 16px;
}

/* Активный пункт меню */
a.active {
  color: white;
  background-color: rgba(59, 130, 246, 0.5);
  border-radius: 0.5rem;
}

a.active:hover {
  background-color: rgba(59, 130, 246, 0.7);
}
