/* admin.css */

/* Основной флекс-каркас */
.admin-layout {
  display: flex;
  flex: 1 0 auto;   /* растянись на всю доступную высоту body */
  width: 100%;
  align-items: stretch;
  /* фон тут не обязателен, т.к. фон на html/body */
}

/* Сайдбар подгружается из admin_sidebar.css */

/* Основная часть справа */
.admin-main {
  flex: 1 1 0;
  padding: 48px 40px 40px 40px;
  background: #1a1a1a;
  color: #fff;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Заголовок и текст */
.admin-main h1 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #cab170;
  font-size: 2.2rem;
  font-family: inherit;
  font-weight: 700;
}

.admin-main p {
  color: #fff;
  margin-bottom: 26px;
  font-size: 1.08rem;
}

/* Ход разработки (блок с историями) */
.admin-progress-log {
  margin-bottom: 32px;
}

.admin-progress-log h2 {
  color: #cab170;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.admin-progress-log details {
  background: #181818;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0;
}

.admin-progress-log summary {
  font-weight: 600;
  color: #cab170;
  cursor: pointer;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  outline: none;
  user-select: none;
  transition: background 0.18s;
  list-style: none;
}

.admin-progress-log details[open] summary {
  background: #22221e;
}

.admin-progress-log ul {
  margin: 10px 0 10px 32px;
  padding-left: 0;
}

.admin-progress-log li {
  margin-bottom: 4px;
  line-height: 1.7;
  color: #eee;
  font-size: 1rem;
  font-weight: 400;
}

.admin-progress-log a {
  color: #cab170;
  text-decoration: underline;
  transition: color 0.13s;
}

.admin-progress-log a:hover {
  color: #ffe5a6;
}

/* Список разделов */
.admin-sections-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 22px;
}

/* Карточки разделов */
.admin-section-item {
  background: #232428;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(40, 60, 80, 0.08);
  padding: 22px 26px;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s;
}

.admin-section-item:hover {
  box-shadow: 0 6px 22px rgba(40, 60, 80, 0.20);
}

.admin-section-item a {
  color: #5c8afd;
  font-size: 1.15rem;
  text-decoration: none;
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .15s;
  display: inline-block;
}

.admin-section-item a:hover {
  color: #b5cbff;
  text-decoration: underline;
}

.admin-section-desc {
  font-size: 1rem;
  color: #b3bac9;
  margin-top: 3px;
}

/* Заголовки групп */
.admin-main h2 {
  margin: 32px 0 16px 0;
  color: #cab170;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Адаптивность */
@media (max-width: 950px) {
  .admin-main {
    padding: 28px 10px 30px 10px;
  }

  .admin-sections-list {
    flex-direction: column;
    gap: 14px;
  }

  .admin-section-item {
    min-width: 0;
    max-width: 100%;
    padding: 16px 12px;
  }
}

/* Убрать стандартный маркер у summary в details (чтобы не было треугольника) */
.admin-progress-log summary::-webkit-details-marker,
.admin-progress-log summary::marker {
  display: none;
  content: "";
}

.in-progress-block {
  background: #22221e;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(30, 30, 10, 0.06);
  border-left: 4px solid #cab170;
}

.in-progress-title {
  color: #cab170;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}

.in-progress-list {
  margin: 12px 0 0 0;
  padding: 0 0 0 18px;
  color: #fff;
  font-size: 1.03rem;
}

.in-progress-list li {
  margin-bottom: 5px;
  line-height: 1.6;
  font-size: 1.01rem;
  font-weight: 400;
}

.admin-progress-log {
  margin-bottom: 32px;
}

.in-progress-block {
  background: #22221e;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(30, 30, 10, 0.06);
  border-left: 4px solid #cab170;
}

.in-progress-title {
  color: #cab170;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}

.in-progress-list {
  margin: 12px 0 0 0;
  padding: 0 0 0 18px;
  color: #fff;
  font-size: 1.03rem;
}

.in-progress-list li {
  margin-bottom: 5px;
  line-height: 1.6;
  font-size: 1.01rem;
  font-weight: 400;
}

.admin-progress-log details {
  background: #181818;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0;
}

.admin-progress-log summary {
  font-weight: 600;
  color: #cab170;
  cursor: pointer;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  outline: none;
  user-select: none;
  transition: background 0.18s;
  list-style: none;
}

.admin-progress-log details[open] summary {
  background: #22221e;
}

.admin-progress-log ul {
  margin: 10px 0 10px 32px;
  padding-left: 0;
}

.admin-progress-log li {
  margin-bottom: 4px;
  line-height: 1.7;
  color: #eee;
  font-size: 1rem;
  font-weight: 400;
}

.admin-progress-log a {
  color: #cab170;
  text-decoration: underline;
  transition: color 0.13s;
}

.admin-progress-log a:hover {
  color: #ffe5a6;
}