body {
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    list-style: none;
    float: right;
    margin-top: 10px;
}

header ul li {
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="password"] {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

ul {
    padding: 0;
    list-style: none;
}

ul li {
    margin-bottom: 5px;
    color: #e8491d;
}

header .highlight, header .current a {
    color: #e8491d;
    font-weight: bold;
}

header a:hover {
    color: #cccccc;
    font-weight: bold;
}

.inline-form {
    display: inline;
}

.button-group {
    display: flex;
    gap: 5px;
}

.btn {
    display: inline-block;
    border: none;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    margin: 5px 0;
}

.btn:hover {
    background: #0779e4;
}

.log_reg-btn {
    background-color: #0779e4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin-top: 20px;
    width: 300px;
    box-sizing: border-box;
}

.log_reg-btn:hover {
    background-color: #065ab3;
}

table .btn-ban {
    background: #e74c3c;
}

table .btn-unban {
    background: #2ecc71;
}

.btn-create_key {
    background: #008000;
}

table .btn-extend {
    background: #f39c12;
}

table .btn-activate {
    background: green;
}

input[type="number"].input-days {
    width: 60px;
    padding: 8px;
    border: 1px solid #ccc;
    margin-right: 5px;
}

.table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table th, .table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: #333;
    color: #fff;
}

.table tbody tr:nth-child(even) {
    background: #f4f4f4;
}

.table tbody tr:hover {
    background: #e4e4e4;
}

.username-banned {
    color: red;
}

.username-online {
    color: green;
}

.username-offline {
    color: gray;
}

.key-banned {
    color: red;
}

.key-active {
    color: green;
}

.key-expired {
    color: yellow;
}

.key-inactive {
    color: gray;
}

.inline-form {
    display: inline;
}

.input-days {
    width: 50px;
}

.status-green {
    color: green;
}
.status-yellow {
    color: #e1c400;
}
.status-red {
    color: red;
}
.status-gray {
    color: gray;
}
.copy-button {
    margin-right: 10px;
    cursor: pointer;
}
/* Стили для списка файлов */
.file-list {
    padding: 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    max-width: 600px;
}

