input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #000 !important;
}

/* ===== Reset & full‐canvas ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  color: #333;
  font-family: Montserrat, Arial, sans-serif;
  background: #eeeff0;
}

.hidden {
  display: none !important;
}

#sect-login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #eeeff0;
}

.login-box {
  width: 400px;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  width: 120px;
  height: auto;
  margin-bottom: 24px;
}

.login-header h2 {
  margin: 0 0 8px 0;
  color: #4B4C5A;
  font-size: 24px;
  font-weight: 600;
}

.login-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.login-form {
  margin-bottom: 16px;
}

.login-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  background: #AE2013;
  font-size: 14px;
  text-align: center;
}

.step {
  margin-bottom: 20px;
}

.step label {
  display: block;
  margin-bottom: 6px;
}

.step input,
.step select,
.step textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  font-size: 14px;
}

.btn-red {
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  color: #fff;
  background: #ae2013;
  cursor: pointer;
}

.app {
  display: flex;
  width: 100vw;
  height: 100vh;
}

/* ===== 1. Sidebar ====== */
.sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  width: 80px;
  height: 100vh;
  padding-top: 20px;
  background: #9F2D20;
}

.sidebar .logo {
  max-width: 90%;
  height: auto;
  margin: 0 auto 32px;
}

.sidebar .logo img {
  width: 100%;
  height: auto;
}

.sidebar a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transition: background .2s;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/*    .sidebar a.active { background:#B2574D, width: 100% } */

.sidebar a.logout {
  margin-top: auto;
  margin-bottom: 20px;
}

.sidebar-nav,
.sidebar-nav a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
}

.sidebar-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.sidebar-nav a.active {
  background: #B2574D;
}

/* 2) nav, ul и li должны быть по 100% ширины контейнера */
.sidebar nav,
.sidebar nav ul,
.sidebar nav ul li {
  width: 100%;
}

/* 3) Ссылки растягиваем на всю ширину */
.sidebar nav ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  /* или block */
  width: 100%;
  height: 80px;
}

/* 4) Активное состояние */
.sidebar nav ul li a.active {
  background: #B2574D;
}

/* Новый проект: две строки */
.sidebar a.new-project span {
  line-height: 1.2;
  text-align: center;
}

.sidebar a.new-project .icon-wrapper svg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border: 1px solid #fff;
  border-radius: 8px;
}

.sidebar a.new-project .icon-wrapper svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2;
}

.sidebar a:not(.new-project) svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  fill: currentColor;
}

/* ===== Общий header ===== */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 24px;
  background: #eeeff0;
}

/* Профиль только в header */
.top-header .profile-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-header .profile-info .name {
  color: #4B4C5A;
  font-size: 14px;
}

.top-header .avatar-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #3B3B44;
  background: #E5E5E5;
}

.top-header .avatar-circle svg {
  width: 18px;
  height: 18px;
}

/* ===== Profile (Right) Sidebar ===== */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-end;
  width: 25%;
  margin-left: 21px;
  overflow: hidden;
}

.profile-card {
  flex: 1;
  width: 100%;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  overflow: auto;
  background: #fff;
}

/* ===== 2. Main content ===== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  background: #eeeff0;
}

/* сразу под header */
.content-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.section-content {
  display: none;
  flex: 1;
  overflow: hidden;
}

.section-content.active {
  display: flex;
  flex-direction: column;
}

/* ===== Форма создания проекта ===== */
.new-project-card,
.new-resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  width: 100%
}

.wizard-container {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.wizard-container h1 {
  margin-bottom: 32px;
  color: #4B4C5A;
  font-size: 24px;
}

/* Шаги формы */
.wizard-step {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-row-gap: 16px;
  align-items: flex-start;
  column-gap: 12px;
  margin-bottom: 32px;
}

.step-number {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 1px solid #AE2013;
  border-radius: 50%;
  color: #AE2013;
  font-weight: 600;
  font-size: 14px;
}

.step-content {
  display: flex;
  flex-direction: column;
  grid-column: 2;
}

label {
  margin: 12px 0 4px 0;
  font-weight: 600;
}

/* Переключалки типа */
.type-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.type-buttons .btn-toggle {
  border: 1px solid #AE2013;
  border-radius: 4px;
  padding: 8px 16px;
  color: #AE2013;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.type-buttons .btn-toggle.active,
.type-buttons .btn-toggle:hover {
  color: #fff;
  background: #AE2013;
}

/* Группы селектов */
.select-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.select-group label {
  color: #4B4C5A;
  font-weight: 500;
  font-size: 14px;
}

.step-content--row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 11px;
}

.step-content-item--column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-wrap: nowrap;
}

