/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body:has(dialog[open]) {
  overflow: hidden;
}

/* Опционально: стилизация фона за модальным окном */
dialog::backdrop {
  background-color: black;
  opacity: 0.5;
}

.your-organizations:hover .ellipsis-actions {
  visibility: visible;
}

.btn-primary {
  width: 140px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 0 20px;
  background: rgba(72, 182, 195, 1);
  color: white;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease-in-out;
}

.btn-primary:hover {
  background: rgba(58, 161, 173, 1);
}

.btn-primary svg {
  flex-shrink: 0;
}

.no-assets-container {
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 23px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-assets-primary {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  color: #000;
}

.no-assets-secondary {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  color: #B0B0B0;
}

.page-no-scroll {
  overflow: hidden;
}

.assets-list-container {
  max-height: 700px;
  overflow-y: auto;
}

.left-container {
  display: flex;
  justify-content: space-between;
}

.text-info {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #1F2733;
}

.pagination-container {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: -1%;
  color: var(--900, #243644);
}

.pagination-container .page {
  margin-left: 8px;
  margin-right: 8px;
}

.edit-btn {
  border-color: #D1D5DB;
  background-color: white;

  svg { color: #9CA3AF; }
  span { color: #243644; }

  &:hover {
    border-color: #48B6C3;
    background-color: #48B6C3;

    svg, span { color: white; }
  }

  &:focus {
    border-color: #2B7F8F;
    background-color: #2B7F8F;

    svg, span { color: white; }
  }
}


