body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #333333;
  min-height: 100vh;
}

.container {
  /* Ширина: 5 карточек по 250px + 4 отступа по 20px */
  max-width: calc(250px * 5 + 20px * 4);
  margin: 0 auto;
  padding: 60px 0; /* Убираем горизонтальные паддинги */
}

h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #111827;
  font-weight: 700;
}

/* 🔍 Search */
.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.search-box input {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  background: white;
  color: #111827;
  transition: border-color 0.2s;
}

.search-box input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box button {
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  background: #2563eb;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-box button:hover {
  background: #1d4ed8;
}
/* ОБЗОР */
.review-section {
    margin-bottom: 50px;
    display: none;
}

.review-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: #111827;
    font-weight: 600;
}

.review-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 800px;
}

.review-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    display: none;
}

.review-table th {
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    background: #f9fafb;
    border-bottom: 2px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    color: #4b5563;
    font-size: 15px;
}

.review-table tr:last-child td {
    border-bottom: none;
}

.review-table tr:hover td {
    background: #f9fafb;
}

.review-table .platform-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.review-table .platform-name img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.review-table .total-row td {
    background: #f8fafc;
    font-weight: 700;
    color: #111827;
    border-top: 2px solid #e5e7eb;
}

.review-table .total-row:hover td {
    background: #f1f5f9;
}

.review-table td:not(:first-child) {
    text-align: left;
    font-weight: 500;
    min-width: 80px;
}

.review-table td:contains("-") {
    color: #9ca3af;
    font-weight: 400;
}

/* ОБЛОЖКИ */
.covers-section {
  margin-bottom: 50px;
  display: none;
  padding: 0; 
}

.covers-title {
  font-size: 28px;
  margin-bottom: 16px;
  color: #111827;
  font-weight: 600;
}

.covers-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 800px;
}

.covers-grid {
  display: grid;
  grid-template-columns: repeat(5, 250px); 
  gap: 20px;
  justify-content: center; 
  width: 100%;
  margin: 0 auto; 
}

.covers-grid > a:first-child .cover-card {
  margin-left: 0;
}

.covers-grid > a:last-child .cover-card {
  margin-right: 0;
}

.cover-card {
  width: 250px; 
  height: 380px; 
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cover-card a {
    text-decoration: none;
    color: inherit; /* Чтобы цвет текста не менялся на синий */
}

a.cover-card-link,
a.cover-card-link * {
    text-decoration: none !important;
    color: inherit !important;
}

a.cover-card-link:hover,
a.cover-card-link:hover * {
    text-decoration: none !important;
    color: inherit !important;
}

.cover-image-container {
  width: 250px;
  height: 250px; 
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0; 
}

.cover-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cover-card:hover .cover-image {
  transform: scale(1.08);
}

.cover-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: white;
  min-height: 100px; 
}

.cover-playlist-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  flex-grow: 1;
}

.cover-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.cover-platform img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.cover-platform span {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.result-title {
  font-size: 28px;
  margin-bottom: 30px;
  display: none;
  color: #111827;
  font-weight: 600;
}


/* ПЛЕЙЛИСТЫ */
.playlists-title {
  font-size: 28px;
  margin: 50px 0 16px 0;
  color: #111827;
  font-weight: 600;
  display: none;
}

.playlists-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 800px;
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #f3f4f6;
  display: none;
}

th {
  text-align: left;
  padding: 18px 20px;
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  background: #f9fafb;
  border-bottom: 2px solid #f3f4f6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 18px 20px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #4b5563;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #f9fafb;
}

.track {
  font-weight: 700;
  color: #111827;
  font-size: 16px;
}