.file-item {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item a {
    color: #007bff; /* Синий цвет ссылки */
    text-decoration: underline; /* Подчеркивание ссылки */
}

.file-item a:hover {
    color: #0056b3; /* Более темный синий при наведении */
}

.file-size {
    color: #666;
    font-size: 14px;
}
/* Общие настройки для таблицы */
.file-list-table {
    width: auto; /* Авторазмер на основе содержимого */
    border-collapse: collapse; /* Убираем зазоры между ячейками */
    background-color: white; /* Белый фон таблицы */
    border-radius: 10px; /* Скругленные углы */
    overflow: hidden; /* Обрезка содержимого, чтобы углы оставались скругленными */
    margin-left: 0; /* Выравнивание таблицы по левому краю */
}

/* Стили для ячеек таблицы */
.file-list-table td {
    padding: 10px; /* Внутренние отступы для удобочитаемости */
    border-bottom: 1px solid #ccc; /* Нижняя граница строк */
}

/* Стили для ссылок */
.file-name a {
    color: blue; /* Стандартный синий цвет ссылок */
    text-decoration: underline; /* Подчеркивание ссылок по умолчанию */
}

/* Эффект при наведении на ссылки */
.file-name a:hover {
    text-decoration: none; /* Убираем подчеркивание при наведении */
}

/* Цвет текста для других колонок */
.file-modified {
    color: green; /* Цвет даты */
    text-align: left; /* Выравнивание по левому краю */
}

.file-size {
    color: red; /* Цвет размера файла */
    text-align: right; /* Выравнивание по правому краю */
}

/* Дополнительные стили */
.container h2 {
    margin-left: 0; /* Выравнивание заголовков по левому краю */
}


/* Таблица с градацией цветового окрашивания */
.color-grade-table {
    width: auto;
    border-collapse: collapse; /* Сжатая таблица без зазоров */
    background-color: #fff;
    margin-top: 20px;
    margin-left: left; /* Центровка */
    margin-right: auto;
    border-radius: 8px; /* Закругленные углы */
}

.color-grade-table td {
    padding: 6px 10px; /* Компактные отступы */
    height: 26px;
    font-size: 17px;
    border-bottom: 1px solid #ddd; /* Разделение строк */
}

.color-grade-table td:first-child {
    text-align: right;
    padding-right: 15px;
    max-width: 360px; /* Ограничение ширины первой колонки */
    white-space: nowrap; /* Запрещает перенос текста */
}

.color-grade-table td:nth-child(2) {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 120px; /* Ограничение ширины второй колонки */
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    white-space: nowrap;
}

.color-grade-table td:last-child {
    text-align: left;
    padding-left: 15px;
    max-width: 120px; /* Ограничение ширины третьей колонки */
    white-space: nowrap;
}
.color-grade-table .color-green {
    background-color: #00FF00; /* Светло-зеленый */
    color: #000; /* Цвет текста */
}

.color-grade-table .color-blue {
    background-color: #0000FF; /* Светло-голубой */
    color: #000;
}

.color-grade-table .color-yellow {
    background-color: #f3e09d; /* Светло-желтый */
    color: #000;
}

.color-grade-table .color-orange {
    background-color: #FFA500; /* Светло-оранжевый */
    color: #000;
}

.color-grade-table .color-red {
    background-color: #FF0000; /* Светло-красный */
    color: #000;
}
.color-grade-table .color-purple {
    background-color: #c778ce; /* Фиолетовый */
    color: #000;
}

.color-grade-table .color-cyan {
    background-color: #a3dfb9; /* Циан */
    color: #000;
}

.color-grade-table .color-yellow {
    background-color: #FFF600; /* Жёлтый */
    color: #000;
}

button[disabled] {
    background-color: #ccc !important;
    cursor: not-allowed;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #00aaff;  /* Голубая обводка */
    border-radius: 4px;
    font-size: 14px;
    width: 300px;              /* Фиксированная ширина, можно подстроить */
    text-align: left;          /* Выравнивание по левому краю */
}

.search-input::placeholder {
    font-size: 14px;
}

.product-controls {
    display: flex;
    align-items: center;
    gap: 10px;               /* Расстояние между поиском и кнопкой */
    margin-bottom: 10px;
}

/* Стили для кнопки "Добавить пару" */
.btn-add {
    padding: 8px 16px;
    background-color: #4CAF50;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-add:hover {
    background-color: #45a049;
}

/* Кнопки "Удалить" оставляем в своем стиле */
.removePairButton {
    padding: 4px 8px;
    background-color: #f44336;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.removePairButton:hover {
    background-color: #e53935;
}

.scrollable {
    max-height: 200px;  /* высота блока, можно корректировать */
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
}

#product-pairs .scrollable {
    max-height: 235px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    width: 600px;   /* Фиксированная ширина блока */
}

/* Стили для кнопки "Обработать таблицы" */
button[type="submit"] {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 20px;
}
button[type="submit"]:hover {
    background-color: #0069d9;
}
.scrollable {
    transition: all 0.3s ease-in-out;
}

/* Группа контролов для маржи, сортировки и рекламы */
.control-group {
    padding: 10px;
    background-color: #eaeaea;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.control-group label {
    font-weight: bold;
    font-size: 14px;
}

.table-edit-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #737373;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.table-edit-page h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}
/* Если нужно задать стиль для блока выбора файлов отдельно, можно добавить класс, например: */
.file-input-group {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #dcdcdc;
    border: 1px solid #bbb;
    border-radius: 4px;
}
.file-input-group label {
    font-weight: bold;
    margin-right: 10px;
}

.upload-boxes-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 0px;
}

