.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
}

/* Стили для вкладок настроек модулей */
.tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}

.tab:hover {
    color: #495057;
    background: #e9ecef;
}

.tab.active {
    color: #007bff;
    background: white;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #007bff;
}

.tab-content {
    display: none;
    padding: 30px;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность для вкладок */
@media (max-width: 768px) {
    .tab-content {
        padding: 20px;
    }
    .tab {
        padding: 12px 15px;
        font-size: 13px;
    }
}
.admin-tile {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    border-left: 5px solid #667eea;
}
.admin-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.admin-tile.purple {
    border-left: 5px solid #764ba2;
}
.upload-zone {
    border: 2px dashed #007bff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    background: #f8f9ff;
    transition: all 0.3s;
    cursor: pointer;
}
.upload-zone:hover,
.upload-zone.dragover {
    background: #e3f2fd;
    border-color: #0056b3;
}
.sync-button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 15px;
    transition: all 0.3s;
}
.sync-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}
.warning-card {
    background: #e2e3e5;
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 15px;
    color: #495057;
}
.tile-icon {
    font-size: 3em;
    margin-bottom: 15px;
}
.tile-count {
    background: rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}
.notification-badge.red { background: #dc3545; }
.notification-badge.blue { background: #007bff; }
.notification-badge.gray { background: #6c757d; }

.section-block {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 1.5rem;
}
.section-block h6 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.info-value {
  color: #2d3748;
  font-family: 'Monaco', 'Consolas', monospace;
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  display: inline-block;
  font-size: 0.875rem;
  vertical-align: middle;
  margin-left: 0.5rem;
}
/* Кастомная обёртка для модального окна модерации */
.mod-wrapper {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: #ffffff;
  position: relative; /* для абсолютного позиционирования стрелок */
}
/* Отдельные секции внутри обёртки */
.mod-block {
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background-color: #f8f9fa;
}

/* Навигационные стрелки для модального окна модерации */
.mod-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 60px;
  background: rgba(236, 234, 234, 0.144);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  cursor: pointer;
  color: #495057;
  transition: background 0.2s;
  z-index: 10;
}
.mod-nav:hover {
  background: rgba(161, 161, 161, 0.1);
}
.mod-prev {
  left: -40px;
}
.mod-next {
  right: -60px;
}