.artist {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.platform {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.position {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.date {
  font-size: 13px;
  color: #9ca3af;
}

.playlist-cell {
  color: #0284c7;
  font-weight: 600;
}

.playlist-cell a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.playlist-cell a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.playlist-link {
  color: #1E90FF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.playlist-link:hover {
    color: #1C86EE;
}

/* ЧАРТЫ */
.charts-title, .new-releases-title {
    font-size: 28px;
    margin: 50px 0 16px 0;
    color: #111827;
    font-weight: 600;
    display: none;
}

.charts-description, .new-releases-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 800px;
    display: none;
}

.charts-table, .new-releases-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    display: none;
    margin-bottom: 50px;
}

.charts-table th, .new-releases-table th{
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    background: #f9fafb;
    border-bottom: 2px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.charts-table td, .new-releases-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    color: #4b5563;
}

.charts-table tr:last-child td, .new-releases-table tr:last-child td {
    border-bottom: none;
}

.charts-table tr:hover td, .new-releases-table tr:hover td {
    background: #f9fafb;
}

.chart-link, .new-releases-link {
    color: #1E90FF; 
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: left;
    gap: 8px;
}

.charts-table .position, .new-releases-table .position{
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.charts-table .platform, .new-releases-table .platform {
    display: flex;
    align-items: center;
    gap: 10px;
}

.charts-table .platform img, .new-releases-table .platform img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

/* ---------------- ВК публикации ---------------- */
.vkpublication-page {
    margin-bottom: 50px;
}

.vkpublication-title {
    font-size: 28px;
    margin: 50px 0 16px 0;
    color: #111827;
    font-weight: 600;
    display: none;
}

.vkpublication-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    display: none;
    margin-bottom: 50px;
}

.vkpublication-table th {
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    background: #f9fafb;
    border-bottom: 2px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vkpublication-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    color: #4b5563;
}

.vkpublication-table tr:last-child td {
    border-bottom: none;
}

.vkpublication-table tr:hover td {
    background: #f9fafb;
}

.vkpublication-table .wall-link {
    color: #1E90FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}


.vkpublication-table .platform {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #6b7280;
    margin-top: 4px;
}

.vkpublication-table .platform img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.vkpublication-table .views,
.vkpublication-table .likes,
.vkpublication-table .reposts,
.vkpublication-table .comments {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.vkpublication-table td:first-child {
    min-width: 300px;
}

.vkpublication-table td:not(:first-child) {
    text-align: left;
    font-weight: 500;
    min-width: 80px;
}

.vkpublication-table td:contains("-") {
    color: #9ca3af;
    font-weight: 400;
}

.vkmetrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.tiktokmetrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.instagrammetrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}


.metric-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;  /* Уменьшил вертикальный padding */
    text-align: left;     /* Выровнял по левому краю */
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.metric-item:hover {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.metric-value {
    font-size: 24px;      /* Уменьшил с 32px до 24px */
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 4px;    /* Уменьшил отступ */
    font-family: 'Inter', sans-serif;
}

.metric-label {
    font-size: 12px;      /* Уменьшил с 14px до 12px */
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em; /* Немного уменьшил интервал */
    font-weight: 500;
}




/* ---------------- TikTok публикации ---------------- */
.tiktokpublication-page {
    margin-bottom: 50px;
}

.tiktokpublication-title {
    font-size: 28px;
    margin: 50px 0 16px 0;
    color: #111827;
    font-weight: 600;
    display: none;
}

.tiktokpublication-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    display: none;
    margin-bottom: 50px;
}

.tiktokpublication-table th {
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    background: #f9fafb;
    border-bottom: 2px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tiktokpublication-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    color: #4b5563;
}

.tiktokpublication-table tr:last-child td {
    border-bottom: none;
}

.tiktokpublication-table tr:hover td {
    background: #f9fafb;
}

.tiktokpublication-table .wall-link {
    color: #1E90FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}


.tiktokpublication-table .platform {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #6b7280;
    margin-top: 4px;
}

.tiktokpublication-table .platform img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.tiktokpublication-table .views,
.tiktokpublication-table .likes,
.tiktokpublication-table .reposts,
.tiktokpublication-table .comments {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.tiktokpublication-table td:first-child {
    min-width: 300px;
}

.tiktokpublication-table td:not(:first-child) {
    text-align: left;
    font-weight: 500;
    min-width: 80px;
}

.tiktokpublication-table td:contains("-") {
    color: #9ca3af;
    font-weight: 400;
}


/* ---------------- Instagram публикации ---------------- */
.instagrampublication-page {
    margin-bottom: 50px;
}

.instagrampublication-title {
    font-size: 28px;
    margin: 50px 0 16px 0;
    color: #111827;
    font-weight: 600;
    display: none;
}

.instagrampublication-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    display: none;
    margin-bottom: 50px;
}

.instagrampublication-table th {
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    background: #f9fafb;
    border-bottom: 2px solid #f3f4f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.instagrampublication-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    color: #4b5563;
}

.instagrampublication-table tr:last-child td {
    border-bottom: none;
}

.instagrampublication-table tr:hover td {
    background: #f9fafb;
}

.instagrampublication-table .wall-link {
    color: #1E90FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}


.instagrampublication-table .platform {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #6b7280;
    margin-top: 4px;
}

.instagrampublication-table .platform img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.instagrampublication-table .views,
.instagrampublication-table .likes,
.instagrampublication-table .reposts,
.instagrampublication-table .comments {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.instagrampublication-table td:first-child {
    min-width: 300px;
}

.instagrampublication-table td:not(:first-child) {
    text-align: left;
    font-weight: 500;
    min-width: 80px;
}

.instagrampublication-table td:contains("-") {
    color: #9ca3af;
    font-weight: 400;
}




.report-block {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 42px 24px;
    margin-bottom: 30px;
    min-height: 800px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Верхний заголовок */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
}

.report-label {
    font-size: 22px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Контейнер для центральной группы (контент + тип отчета) */
.report-center-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Центрирование по вертикали */
    gap: 25px;  /* Небольшой отступ между элементами */
    margin: 0;  /* Убрал лишние отступы */
}

/* Основной контент */
.report-content {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;  /* Убрал margin */
}

/* Обложка */
.report-cover {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.report-cover .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Информация о треке */
.report-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-track-info .track-name {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.report-track-info .track-artist {
    font-size: 20px;
    color: #4b5563;
    font-weight: 500;
}

.report-track-info .track-type {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Контейнер для типа отчета */
.report-type-container {
    display: flex;
    align-items: center;
    margin: 0;  /* Убрал все margin */
    padding: 0;  /* Убрал padding */
}

/* Тип отчета (большой) */
.report-type-large {
    font-size: 56px;
    font-weight: 500;
    color: #000000;
    line-height: 1;
    letter-spacing: -0.02em;
    opacity: 0.9;
}

/* Нижняя часть */
.report-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    border-top: none;
    margin-top: auto;  /* Прижимает к низу */
}

.report-platform {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}

.platform-name {
    font-size: 20px;
    color: #000000;
    font-weight: 500;
}

.report-date {
    font-size: 20px;
    color: #6b7280;
    font-weight: 500;
}

.platform-icons-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.platform-icons-row .platform-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}




.error {
  margin-top: 20px;
  color: #dc2626;
  padding: 16px 20px;
  background: #fef2f2;
  border-radius: 12px;
  border: 1px solid #fecaca;
  display: none;
  font-size: 15px;
}

.success {
  margin-top: 20px;
  color: #059669;
  padding: 16px 20px;
  background: #f0fdf4;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  display: none;
}

* {
  box-sizing: border-box;
}

.pdf-button {
  position: fixed;
  right: 24px;
  top: 24px;
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdf-button::before {
  content: "📄";
  font-size: 16px;
}

.pdf-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.pdf-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}




/* Auth styles */
.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-container h1 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form input {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    outline: none;
}

.auth-form button {
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-form button:hover {
    background: #1d4ed8;
}

.auth-container p {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
}

.auth-container a {
    color: #2563eb;
    text-decoration: none;
}




/* ========== DASHBOARD STYLES ========== */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-title {
    font-size: 32px;
    margin: 0;
    color: #111827;
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-username {
    font-weight: 600;
    color: #4b5563;
}

.dashboard-logout-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dashboard-logout-btn:hover {
    background: #e5e7eb;
}

.dashboard-actions {
    margin-bottom: 30px;
}

.dashboard-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.dashboard-create-btn:hover {
    background: #1d4ed8;
}

.dashboard-plus-icon {
    font-size: 20px;
    font-weight: 700;
}

.dashboard-section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #111827;
}

/* Список отчетов */
.dashboard-reports-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.dashboard-report-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

/* Левая часть с обложкой и информацией */
.dashboard-item-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.dashboard-item-cover {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.dashboard-cover-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.dashboard-cover-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dashboard-item-info {
    flex: 1;
}

.dashboard-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.dashboard-item-artist {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 4px 0;
}

.dashboard-item-date {
    font-size: 13px;
    color: #9ca3af;
}

/* Правая часть с кнопками */
.dashboard-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dashboard-action-view {
    padding: 8px 16px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dashboard-action-view:hover {
    background: #1d4ed8;
}

.dashboard-action-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.dashboard-action-icon:hover {
    background: #e5e7eb;
    color: #111827;
}

.dashboard-action-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Пустое состояние */
.dashboard-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 16px;
}

.dashboard-empty-text {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 20px;
}

.dashboard-empty-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dashboard-empty-btn:hover {
    background: #1d4ed8;
}

.dashboard-search-form {
    margin-bottom: 24px;
}

.dashboard-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 16px;
    min-height: 56px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dashboard-search-icon {
    color: #9ca3af;
    font-size: 15px;
}

.dashboard-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #111827;
}

.dashboard-search-input::placeholder {
    color: #9ca3af;
}

.dashboard-search-clear {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.report-refresh-loader {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.report-refresh-loader-box {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.report-refresh-loader-icon {
    font-size: 34px;
    color: #2563eb;
    margin-bottom: 16px;
}

.report-refresh-loader-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.report-refresh-loader-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* ========== NEW REPORT STYLES ========== */
.newreport-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.newreport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.newreport-title {
    font-size: 28px;
    margin: 0;
    color: #111827;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.newreport-title i {
    color: #2563eb;
    font-size: 28px;
}

.newreport-back-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.2s;
    background: #f9fafb;
}

.newreport-back-link:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.newreport-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.newreport-field {
    margin-bottom: 8px;
}

.newreport-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.newreport-label i {
    color: #2563eb;
    font-size: 18px;
    width: 20px;
}

.newreport-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.newreport-input:focus {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    outline: none;
}

.newreport-input:hover {
    border-color: #9ca3af;
    background: white;
}

.newreport-input::placeholder {
    color: #9ca3af;
    font-size: 15px;
}

.newreport-textarea {
    width: 100%;
    height: 200px;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.6;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
}

.newreport-textarea:focus {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    outline: none;
}

.newreport-textarea:hover {
    border-color: #9ca3af;
    background: white;
}

.newreport-textarea::placeholder {
    color: #9ca3af;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/* Чекбоксы */
.newreport-checkboxes {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newreport-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    transition: all 0.2s;
    cursor: pointer;
    background: white;
    border: 1px solid transparent;
}

.newreport-checkbox-item:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
    transform: translateX(4px);
}

.newreport-checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2563eb;
    margin: 0;
}

.newreport-checkbox-text {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newreport-checkbox-text i {
    font-size: 18px;
    width: 24px;
}

/* Подсказка для поля ссылок */
.links-hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.links-hint i {
    color: #2563eb;
    font-size: 14px;
}

/* Счетчик ссылок */
.links-counter {
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
    text-align: right;
    padding: 4px 8px;
}

.links-counter span {
    font-weight: 600;
    color: #2563eb;
    background: #dbeafe;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
}

/* Кнопка отправки */
.newreport-submit-btn {
    width: 100%;
    padding: 18px 24px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newreport-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.newreport-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.newreport-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.newreport-submit-btn i {
    font-size: 20px;
}

/* Индикатор загрузки */
.newreport-loading {
    text-align: center;
    padding: 30px;
    background: #f9fafb;
    border-radius: 20px;
    margin-top: 24px;
    border: 2px solid #e5e7eb;
}

.newreport-loading-text {
    color: #2563eb;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
}

.newreport-loading-text i {
    animation: spin 1s linear infinite;
    font-size: 20px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Анимация появления поля для ссылок */
#linksGroup {
    animation: slideDown 0.3s ease;
}

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


.finance-blocks {
    display: grid;
    gap: 20px;
    margin-top: 12px;
}

.finance-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.finance-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 18px;
}

.finance-card-title i {
    color: #2563eb;
}

.finance-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.finance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.finance-row-label {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    min-width: 140px;
}

.finance-input {
    width: 220px;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    background: #fff;
}

.finance-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.finance-comment-group {
    margin-top: 18px;
}

.finance-comment-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.finance-textarea {
    width: 100%;
    min-height: 90px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: all 0.2s ease;
    background: #fff;
}

.finance-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.finance-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.finance-platform-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #dbe3f0;
    border-radius: 999px;
    background: #f8fafc;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.finance-platform-item input {
    margin: 0;
}

.finance-publication-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.finance-publication-platform {
    padding: 16px;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fbfdff;
}

.finance-platform-item input[type="checkbox"] {
    cursor: pointer;
    accent-color: #2563eb;
    margin: 0;
}

.finance-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.finance-platform-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.finance-platform-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;

    border-radius: 6px;
}
/* ========== FINANCIAL REPORT ========== */
.financial-page {
    display: none;
    margin-bottom: 56px;
}

.financial-title {
    font-size: 30px;
    margin: 52px 0 12px 0;
    color: #111827;
    font-weight: 700;
    display: none;
    letter-spacing: -0.02em;
}

.financial-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 820px;
    display: none;
}

.financial-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, 1fr);
}

.financial-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid #e8edf5;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.financial-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.financial-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f3f7ff;
    border: 1px solid #e3ebf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
}

.financial-card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 6px;
}

.financial-card-icon i {
    font-size: 17px;
}

.financial-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.financial-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.financial-row:last-child {
    border-bottom: none;
}

.financial-label {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
}

.financial-value {
    font-size: 17px;
    color: #0f172a;
    font-weight: 500;
    text-align: right;
    letter-spacing: -0.01em;
}

.financial-comment {
    margin-top: 18px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 16px;
}

.financial-comment-title {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.financial-comment-text {
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
    white-space: pre-wrap;
}

.financial-subcards {
    display: grid;
    gap: 14px;
    margin-top: 4px;
}

.financial-subcard {
    border: 1px solid #edf2f7;
    background: #fcfdff;
    border-radius: 18px;
    padding: 18px;
}

.financial-subcard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.financial-subcard-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f3f7ff;
    border: 1px solid #e5ecf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.financial-subcard-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 5px;
}

.financial-empty {
    color: #94a3b8;
    font-size: 14px;
}

.financial-platform {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;
    color: #111827;

    margin-bottom: 16px;
}

.financial-platform img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: contain;
}

.financial-platform-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.financial-platform-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-platform-left {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.financial-platform-left img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: contain;
}

.financial-platform-price {
    font-size: 17px;
    color: #0f172a;
    font-weight: 500;
    text-align: right;
    letter-spacing: -0.01em;
}
.finance-tools-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}