/* Поля формы */
.wizard-step label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #4B4C5A;
  font-size: 14px;
}

.bordered-choice {
  margin-top: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 9px 17px 9px;
  border: 1px solid #AE20134D;
}

.bordered-choice__header {
  font-family: Montserrat;
font-weight: 600;
font-size: 14px;
line-height: 18px;
letter-spacing: 0%;
vertical-align: middle;
color: #94160B;
}

.docker-linux-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.docker-linux-container__subtext {
  font-family: Montserrat;
font-weight: 400;
font-size: 14px;
line-height: 18px;
letter-spacing: 0%;
vertical-align: middle;
opacity: 0.6;
}

select,
input[type="text"],
textarea {
  border: 1px solid #E5E5E5;
  font-family: Montserrat;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color 0.2s;
}

input::placeholder, textarea::placeholder {
  vertical-align: middle;
  color: #E9D3D1;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.41px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: #AE2013;
  outline: none;
}

/* Кнопки шаблона */
.template-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.template-buttons .btn-toggle {
  border: 1px solid #AE2013;
  border-radius: 4px;
  padding: 8px 16px;
  color: #AE2013;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.template-buttons .btn-toggle.active,
.template-buttons .btn-toggle:hover {
  color: #fff;
  background: #AE2013;
}

/* Кнопки действий */
.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  border-top: 1px solid #E5E5E5;
  padding-top: 24px;
}

.btn-submit {
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  color: #fff;
  font-size: 14px;
  background: #AE2013;
  transition: background-color 0.2s;
  cursor: pointer;
}

.btn-submit:hover {
  background: #8a1a0f;
}

.btn-cancel {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 10px 24px;
  color: #4B4C5A;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-cancel:hover {
  border-color: #AE2013;
  color: #AE2013;
}

/* Прокрутка */
.wizard-container::-webkit-scrollbar {
  width: 8px;
}

.wizard-container::-webkit-scrollbar-track {
  border-radius: 4px;
  background: #f1f1f1;
}

.wizard-container::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #c1c1c1;
}

.wizard-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* ===== Таблицы ===== */
.table-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.projects-table,
.resources-table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
}

/* Заголовки таблицы */
.projects-table thead,
.resources-table thead {
  border-bottom: 1px solid #E5E5E5;
  background: #fff;
}

.projects-table th,
.resources-table th {
  border-bottom: 1px solid #E5E5E5;
  padding: 12px 24px;
  color: #AE2013;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

/* Колонки */
.col-name {
  width: 40%;
}

.col-date {
  width: 20%;
}

.col-template,
.col-description {
  width: 25%;
}

.col-actions {
  width: 15%;
  text-align: center;
}

/* Тело таблицы */
.projects-table tbody,
.resources-table tbody {
  background: #fff;
}

.projects-table tbody tr,
.resources-table tbody tr {
  border-bottom: 1px solid #E5E5E5;
  transition: background-color 0.2s;
}

.projects-table tbody tr:hover,
.resources-table tbody tr:hover {
  background-color: #f8f9fa;
}

.projects-table tbody tr:last-child,
.resources-table tbody tr:last-child {
  border-bottom: none;
}

.projects-table td,
.resources-table td {
  padding: 12px 24px;
  vertical-align: middle;
  color: #4B4C5A;
  font-size: 14px;
}

/* Пустое состояние */
.empty-state td {
  padding: 60px 24px;
  text-align: center;
}

.empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.6;
}

.empty-content img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.empty-content .text {
  color: #999;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.empty-content .text p:first-child {
  margin-bottom: 4px;
  font-weight: 600;
}

/* Действия */
.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.actions svg {
  width: 16px;
  height: 16px;
  color: #666;
  transition: color 0.2s;
  cursor: pointer;
}

.actions svg:hover {
  color: #AE2013;
}