.upload-box {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

/* Заголовок с подложкой чуть темнее */
.upload-box-header {
  padding: 10px;
  font-weight: bold;
  font-size: 16px;
}

/* Контент внутри бокса */
.upload-box-content {
  padding: 10px;
}

/* Пример цветовых тем */
/* Вариант 1 (зелёная тема) */
.upload-box-green {
  background-color: #d4edda;
}
.upload-box-green .upload-box-header {
  background-color: #c3e6cb;
}

/* Вариант 2 (голубая тема) */
.upload-box-blue {
  background-color: #39B3E3;
}
.upload-box-blue .upload-box-header {
  background-color: #2D8EB5;
}

/* Вариант 3 (красная тема) */
.upload-box-red {
  background-color: #f8d7da;
}
.upload-box-red .upload-box-header {
  background-color: #f5c6cb;
}
input[type="file"] {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Серая панель как у таблицы */
.upload-box-green {
  background-color: #f4f4f4;
  border: 1px solid #ccc;
}
.upload-box-green .upload-box-header {
  background-color: #d9d9d9;
  color: #333;
}

/* Карточки роллов */
.rolls-wrapper {
  column-width: 160px;
  column-gap: 16px;
}
.roll-block, .base-block {
  display: inline-block;
  width: 100%;
  margin: 2px 0;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.base-block {
  border-color: #c0392b;
  background: #fdecea;
  color: #c0392b;
}
.roll-block:hover, .base-block:hover {
  background: #e6e6e6;
  cursor: pointer;
}
.roll-price {
  font-weight: bold;
  margin-left: 4px;
}

/* Пустые ролы */
.empty-roll-block {
  padding: 4px 6px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  margin: 2px 0;
}

/* Синие карточки предметов */
.upload-box.upload-box-blue {
  background-color: #39B3E3;
  border-color: #2D8EB5;
}
.upload-box.upload-box-blue .upload-box-header {
  background-color: #2D8EB5;
  color: #fff;
}
.upload-box.upload-box-blue .upload-box-content {
  background-color: #ebf6fa;
  color: #333;
}
/* ==== Основные разворачиваемые блоки ==== */
.item-details {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
  background-color: #39B3E3;       /* same as .upload-box-blue */
  color: #fff;
}
.item-details > summary {
  cursor: pointer;                /* вернули «палец» */
  list-style: none;
  font-weight: bold;
}
.item-details[open] {
  background-color: #2D8EB5;      /* чуть потемнее при раскрытии */
}

/* ==== Контейнер роллов ==== */
.rolls-wrapper {
  /* по умолчанию колонки */
  column-width: 160px;
  column-gap: 12px;
  margin-top: 8px;
}
/* если мало — одна колонка */
.rolls-wrapper.single-column {
  column-count: 1;
}

/* ==== Карточки роллов и базы ==== */
.base-block, .roll-block {
  display: inline-block;
  width: 100%;
  margin: 4px 0;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  cursor: pointer;
}
.base-block {
  border-color: #c0392b;
  background: #fdecea;
  color: #c0392b;
}
.roll-block:hover, .base-block:hover {
  background: #e6e6e6;
}

/* лейбл и цена в одну строку */
.roll-block .roll-label,
.base-block .roll-label {
  display: inline;
  font-size: 12px;
  color: #555;
}
.roll-block .roll-price,
.base-block .roll-price {
  display: inline;
  font-size: 16px;
  font-weight: bold;
  margin-left: 4px;
}

/* ==== Пустые ролы ==== */
.empty-roll-block {
  background: #f9f9f9;
  color: #666; /* Было #999 или белый */
  border: 1px solid #ccc;
}

/* ==== Панели ==== */
.upload-box.upload-box-green {
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
}
.upload-box.upload-box-green .upload-box-header {
  background-color: #d9d9d9;
  color: #333;
}

.roll-block, .base-block, .empty-roll-block {
  width: 100px; /* Было 120px */
}
.status-warning {
  color: orange;
  font-weight: bold;
  margin-left: 8px;
}
.missing-ninja {
    border: 1px solid red;
    background-color: #ffe6e6;
}
.missing-input {
  border-color: red;
  background-color: #ffecec;
}
.form-warning {
  display: none;
  color: red;
  margin-left: 8px;
}
/* Дополняем существующий .item-details для Dust‑вывода */
.item-details.dust-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1.5fr;
  column-gap: 16px;
  align-items: center;
  text-decoration: none;
  /* сохраняем отступы и бордеры как у .item-details */
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #39B3E3;
  color: #fff;
}
.item-details.dust-grid .dust-col:nth-child(2),
.item-details.dust-grid .dust-col:nth-child(3),
.item-details.dust-grid .dust-col:nth-child(4) {
  text-align: center;
}
.item-details.dust-grid:hover {
  background-color: #2D8EB5;
}
.item-details.dust-grid .dust-col {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.item-details.dust-grid .dust-col.name {
  font-weight: bold;
}
/* Обёртка для двух колонок */
.columns-wrapper {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* Каждая колонка занимает по половине */
.boss-column {
  flex: 1;
}

/* Специальные фоны для колонок */
.identified-column .header-row,
.identified-column .item-details {
  background-color: #e8f5e9; /* очень светло‑зеленый */
  color: #1b5e20;
}
.unidentified-column .header-row,
.unidentified-column .item-details {
  background-color: #ffebee; /* очень светло‑красный */
  color: #b71c1c;
}
/* override для fallback‑элементов внутри колонок */
.unidentified-column .item-details.missing-ninja {
  background-color: #fff9c4;  /* светло‑желтый */
  border-color: #fbc02d;      /* чуть темнее желтый */
  color: #333;
}
/* Обёртка для трёхколоночных полей */
.three-col-fields {
  display: grid;
  grid-template-columns: repeat(6, 0.13fr);
  gap: 0.3rem; /* отступ между колонками и строками */
}

/* ===== Карточки напоминалок PoE2 — синий фон, читаемый текст ===== */
.item-card {
  display: block;
  text-decoration: none;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #39B3E3; /* синий фон (как было) */
  color: #f5f7fa;            /* основной цвет текста — светло-серый */
  transition: background-color 120ms ease, transform 120ms ease;
  word-wrap: break-word;
}

.item-card:hover {
  background-color: #2D8EB5; /* hover-тон потемнее */
  transform: translateY(-2px);
}

/* Заголовок — яркий, почти белый */
.item-card .card-title {
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 8px;
  color: #ffffff;     /* чисто белый для максимального контраста */
  line-height: 1.2;
}

/* Описание — чуть мягче, светло-серый */
.item-card .card-desc {
  font-size: 0.95rem;
  line-height: 1.35;
  color: black;     /* светло-серый для удобного чтения на синем */
  white-space: normal;
  max-height: 10rem;  /* ограничение по высоте (можно убрать) */
  overflow: auto;
  padding-right: 6px;
}

.item-card .desc-line {
  margin-bottom: 6px;
}

/* Адаптив */
@media (max-width: 600px) {
  .item-card { padding: 12px; }
  .item-card .card-title { font-size: 1rem; }
  .item-card .card-desc { font-size: 0.9rem; max-height: 8rem; }
}



/* --- Cluster cards layout --- */
.cluster-card,
.group-card {
  display: block;
  margin: 14px 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Основная карточка (Medium / Large) — бирюзовый фон */
.cluster-card.upload-box.upload-box-blue {
  background: linear-gradient(180deg, #0fb3a7 0%, #0aa298 100%); /* бирюзовый */
  color: #fff;
  padding: 6px;
}

/* Подкарточка (группа) — более тёмный синий фон когда свернута */
.group-card {
  background: #24577B; /* насыщенный синий */
  color: #fff;
  margin: 10px 8px;  /* отступ внутри основной карточки */
  padding: 10px;
  border-radius: 8px;
  transition: background .15s ease;
}

/* Когда раскрыта — сделать лёгкий контрастный фон для содержимого */
.group-card[open] {
  background: #24577B; /* светлая подложка содержимого */
  color: #fff;
}

/* Контент внутри раскрытой подкарточки — отодвигаем от левого края */
.group-card .group-body,
.group-card .group-controls {
  padding: 8px 12px;
}

/* Контейнер с управляющими элементами (select, input, кнопки) */
.group-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* Прямо "табличный" компактный ряд сверху */
.group-controls .inline-form {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}

/* Общие маленькие поля */
.small-input {
  height: 30px;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}

/* Кастомное поле для попыток — короче (до 4 цифр удобно) */
.small-input.attempts-custom {
  width: 84px;
}

/* Поле для цены пары — ещё уже */
.small-input.pair-price-input {
  width: 98px;
  text-align: center;
}

.small-input.base-price-input {
  width: 98px;
  text-align: center;
}

/* Кнопки маленькие */
.btn-small {
  padding: 6px 9px;
  font-size: 13px;
  border-radius: 6px;
  background: #1049A9;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
}

/* Тонкая разделительная линия между карточками */
.cluster-card + .cluster-card {
  margin-top: 18px;
}

/* --- Таблица пар --- */
.pairs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  background: #28323B;
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* Заголовки */
.pairs-table thead th {
  border-bottom: 2px solid #222;
  padding: 8px 10px;
  font-weight: 600;
  text-align: center;
  background: #000;
}

/* Ячейки */
.pairs-table td {
  border-bottom: 1px solid #e6eef2;
  padding: 8px 10px;
  vertical-align: middle;
  text-align: center;
}

/* Первая колонка (номер/название) — выравнивание влево */
.pairs-table td:first-child,
.pairs-table th:first-child {
  text-align: left;
  padding-left: 12px;
  width: 34px;
}

/* Ссылки trade выглядят как кнопки */
.trade-link,
a.trade-btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: linear-gradient(#0b66a3, #075284);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,0.08);
}

/* Футер карточки — компактный блок сводных чисел */
.cluster-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
}

/* Сводная краткая строка прибыли */
.summary-numbers {
  padding-left: 6px;
  font-weight: 600;
}

/* Немного уменьшить общий отступ внутри контейнера */
.container {
  padding: 14px 18px;
}

/* Мелкие помощники */
.warning {
  color: #8a3f00;
  background: #fff4e6;
  padding: 6px;
  border-radius: 6px;
  display: inline-block;
}

/* Inline-формы внутри таблицы (чтобы не растягивали строку) */
.inline-form input[type="text"],
.inline-form input[type="number"],
.inline-form select {
  box-sizing: border-box;
}

/* Скрываем стандартный outline, оставляем аккуратный фокус */
.inline-form input:focus,
.inline-form select:focus,
.inline-form button:focus {
  outline: 2px solid rgba(11,102,163,0.15);
  outline-offset: 1px;
}

/* === Стили для страницы POE2 Ninja === */
.poe2-ninja-page .scan-form {
  max-width: 500px;
}

.poe2-ninja-page .form-group {
  margin-bottom: 1rem;
}

.poe2-ninja-page .card-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.poe2-ninja-page .data-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
}

.poe2-ninja-page .card-header {
  background: #2d3748;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.poe2-ninja-page .card-header:hover {
  background: #4a5568;
}

.poe2-ninja-page .card-title {
  font-weight: bold;
  color: #e2e8f0;
  font-size: 1.1em;
}

.poe2-ninja-page .card-date {
  color: #a0aec0;
  font-size: 0.9em;
}

.poe2-ninja-page .card-content {
  background: #2d3748;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.poe2-ninja-page .data-card[open] .card-content {
  max-height: 400px;
  padding: 16px;
  overflow-y: auto;
}

.poe2-ninja-page .currency-table {
  width: 100%;
  border-collapse: collapse;
  background: #2d3748;
  border-radius: 4px;
  overflow: hidden;
}

.poe2-ninja-page .currency-table th {
  background: #4a5568;
  color: #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #718096;
}

.poe2-ninja-page .currency-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #4a5568;
  color: #cbd5e0;
}

.poe2-ninja-page .currency-table tr:last-child td {
  border-bottom: none;
}

.poe2-ninja-page .currency-table tr:hover {
  background: #4a5568;
}

.poe2-ninja-page .profit-card {
  background: #22543d;
  margin-bottom: 12px;
}

.poe2-ninja-page .profit-card .card-header {
  background: #276749;
}

.poe2-ninja-page .profit-card .card-header:hover {
  background: #22543d;
}

.poe2-ninja-page .profit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poe2-ninja-page .profit-item {
  background: #2d3748;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 6px;
  border-left: 4px solid #38a169;
  color: #e2e8f0;
}

.poe2-ninja-page .profit-item:last-child {
  margin-bottom: 0;
}

.poe2-ninja-page .conversion {
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.poe2-ninja-page .profit-amount {
  color: #68d391;
  font-weight: bold;
  font-size: 1.1em;
}

.poe2-ninja-page .profit-details {
  color: #a0aec0;
  font-size: 0.9em;
  margin-top: 4px;
}

.poe2-ninja-page .last-scan {
  background: #4a5568;
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 10px;
  font-size: 0.9em;
}

.poe2-ninja-page .info-text {
  color: #a0aec0;
  font-size: 0.9em;
  margin-top: 8px;
}