.finance-tool-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fbfdff;
    padding: 16px;
}

.finance-tool-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.finance-tool-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.finance-tool-remove-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #fee2e2;
    color: #dc2626;
    cursor: pointer;
    transition: background 0.2s ease;
}

.finance-tool-remove-btn:hover {
    background: #fecaca;
}

.finance-tool-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.finance-add-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 18px;
}

.finance-add-tool-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* ========== ADMIN USERS PAGE ========== */

.admin-subtitle {
    margin: 8px 0 0 0;
    font-size: 15px;
    color: #6b7280;
}

.admin-create-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.admin-card-header {
    margin-bottom: 20px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.admin-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.admin-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}

.admin-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.admin-input:hover {
    border-color: #d1d5db;
}

.admin-form-checkbox {
    justify-content: center;
}

.admin-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    color: #374151;
    font-weight: 500;
}

.admin-checkbox-label input {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.admin-form-actions {
    display: flex;
    align-items: end;
}

.admin-users-section {
    margin-top: 12px;
}

.admin-user-item {
    gap: 20px;
}

.admin-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.admin-user-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-badge-green {
    background: #dcfce7;
    color: #15803d;
}

.admin-badge-red {
    background: #fee2e2;
    color: #dc2626;
}

.admin-user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-inline-form {
    margin: 0;
}

.admin-password-panel {
    margin-top: -6px;
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
}

.admin-password-form {
    display: flex;
    align-items: end;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-password-field {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-password-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-secondary-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.admin-secondary-btn:hover {
    background: #e5e7eb;
}




.production-upload-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.production-file-input {
    display: none;
}

.production-dropzone {
    display: block;
    width: 100%;
    border: 2px dashed #d1d5db;
    border-radius: 18px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.production-dropzone:hover {
    border-color: #2563eb;
    background: #f8fbff;
}

.production-dropzone.dragover {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.production-dropzone-inner {
    padding: 34px 20px;
    text-align: center;
}

.production-dropzone-icon {
    font-size: 34px;
    color: #2563eb;
    margin-bottom: 14px;
}

.production-dropzone-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.production-dropzone-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.production-dropzone-hint {
    font-size: 13px;
    color: #9ca3af;
}

.production-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.production-preview-image-wrap {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.production-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.production-preview-info {
    flex: 1;
    min-width: 0;
}

.production-preview-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
    margin-bottom: 4px;
}

.production-preview-meta {
    font-size: 13px;
    color: #6b7280;
}

.production-remove-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: #fee2e2;
    color: #dc2626;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.production-remove-btn:hover {
    background: #fecaca;
}


.production-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.production-images-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.production-image-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.production-image {
    max-width: 90%;
    height: auto;
    border-radius: 12px;
}

.production-preview-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.production-preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}


/* ЯНДЕКС ИМПУЛЬС */
.yandex-impulse-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 14px;
    margin-bottom: 32px;
    color: #000;
}

.yi-impulse-block {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.yi-impulse-cover {
    width: 296px;
    height: 296px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.yi-impulse-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.yi-impulse-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 296px;
}

.yi-impulse-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yi-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 9999px;
    white-space: nowrap;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.yi-status-ended {
    background: #ececec;
    color: #4a4a4a;
}

.yi-title {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #000;
}

.yi-meta {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.5);
}

.yi-impulse-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yi-dates {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.35;
    color: #000;
}

.yi-budget {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #000;
}

.yi-budget-spent,
.yi-budget-total {
    white-space: nowrap;
}


.yi-listeners-block {
    margin-top: 40px;
    margin-bottom: 48px;
}

.yi-listeners-header-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.yi-listeners-header {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.yi-listeners-layout {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 36px;
}

.yi-listeners-total {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.yi-listeners-total-value {
    background: linear-gradient(115.21deg, #8466dc 5.3%, #c8d3ff 89.98%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: 92px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;

    font-feature-settings: "tnum";
}

.yi-listeners-stats {
    flex: 1;
    min-width: 0;
}

.yi-listeners-bar {
    width: 100%;
    height: 24px;
    display: flex;
    gap: 1px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f3f3f3;
}

.yi-listeners-bar-segment {
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.yi-listeners-bar-segment.is-light-text {
    color: rgba(255, 255, 255, 0.7);
}

.yi-listeners-bar-segment.is-dark-text {
    color: #111;
}

.yi-segment-promo {
    background-color: rgb(132, 102, 220);
}

.yi-segment-promo-unauth {
    background-color: rgb(181, 163, 234);
}

.yi-segment-recommendations {
    background-color: rgb(213, 138, 226);
}

.yi-segment-other {
    background-color: rgb(186, 227, 98);
}

.yi-listeners-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yi-listeners-legend-item {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
}

.yi-listeners-legend-marker-wrap {
    margin-top: 5px;
    flex-shrink: 0;
}

.yi-listeners-legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.yi-marker-promo {
    background-color: rgb(132, 102, 220);
}

.yi-marker-promo-unauth {
    background-color: rgb(181, 163, 234);
}

.yi-marker-recommendations {
    background-color: rgb(213, 138, 226);
}

.yi-marker-other {
    background-color: rgb(186, 227, 98);
}

.yi-listeners-legend-content {
    flex: 1;
    min-width: 0;
}

.yi-listeners-legend-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: #111;
    margin-bottom: 2px;
}

.yi-listeners-legend-description {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: rgba(17, 17, 17, 0.5);
}

.yi-listeners-legend-value {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    padding-left: 12px;
}

.yi-listeners-block .nowrap {
    white-space: nowrap;
}

.yi-engagement-block {
    margin-top: 40px;
    margin-bottom: 0;
}

.yi-engagement-header-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.yi-engagement-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.yi-engagement-subtitle {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: rgba(17, 17, 17, 0.5);
}

.yi-engagement-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.yi-engagement-table thead tr {
    border-bottom: 1px solid #e8e8e8;
}

.yi-engagement-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
}

.yi-engagement-table tbody tr:last-child {
    border-bottom: none;
}

.yi-engagement-table th,
.yi-engagement-table td {
    padding: 16px;
    vertical-align: middle;
}

.yi-engagement-table th {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: rgba(17, 17, 17, 0.5);
    text-align: left;
}

.yi-engagement-table th:first-child {
    width: 100%;
}

.yi-engagement-table th:not(:first-child) {
    width: 130px;
}

.yi-engagement-table th:last-child {
    width: 160px;
}

.yi-engagement-row-label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.yi-engagement-row-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.yi-engagement-row-name {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: #111;
}

.yi-engagement-value {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    text-align: left;
    white-space: nowrap;
}

.yi-engagement-empty {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: rgba(17, 17, 17, 0.25);
    text-align: left;
    white-space: nowrap;
}

.yi-engagement-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    color: rgba(17, 17, 17, 0.45);
    border: 1px solid rgba(17, 17, 17, 0.18);
    vertical-align: middle;
}

.yi-engagement-th-label {
    display: inline-flex;
    align-items: center;
}

.yi-engagement-table .nowrap {
    white-space: nowrap;
}

.yi-engagement-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.yi-engagement-table thead {
    display: table-header-group;
}

.yi-engagement-table tbody {
    display: table-row-group;
}

.yi-engagement-table tr {
    display: table-row;
}

.yi-engagement-table th,
.yi-engagement-table td {
    display: table-cell;
}


.yi-dynamics-block {
    margin-top: 44px;
    margin-bottom: 0;
    width: 100%;
}

.yi-dynamics-table {
    width: 100%;
}

.yi-dyn-row {
    display: grid;
    grid-template-columns: 0.8fr 0.9fr 0.8fr 0.95fr 0.8fr 0.9fr 0.75fr 1.2fr 0.9fr 0.9fr 1fr;
    column-gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.yi-dyn-header-row {
    border-bottom: none;
    margin-bottom: 6px;
}

.yi-dyn-total-row {
    border-bottom: 2px solid rgba(17, 17, 17, 0.08);
    margin-bottom: 8px;
}

.yi-dyn-cell {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: #111;
    padding: 16px 0;
}

.yi-dyn-cell.is-head {
    color: rgba(17, 17, 17, 0.5);
    padding-top: 0;
    padding-bottom: 10px;
}

.yi-dyn-cell.is-total {
    padding-top: 0;
    padding-bottom: 18px;
}

.yi-dyn-cell.is-left {
    text-align: left;
}

.yi-dyn-cell.is-right {
    text-align: right;
}

.yi-dyn-cell.is-empty {
    color: rgba(17, 17, 17, 0.35);
}



#yandexListenersContainer,
#yandexEngagementContainer,
#yandexDynamicsContainer {
    margin-top: 56px;
}