/* Кнопка нового проекта/ресурса */
.resources-card .btn-new,
.projects-card .btn-new {
  position: absolute;
  top: 16px;
  left: 24px;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 171px;
  height: 32px;
  border: 1px solid #AE2013;
  border-radius: 4px;
  color: #AE2013;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.resources-card .btn-new:hover,
.projects-card .btn-new:hover {
  color: #fff;
  background: #AE2013;
}

.resources-card .btn-new svg,
.projects-card .btn-new svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Карточки проектов и ресурсов */
.resources-card,
.projects-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding-top: 56px;
  overflow: hidden;
  background: #fff;
}

/* ===== Main ==== */
.main-content {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding-left: 21px;
  overflow: hidden;

  /* Далее скрываем <main> под модалкой (если нужно) */
  filter: blur(0);
  /* сбрасывать при скрытии модалки */
  transition: filter .3s;
}

/* ===== Модальное окно ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  /* центр по вертикали */
  z-index: 1000;
  /* полупрозрачная тень */
  display: none;
  justify-content: flex-start;
  /* скрыто по умолчанию */
  align-items: center;
  width: 100vw;
  height: 100vh;
  /* вместо justify-content: center */
  padding-left: 10%;
  /* поверх всего */
  overflow-y: auto;
  /* вертикальный скролл */
  -webkit-overflow-scrolling: touch;
  /* отступ слева (тот же, что у main-контента) */
  background: rgba(0, 0, 0, 0.4);
  /* плавный скролл на тач-устройствах */
}

/* Показать оверлей */
.modal-overlay.active {
  display: flex;
}

.modal-overlay.active~.content-wrapper .main-content {
  filter: blur(2px);
}


/* Диалог внутри */
.modal-dialog {
  /* размер карточки */
  width: 90%;
  max-width: 1004px;
  /* внутренние паддинги у .wizard-card */
  max-height: none;
  border-radius: 8px;
  padding: 0;
  /* внутренний скролл */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  background: #fff;
}

.modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.modal-dialog::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
}

/* === 2. Карточка === */
.wizard-card {
  position: fixed;
  top: 5%;
  left: 5%;
  width: 80%;
  height: 80vh;
  margin: 0 auto;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 32px;
  overflow-y: auto;
  /* включаем вертикальный скролл */
  -webkit-overflow-scrolling: touch;
  background: #fff;
  /* плавный скролл на тач-устройствах */
}

.wizard-card h1 {
  margin-bottom: 24px;
  font-size: 24px;
}

/* === 3. Шаги === */
.wizard-step {
  display: grid;
  /* используем grid вместо flex */
  grid-template-columns: 24px 1fr;
  /* 1-я колонка — номер шага, 2-я — контент */
  grid-row-gap: 16px;
  align-items: flex-start;
  /* вертикальный зазор между полями */
  column-gap: 12px;
  margin-bottom: 24px;
  /* пространство между номером и контентом */
}

.wizard-step .step-number {
  grid-column: 1;
}

.step-number {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  margin-right: 12px;
  border: 1px solid #AE2013;
  border-radius: 50%;
  color: #AE2013;
  font-size: 14px;
}

/* Метка + контрол */
.wizard-step label,
.wizard-step .template-buttons {
  display: flex;
  flex-direction: column;
  /* все метки и кнопки — во 2-й колонке */
  flex: 1;
  grid-column: 2;
  color: #4B4C5A;
  font-size: 14px;
}

.wizard-step label+label {
  margin-top: 12px;
}

/* === 4. Поля формы === */
select,
input[type="text"],
textarea {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 8px;
  font-size: 14px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: #AE2013;
  outline: none;
}

