/* Элегантные стили для Электронного журнала */

/* Hero секция */
.hero-card {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.3;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.btn-modern {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  transition: all 0.2s ease;
}

.btn-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Статистические карточки */
.stat-card {
  transition: all 0.3s ease;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

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

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.stat-label {
  color: #6c757d;
  font-weight: 500;
  font-size: 0.95rem;
}

.stat-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
}

/* Аналитические карточки */
.analytics-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

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

.icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.analytics-number {
  position: relative;
}

.empty-state {
  padding: 2rem 1rem;
  color: #6c757d;
}

.empty-state i {
  font-size: 2rem;
  display: block;
}

/* Стили для hero-card */
.hero-card {
  background: linear-gradient(135deg, #007bff, #0056b3, #003d82) !important;
  background-color: #007bff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4) !important;
}

.hero-card * {
  color: white !important;
}

/* Переопределение Bootstrap bg-gradient */
.hero-card.bg-gradient,
div[class*="hero-card"],
#hero-main-card {
  background: linear-gradient(135deg, #007bff, #0056b3, #003d82) !important;
  background-color: #007bff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4) !important;
  min-height: 200px !important;
}

/* Максимальная специфичность */
div#hero-main-card.hero-card {
  background: linear-gradient(135deg, #007bff, #0056b3, #003d82) !important;
  background-color: #007bff !important;
}

/* Принудительные стили для навигации */
.navbar .nav-link,
.navbar .navbar-brand {
  color: white !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar .nav-link.active {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Цветные кнопки быстрых действий */
.quick-action-btn {
  border: none;
  color: white;
  transition: all 0.3s ease;
  min-height: 120px !important;
  height: 120px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem !important;
}

/* Принудительная одинаковая высота для всех кнопок */
.quick-action-btn,
[class*="quick-action-"] {
  height: 120px !important;
  min-height: 120px !important;
  max-height: 120px !important;
}

.quick-action-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.quick-action-success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.quick-action-success:hover {
  background: linear-gradient(135deg, #20c997, #17a2b8);
}

.quick-action-primary {
  background: linear-gradient(135deg, #007bff, #6610f2);
}

.quick-action-primary:hover {
  background: linear-gradient(135deg, #6610f2, #e83e8c);
}

.quick-action-warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.quick-action-warning:hover {
  background: linear-gradient(135deg, #fd7e14, #dc3545);
}

.quick-action-info {
  background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.quick-action-info:hover {
  background: linear-gradient(135deg, #6f42c1, #007bff);
}

.quick-action-btn i {
  color: white;
  opacity: 0.9;
}

.quick-action-btn:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.quick-action-btn small {
  color: rgba(255, 255, 255, 0.8) !important;
}

.quick-action-btn:hover small {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Фиолетовые кнопки для статуса "Отработал" */
.bg-purple {
  background-color: #6f42c1 !important;
  color: white !important;
}

.btn-purple {
  background-color: #6f42c1;
  border-color: #6f42c1;
  color: white;
}

.btn-purple:hover {
  background-color: #5a30a5;
  border-color: #5a30a5;
  color: white;
}

.btn-outline-purple {
  border-color: #6f42c1;
  color: #6f42c1;
  background-color: transparent;
}

.btn-outline-purple:hover {
  background-color: #6f42c1;
  border-color: #6f42c1;
  color: white;
}

/* Общие улучшения */
.card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card-header {
  border-radius: 12px 12px 0 0;
}

.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

/* Утилиты */
.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1;
}

/* Респонсивность */
@media (max-width: 768px) {
  .hero-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .action-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
} 