/* ===== RESET & BASE STYLES ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    color: #333;
    min-width: 320px;
    background-color: #f6f6f6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    color: inherit;
    font-weight: inherit;
    font-size: inherit !important;
}

/* ===== LAYOUT & CONTAINERS ===== */
._container {
    max-width: 1365px;
    margin: 0 auto;
}

.content-container {
    max-width: 55%;
    padding: 32px;
    box-shadow: 0 4px 11px 0 rgba(0, 0, 0, 0.25);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== TYPOGRAPHY ===== */
.header-text {
    text-transform: uppercase;
    font-weight: bold;
}

.page-title {
    font-weight: 700;
    font-size: 36px !important;
    text-transform: uppercase;
    color: #000;
    margin: 80px 0 32px;
}

.object-header-title {
    font-weight: 400;
    font-size: 18px !important;
    margin-bottom: 16px;
    color: #555;
}

.section-header-text {
    font-weight: 400;
    font-size: 18px;
    color: #555;
}

/* ===== NAVIGATION ===== */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .55) !important;
}

.navbar-dark .navbar-brand {
    color: #fff !important;
    padding: .3125rem 0 !important;
    margin-right: 1rem !important;
    font-size: 1.25rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* ===== CARDS ===== */
.card {
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    background: white;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.card__title {
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ===== BUTTONS ===== */
.basic-button {
    transition: 0.2s ease all;
    color: #fff !important;
    text-align: center;
    padding: 8px 16px;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none !important;
    max-width: 100%;
    flex: 1 1 auto;
}

.buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-button {
	background-color: #00bbee;
}

.link-button-success {
	background-color: #4BA147;
}

.link-button-warning {
	background-color: rgb(255, 81, 0)
}

.link-button:hover {
    background: #004D95;
}

.link-button-success:hover {
    background: #12652a;
}

.link-button-warning {
    background-color: rgb(255, 81, 0);
}

.link-button-warning:hover {
    background: rgb(137, 47, 5);
}

.link-button-dangerous {
    background-color: #dc3545;
}

.link-button-dangerous:hover {
    background: #f50723;
}

.link-button-gray {
    background-color: #3b3838;
}

.link-button-gray:hover {
    background: #7d7b7b;
}

.header-button {
    font-size: 14px !important;
    padding: 4px 8px !important;
}

/* ===== FORMS & INPUTS ===== */
.input {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border: 0;
    font-size: 16px;
    color: #000;
    padding: 8px 16px;
    width: 100%;
}

.form-input {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.inputs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.readonly-select {
    pointer-events: none;
    background-color: #e9ecef;
    color: #6c757d;
}

/* ===== TABLES ===== */
table {
    border-collapse: separate;
    border-spacing: 0 46px;
}

.table th {
    vertical-align: middle !important;
}

.table thead th {
    white-space: normal;
}

/* ===== UTILITY CLASSES ===== */
.highlighted {
    background-color: #9cccec;
    font-weight: bold;
}

.decipline-status {
    align-self: flex-end;
}

/* ===== SPOILER STYLES ===== */
.spoiler-container {
    border: 2px solid #007bff;
    border-radius: 5px;
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.spoiler-container:hover {
    background-color: #e9ecef;
    border-color: #0056b3;
}

.spoiler-header {
    font-weight: bold;
    font-size: 18px;
    color: #007bff;
    cursor: pointer;
}

.spoiler-header:hover {
    text-decoration: underline;
}

  /* Основной стиль для summary в details */
  .highlighted {
    background-color: #4c0739;  /* Желтый цвет для выделения */
    font-weight: bold;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-right: 4px;
    border-radius: 6px;
    font-size: 16px;
    background-color: white;
    color: var(--base-color, #0055BB);
    border: 1px solid #dcdcdc;
    transition: all 0.2s ease;
    text-decoration: none;
  }
  
  .icon-button:hover {
    background-color: #f0f0f0;
    color: #003d99;
  }
  
  .icon-danger {
    color: #d11a2a;
    border-color: #d11a2a;
  }
  
  .icon-danger:hover {
    background-color: #ffe5e5;
    color: #a50000;
  }


  
  
  