/* === 5. Кнопки переключения === */
.template-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-toggle {
  border: 1px solid #AE2013;
  border-radius: 4px;
  padding: 8px 16px;
  color: #AE2013;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.btn-toggle.active,
.btn-toggle:hover {
  color: #fff;
  background: #AE2013;
}

/* === 6. Кнопка Создать === */
.wizard-actions {
  text-align: right;
}

.btn-submit {
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  color: #fff;
  font-size: 14px;
  background: #AE2013;
  cursor: pointer;
}

.btn-submit:hover {
  background: darken(#AE2013, 10%);
}

/* ===== Модальное окно подтверждения удаления ===== */
.delete-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.delete-modal-overlay.active {
  opacity: 1;
}

.delete-modal-dialog {
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: #fff;
  transition: transform 0.3s ease;
  transform: scale(0.9);
}

.delete-modal-overlay.active .delete-modal-dialog {
  transform: scale(1);
}

.delete-modal-content {
  padding: 24px;
}

.delete-modal-content h3 {
  margin: 0 0 16px 0;
  color: #4B4C5A;
  font-weight: 600;
  font-size: 18px;
}

.delete-modal-content p {
  margin: 0 0 12px 0;
  color: #4B4C5A;
  font-size: 14px;
  line-height: 1.5;
}

.delete-modal-content .warning {
  margin-bottom: 24px;
  color: #AE2013;
  font-weight: 500;
}

.delete-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.delete-modal-actions .btn-cancel {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 8px 16px;
  color: #4B4C5A;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.delete-modal-actions .btn-cancel:hover {
  border-color: #AE2013;
  color: #AE2013;
}

.delete-modal-actions .btn-delete {
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  color: #fff;
  font-size: 14px;
  background: #AE2013;
  transition: background-color 0.2s;
  cursor: pointer;
}

.delete-modal-actions .btn-delete:hover {
  background: #8a1a0f;
}

/* Стили для кнопки удаления в таблице */
.delete-btn {
  transition: color 0.2s;
}

.delete-btn:hover {
  color: #AE2013 !important;
}

/* Спецификации ресурсов */
.specs-row {
  display: flex;
  gap: 16px;
}

.specs-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.specs-group label {
  font-family: Montserrat;
font-weight: 600;
font-size: 14px;
line-height: 18px;
letter-spacing: 0%;
vertical-align: middle;
color: #94160B;
}

.specs-group input {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 8px 12px;
  color: #4B4C5A;
  font-size: 14px;
  transition: border-color 0.2s;
}

.specs-group input:focus {
  border-color: #AE2013;
  outline: none;
}

/* Radio buttons */
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #AE2013;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s;
}

.radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #AE2013;
  opacity: 0;
  transition: opacity 0.2s;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  opacity: 1;
}

.radio-text {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #4B4C5A;
}

.radio-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.radio-description {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #666;
  opacity: 0.8;
}

/* Input with unit */
.input-with-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 4ch;
}

.input-with-unit input {
  flex: 1;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: Montserrat;
  font-size: 14px;
  transition: border-color 0.2s;
}

.input-with-unit input:focus {
  border-color: #AE2013;
  outline: none;
}

.input-with-unit .unit {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #94160B;
  white-space: nowrap;
}

.input-with-unit select {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: Montserrat;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
}

.input-with-unit select:focus {
  border-color: #AE2013;
  outline: none;
}

/* Environment and visibility options */
.environment-options,
.visibility-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visibility-options {
  margin-top: 12px;
}

.hardware-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

/* Кнопки видимости */
.visibility-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.visibility-buttons .btn-toggle {
  border: 1px solid #AE2013;
  border-radius: 4px;
  padding: 8px 16px;
  color: #AE2013;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.visibility-buttons .btn-toggle.active,
.visibility-buttons .btn-toggle:hover {
  color: #fff;
  background: #AE2013;
}

.visibility-hint {
  margin-top: 8px;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

/* Колонки таблицы ресурсов */
.col-provider {
  width: 15%;
}

.col-specs {
  width: 20%;
}

.col-environment {
  width: 12%;
}

.col-visibility {
  width: 10%;
}

/* Стили для ресурсов в таблице */
.resource-name strong {
  color: #4B4C5A;
  font-weight: 600;
}

.resource-name small {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.resource-provider .provider-name {
  color: #4B4C5A;
  font-weight: 500;
}

.resource-provider small {
  color: #666;
  font-size: 12px;
}

.resource-specs .spec-item {
  color: #4B4C5A;
  font-size: 13px;
  line-height: 1.4;
}

.environment-badge {
  display: inline-block;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 4px 8px;
  color: #4B4C5A;
  font-weight: 500;
  font-size: 12px;
  background: #F5F5F6;
}

.visibility-badge {
  display: inline-block;
  border-radius: 4px;
  padding: 4px 8px;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
}

.visibility-badge.private {
  background: #666;
}

.visibility-badge.public {
  background: #28a745;
}