* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #3F8CFF;
    --color-primary-hover: #3F8CFF9E;
    --text-color-primary: #0A1629;
    --text-color-primary-hover: #01050e;
    --text-color-secondary: #7D8592;
    --border-radius-primary: 24px;
    --border-radius-secondary: 14px;
}

/* Базовые стили */
body {
    font-family: 'Nunito Sans', sans-serif;
}

input, select {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    color: var(--text-color-primary);
    outline: none;
}

input::placeholder, select::placeholder {
    color: var(--text-color-secondary);
}

button {
    font-family: 'Nunito Sans', sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    min-height: 100vh;
    padding: 30px 40px 33px;
    background-color: #F4F9FD;
}

.wrapper-sidebar {
    min-height: calc(100vh + 154px);
    padding: 30px 20px 33px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.form-section-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    color: var(--text-color-primary);
}

.form-section-card {
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
    padding: 21px 24px 36px;
    display: flex;
    flex-direction: column;
}

.form-fields {
    display: grid;
}

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

.field-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-color-secondary);
}

.field-input {
    padding: 12px 15px;
    background: #FFFFFF;
    border: 1px solid #D8E0F0;
    border-radius: var(--border-radius-secondary);
    font-size: 16px;
    line-height: 24px;
    transition: border-color 0.2s;
}

.field-input:focus {
    border-color: var(--color-primary);
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #FFFFFF;
    border: 1px solid #D8E0F0;
    border-radius: var(--border-radius-secondary);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-primary);
    cursor: pointer;
}

.custom-select-label {
    flex: 1;
    text-align: left;
}

.custom-select.is-empty .custom-select-label {
    color: var(--text-color-secondary);
}

.custom-select-arrow {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%230A1629' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s;
}

.custom-select.is-open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: var(--border-radius-secondary);
    border: 1px solid #D8E0F0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 8px 0;
    max-height: 176px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.custom-select.is-open .custom-select-dropdown {
    display: block;
}

.custom-select-option {
    width: 100%;
    padding: 6px 16px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    color: var(--text-color-secondary);
}

.custom-select-option.is-selected {
    color: var(--text-color-primary);
    font-weight: 500;
}

.custom-select-option:hover {
    background: #F5F7FA;
}

.custom-select-dropdown::-webkit-scrollbar {
    width: 3px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 999px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 21px;
    width: 100%;
    margin-top: 38px;
}

.pagination-info {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-primary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.pagination-btn svg {
    width: 16px;
    height: auto;
}

/* Боковая панель */
.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: calc(100% - 40px);
    padding: 33px 0px 40px 16px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav-item {
    padding-right: 12px;
}

.sidebar-nav-item:nth-of-type(2) {
    padding-right: 8px;
    border-right: 4px solid var(--color-primary);
}

.sidebar-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: var(--text-color-secondary);
    text-decoration: none;
    border-radius: var(--border-radius-secondary);
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: #F5F7FA;
    color: var(--text-color-primary);
}

.sidebar-link.active {
    background: #3f8cff1a;
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar-logout {
    display: flex;
    align-items: center;
    column-gap: 16px;
    margin-left: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-logout svg {
    width: 16px;
    height: 16px;
}

/* Хедер сайта */
.header {
    width: 100%;
    height: max-content;
}

.wrapper-sidebar .header {
    width: calc(100% - 230px);
    margin-left: 230px;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.header-content .logo {
    height: 29px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 19px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: var(--border-radius-secondary);
    box-shadow: 0px 6px 58px #C4CBD61A;
    padding: 12px 18px;
    min-width: 234px;
}

.search-icon {
    width: 24px;
    height: 24px;
    margin-right: 11px;
    flex-shrink: 0;
}

.search-input {
    border: none;
    font-size: 16px;
    width: 100%;
    padding: 0;
}

.profile-widget {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #FFFFFF;
    border-radius: var(--border-radius-secondary);
    box-shadow: 0px 6px 58px #C4CBD61A;
    padding: 9px 12px 9px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.profile-widget:hover {
    box-shadow: 0px 2px 4px rgba(184, 200, 224, 0.3);
}

.profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    margin-left: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-primary);
    white-space: nowrap;
}

.profile-chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Главный контейнер*/
.main-container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.wrapper-sidebar .main-container {
    width: calc(100% - 230px);
    margin-left: 230px;
}

.main-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.main-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    color: var(--text-color-primary);
    margin: 36px 0;
}

.main-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 19px;
}

.main-actions .btn-cancel {
    padding: 16px 36px 14px;
    background: transparent;
    border: 1px solid #0a162971;
    border-radius: var(--border-radius-secondary);
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: var(--text-color-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.main-actions .btn-cancel:hover {
    background: #ffffffdc;
}

.main-actions .btn-save {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 30px;
    background: var(--color-primary);
    box-shadow: 0px 6px 12px #3F8CFF43;
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.main-actions .btn-save:hover {
    background: var(--color-primary-hover);
}

.main-actions .btn-save img {
    width: 16px;
    height: 16px;
}

/* Страница авторизации */
.sign-in-card {
    display: flex;
    width: 100%;
    height: calc(100vh - 184px);
    background: #FFFFFF;
    box-shadow: 0px 6px 58px rgba(196, 203, 214, 0.103611);
    border-radius: var(--border-radius-primary);
}

.sign-in-card .blue-panel {
    display: flex;
    align-items: flex-start;
    flex: 0 0 50%;
    padding: 60px 93px;
    background: var(--color-primary);
    border-radius: var(--border-radius-primary) 0px 0px var(--border-radius-primary);
}

.sign-in-card .blue-panel .logo {
    height: 38px;
}

.sign-in-card .white-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 30px 40px 33px;
}

.sign-in-card .white-panel .form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.sign-in-card .white-panel .form-container .form-title {
    margin-bottom: 33px;
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    color: var(--text-color-primary);
}

.sign-in-card .white-panel .form-container .input-group {
    width: 100%;
    max-width: 403px;
    margin-bottom: 31px;
}

.sign-in-card .white-panel .form-container .input-group:nth-of-type(2) {
    margin-bottom: 38px;
}

.sign-in-card .white-panel .form-container .input-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-color-secondary);
}

.sign-in-card .white-panel .form-container .input-wrapper {
    position: relative;
    width: 100%;
}

.sign-in-card .white-panel .form-container .form-input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 11px 18px 13px;
    background: #FFFFFF;
    border: 1px solid #D8E0F0;
    box-shadow: 0px 1px 2px #B8C8E039;
    border-radius: var(--border-radius-secondary);
    font-size: 14px;
    line-height: 24px;
    
}

.sign-in-card .white-panel .form-container .password-toggle {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.sign-in-card .white-panel .form-container .password-toggle img {
    width: 100%;
    height: 100%;
    display: block;
}

.sign-in-card .white-panel .form-container .password-toggle .image-toggle-close {
    display: none;
}

.sign-in-card .white-panel .form-container .button-group {
    width: 100%;
    max-width: 403px;
    margin-bottom: 38px;
}

.sign-in-card .white-panel .form-container .main-button {
    width: 100%;
    padding: 13px 18px;
    background: var(--color-primary);
    box-shadow: 0px 6px 12px #3F8CFF43;
    border-radius: var(--border-radius-secondary);
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.sign-in-card .white-panel .form-container .main-button:hover {
    background: var(--color-primary-hover);
}

.sign-in-card .white-panel .form-container .checkbox-group {
    width: 100%;
}

.sign-in-card .white-panel .form-container .checkbox-label {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
}

.sign-in-card .white-panel .form-container .checkbox-input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.sign-in-card .white-panel .form-container .checkbox-custom {
    position: relative;
    width: 24px;
    height: 24px;
    border: 2px solid #D8E0F0;
    border-radius: 6px;
    background: #FFFFFF;
    transition: all 0.2s;
}

.sign-in-card .white-panel .form-container .checkbox-input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 12px;
    border: solid var(--color-primary);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -64%) rotate(45deg);
}

.sign-in-card .white-panel .form-container .checkbox-text {
    font-weight: 400;
    font-size: 16px;
    color: #7D8592;
}

.sign-in-card .white-panel .form-container .checkbox-text a {
    color: #7D8592;
    text-decoration-line: underline;
    cursor: pointer;
}

/* Страница политики */
.policy-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 28px;
    width: 100%;
}

.policy-card .policy-content {
    padding: 26px 32px 37px 29px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.policy-card .policy-content .policy-text {
    height: calc(100vh - 338px);
    padding-right: 73px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-primary);
    overflow-y: scroll;
}

.policy-card .policy-content .policy-text::-webkit-scrollbar {
    width: 3px;
}

.policy-card .policy-content .policy-text::-webkit-scrollbar-track {
    background: #D9D9D9;
    border-radius: 3px;
}

.policy-card .policy-content .policy-text::-webkit-scrollbar-thumb {
    background: #0A1629;
    border-radius: 3px;
}

.policy-card .policy-content .policy-text ol {
    padding-left: 20px;
}

.policy-card .accept-button {
    min-width: 200px;
    padding: 13px 40px;
    background: var(--color-primary);
    box-shadow: 0px 6px 12px #3F8CFF43;
    border-radius: var(--border-radius-secondary);
    border: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.policy-card .accept-button:hover {
    background: var(--color-primary-hover);
}

/* Страница клиники */
.clinic-form {
    display: grid;
    grid-template-columns: 246px 1fr;
    gap: 30px 45px;
    align-items: start;
    width: 100%;
}

.clinic-form .photo-upload-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    max-width: 246px;
    grid-column: 1;
    grid-row: 1 / 4;
    padding: 19px 20px 30px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.clinic-form .photo-upload-block .photo-preview-wrapper {
    position: relative;
    width: 100%;
}

.clinic-form .photo-upload-block .photo-preview {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-secondary);
    object-fit: cover;
    display: block;
}

.clinic-form .photo-upload-block .photo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: calc(100% - 18px);
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px 9px;
    background: #FFFFFF;
    border: 1px solid #9797973D;
    border-radius: var(--border-radius-secondary);
}

.clinic-form .photo-upload-block .photo-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: var(--text-color-primary);
}

.clinic-form .photo-upload-block .photo-date {
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #91929E;
}

.clinic-form .photo-upload-block .btn-add-photo {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 13px 34px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0px 6px 12px 0px #3F8CFF43;
    transition: background 0.2s;
}

.clinic-form .photo-upload-block .btn-add-photo:hover {
    background: var(--color-primary-hover);
}

.clinic-form .photo-upload-block .btn-add-photo span {
    font-size: 18px;
}

.clinic-form .form-section:first-of-type {
    grid-row: 1;
}

.clinic-form .form-section:last-of-type {
    grid-row: 2;
}

.clinic-form .form-section .section-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    color: var(--text-color-primary);
}

.clinic-form .form-section .form-fields {
    grid-template-columns: 40fr 24fr 36fr;
    gap: 21px 10px;
}

.clinic-form .form-section .form-fields-contacts {
    grid-template-columns: 1fr 1fr;
}

.clinic-form .form-section .form-fields-contacts .form-field-with-button {
    grid-column: 1 / -1;
}

.clinic-form .form-section .form-field-wide {
    grid-column: 1 / -1;
}

.clinic-form .form-section .form-field-with-button {
    grid-column: 1 / -1;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.clinic-form .form-section .form-field-with-button .form-field {
    flex: 0 0 auto;
    width: 189px;
}

.clinic-form .form-section .btn-add {
    padding: 14px 39px 12px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.clinic-form .form-section .btn-add:hover {
    background: var(--color-primary-hover);
}

.clinic-form .file-upload-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column: 2;
    grid-row: 3;
}

.clinic-form .file-upload-block .file-upload-text {
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    color: #1c1d2166;
}

.clinic-form .file-upload-block .btn-upload-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 46px;
    background: transparent;
    border: 1px solid #0a162971;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: var(--text-color-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.clinic-form .file-upload-block .btn-upload-file:hover {
    background: #F0F7FF;
}

.clinic-form .file-upload-block .btn-upload-file svg {
    width: 16px;
    height: 16px;
}

/* Страница добавления клиники */
.add-clinic-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.add-clinic-form .form-section-card .form-fields {
    gap: 18px;
    grid-template-columns: 19fr 19fr 24fr 19fr 19fr;
}

.add-clinic-form .input-wrapper {
    position: relative;
}

.add-clinic-form .password-wrapper {
    position: relative;
}

.add-clinic-form .password-toggle {
    position: absolute;
    width: 33px;
    height: 33px;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #D8E0F0;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-clinic-form .password-toggle img {
    width: 20px;
    height: 20px;
    display: block;
}

.add-clinic-form .password-toggle .image-toggle-open {
    filter: brightness(0.4);
}

.add-clinic-form .password-toggle .image-toggle-close {
    display: none;
}

.add-clinic-form .btn-add-employee {
    padding: 13px 22px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-add-employee:hover {
    background: var(--color-primary-hover);
}

.add-clinic-form .employee-section {
    display: none;
}

.add-clinic-form .employee-section .employee-actions {
    display: flex;
    flex-direction: row;
    gap: 13px;
    align-items: flex-end;
    justify-content: flex-start;
}

.add-clinic-form .employee-section .employee-actions .btn-submit-employee {
    width: 100%;
    padding: 14px 26px 12px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.add-clinic-form .employee-section .employee-actions .btn-submit-employee:hover {
    background: var(--color-primary-hover);
}

.add-clinic-form .employee-section .employee-actions .btn-remove-employee {
    width: 48px;
    height: 48px;
    padding: 15px;
    background: #FFFFFF;
    border: 1px solid #D8E0F0;
    border-radius: var(--border-radius-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.add-clinic-form .employee-section .employee-actions .btn-remove-employee:hover {
    background: #F5F7FA;
}

.add-clinic-form .employee-section .employee-actions .btn-remove-employee img {
    width: 18px;
    height: 18px;
}

/* Страница добавления донора */
.donor-form {
    display: grid;
    grid-template-columns: 246px 1fr;
    gap: 30px 45px;
    align-items: start;
    width: 100%;
}

.donor-form .photo-upload-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    max-width: 246px;
    grid-column: 1;
    grid-row: 1 / 5;
    padding: 19px 20px 30px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.donor-form .photo-upload-block .photo-preview-wrapper {
    position: relative;
    width: 100%;
}

.donor-form .photo-upload-block .photo-preview {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-secondary);
    object-fit: cover;
    display: block;
}

.donor-form .photo-upload-block .photo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: calc(100% - 18px);
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px 9px;
    background: #FFFFFF;
    border: 1px solid #9797973D;
    border-radius: var(--border-radius-secondary);
}

.donor-form .photo-upload-block .photo-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: var(--text-color-primary);
}

.donor-form .photo-upload-block .photo-date {
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #91929E;
}

.donor-form .photo-upload-block .btn-add-photo {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 13px 34px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0px 6px 12px 0px #3F8CFF43;
    transition: background 0.2s;
}

.donor-form .photo-upload-block .btn-add-photo:hover {
    background: var(--color-primary-hover);
}

.donor-form .photo-upload-block .btn-add-photo span {
    font-size: 18px;
}

.donor-form .photo-upload-block .photo-upload-fields {
    display: flex;
    flex-direction: column;
    gap: 17px;
    width: 100%;
}

.donor-form .photo-upload-block .photo-upload-fields .form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.donor-form .photo-upload-block .photo-upload-fields .form-field-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.donor-form .photo-upload-block .photo-upload-fields .form-field-row .form-field {
    width: 50%;
}

.donor-form .form-section:first-of-type {
    grid-row: 1;
}

.donor-form .form-section:last-of-type {
    grid-row: 2;
}

.donor-form .form-section .section-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    color: var(--text-color-primary);
}

.donor-form .form-section .form-fields {
    grid-template-columns: 40fr 24fr 36fr;
    gap: 21px 10px;
}

.donor-form .form-section .form-fields-contacts {
    grid-template-columns: 1fr 1fr;
}

.donor-form .form-section .form-fields-phenotype {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.donor-form .form-section .form-fields-phenotype > .form-field {
    grid-column: span 2;
}

.donor-form .form-section .form-fields-phenotype > .form-field.form-field-half {
    grid-column: span 1;
}

.donor-form .form-section .form-fields-genotype {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donor-form .form-section .form-fields-genotype > .form-field {
    grid-column: span 1;
}

.donor-form .form-section .form-fields-other {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donor-form .form-section .form-fields-other > .form-field {
    grid-column: span 1;
}

.donor-form .form-section .form-fields-contacts .form-field-with-button {
    grid-column: 1 / -1;
}

.donor-form .form-section .form-field-wide {
    grid-column: 1 / -1;
}

.donor-form .form-section .form-field-with-button {
    grid-column: 1 / -1;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.donor-form .form-section .form-field-with-button .form-field {
    flex: 0 0 auto;
    width: 189px;
}

.donor-form .form-section .btn-add {
    padding: 14px 39px 12px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.donor-form .form-section .btn-add:hover {
    background: var(--color-primary-hover);
}

.donor-form .file-upload-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column: 2;
    grid-row: 4;
}

.donor-form .file-upload-block .file-upload-text {
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    color: #1c1d2166;
}

.donor-form .file-upload-block .btn-upload-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 46px;
    background: transparent;
    border: 1px solid #0a162971;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: var(--text-color-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.donor-form .file-upload-block .btn-upload-file:hover {
    background: #F0F7FF;
}

.donor-form .file-upload-block .btn-upload-file svg {
    width: 16px;
    height: 16px;
}

/* Страница доноров */
.donor-type-toggle {
    display: flex;
    align-items: center;
    background: #E6EDF5;
    border-radius: 24px;
    padding: 4px;
    gap: 0;
    overflow: hidden;
}

.toggle-btn {
    padding: 9px 43px;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var(--text-color-primary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.toggle-btn-active {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn-filter {
    position: relative;
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: none;
    border-radius: var(--border-radius-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-filter:hover {
    background: #F5F7FA;
}

.btn-filter img {
    width: auto;
    height: 19px;
}

.btn-filter.active {
    background-color: var(--color-primary);
    box-shadow: 0px 6px 58px 0px #C4CBD61A;
}

.btn-filter.active:hover {
    background-color: var(--color-primary-hover);
}

.btn-filter.active .number {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 19px;
    height: 19px;
    background-color: #FFFFFF;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    color: var(--color-primary);
}

.btn-filter.active:hover .number {
    border: 2px solid var(--color-primary-hover);
}

.btn-add-to-db {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px 13px 27px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0px 6px 12px 0px #3F8CFF43;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-add-to-db:hover {
    background: var(--color-primary-hover);
}

.btn-add-to-db span {
    font-size: 20px;
    line-height: 1;
}

.donors-container {
    width: 100%;
}

.donors-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.donor-card {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    padding: 20px 28px 21px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.donor-info {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 320px;
}

.donor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.donor-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.donor-number {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-primary);
}

.donor-name {
    font-weight: 400;
    font-size: 14px;
    color: #91929E
}

.donor-data {
    display: flex;
    align-items: center;
    gap: 69px;
    justify-content: space-between;
    width: 50%;
}

.donor-data-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.donor-data-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-color-secondary);
}

.donor-data-value {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-color-primary);
}

.donor-material-badge {
    display: inline-block;
    width: max-content;
    padding: 7px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}

.donor-material-high {
    background: #E0F9F2;
    color: #00D097;
}

.donor-material-medium {
    background: #FFCC001A;
    color: #FFCC00;
}

.donor-material-low {
    background: #EF43581A;
    color: #EF4358;
}

.donor-material-empty {
    background: #0000001A;
    color: #000000;
}

.donor-menu-btn {
    width: 44px;
    height: 44px;
    background-color: #F4F9FD;
    border-radius: var(--border-radius-secondary);
    padding: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.donor-menu-btn:hover {
    opacity: 0.7;
}

.donor-menu-btn img {
    height: 18px;
}

/* Страница статистики */
.statistic-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.summary-card {
    grid-column: span 4;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
    padding: 14px 21px 20px 26px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.summary-card-header-content {
    display: flex;
    flex-direction: column;
}

.summary-card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: var(--text-color-primary);
    margin: 0;
}

.summary-card-subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-color-secondary);
}

.summary-card-value {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.summary-card-value .value {
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    color: var(--text-color-primary);
}

.trend {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 32px;
}

.trend.trend-up {
    color: #7CE7AC;
}

.trend.trend-down {
    color: #EF4358;
}

.summary-card-progress {
    width: 100%;
    height: 4px;
    background: #F5F7FA;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
}

.progress-bar-75 {
    width: 75%;
}

.progress-bar-45 {
    width: 45%;
}

.progress-bar-65 {
    width: 65%;
}

.charts-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.charts-section .chart-card:first-child {
    grid-column: span 8;
}

.charts-section .chart-card:last-child {
    grid-column: span 4;
}

.chart-card {
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
    display: flex;
    flex-direction: column;
}

.chart-content {
    width: 100%;
    height: auto;
}

.chart-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-secondary);
}

.statistic-container .show-all-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.statistic-container .show-all-wrapper .btn-show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 48px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0px 6px 12px 0px #3F8CFF43;
    transition: background 0.2s;
    white-space: nowrap;
}

.statistic-container .show-all-wrapper .btn-show-all:hover {
    background: var(--color-primary-hover);
}

/* Страница каталога доноров */
.wrapper-filters-sidebar {
    min-height: calc(100vh + 154px);
    padding: 30px 20px 33px;
}

.wrapper-filters-sidebar .header {
    width: calc(100% - 294px);
    margin-left: 294px;
}

.wrapper-filters-sidebar .main-container {
    width: calc(100% - 294px);
    margin-left: 294px;
}

.wrapper-filters-sidebar .filters-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 264px;
    min-height: calc(100% - 40px);
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.wrapper-filters-sidebar .filters-sidebar .filters-content {
    display: flex;
    flex-direction: column;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px;
    border-bottom: 1px solid #0000001A;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section:last-of-type {
    border-bottom: none;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-section-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: var(--text-color-primary);
    margin: 0;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-section-hide {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-section-hide:hover {
    color: var(--color-primary-hover);
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-section-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-label {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-color-secondary);
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-range-inputs {
    display: flex;
    gap: 8px;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-range-input {
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    padding: 10px 12px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-color-primary);
    background: #FFFFFF;
    transition: border-color 0.2s;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-range-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-range-input::placeholder {
    color: #94A3B8;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-expandable {
    gap: 0;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-toggle .filter-field-label {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-color-secondary);
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15px;
    height: 15px;
    background: var(--color-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 11px;
    color: #FFFFFF;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-count:empty {
    display: none;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
    margin-left: auto;
}


.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-field-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 4px;
    background: #7D85927D;
    border-color: #7D859200;
    flex-shrink: 0;
    transition: all 0.2s;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-checkbox input[type="checkbox"]:checked + .filter-checkbox-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-checkbox input[type="checkbox"]:checked + .filter-checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrapper-filters-sidebar .filters-sidebar .filter-section .filter-checkbox-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-secondary);
    user-select: none;
}

.wrapper-filters-sidebar .filters-sidebar .filters-footer {
    padding: 4px 24px 22px;
}

.btn-apply-filters {
    width: 100%;
    padding: 14px 20px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-apply-filters:hover {
    background: var(--color-primary-hover);
}

.catalog-container {
    width: 100%;
}

.catalog-container .catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 13px;
}

.catalog-container .catalog-grid .catalog-card {
    display: flex;
    flex-direction: column;
    padding: 7px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.catalog-grid .catalog-card .catalog-card-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1.37;
    border-radius: 20px;
}

.catalog-grid .catalog-card .catalog-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 11px 13px;
}

.catalog-grid .catalog-card .catalog-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.catalog-grid .catalog-card .catalog-card-number {
    width: 100%;
    background-color: #3F8CFF1A;
    box-shadow: 0px 6px 58px 0px #C4CBD61A;
    border-radius: 7px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    line-height: 31px;
    color: var(--color-primary);
    cursor: pointer;
}

.catalog-grid .catalog-card .catalog-card-material-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 7px;
}

.catalog-grid .catalog-card .catalog-card-material-badge.material-high {
    background: #00FF621A;
}

.catalog-grid .catalog-card .catalog-card-material-badge.material-medium {
    background: #FFCC001A;
}

.catalog-grid .catalog-card .catalog-card-material-badge.material-low {
    background: #EF43581A;
}

.catalog-grid .catalog-card .catalog-card-material-badge.material-empty {
    background: #AEAEAE1A;
}

.catalog-grid .catalog-card .catalog-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-grid .catalog-card .catalog-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-grid .catalog-card .catalog-info-item .info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #94A3B8;
}

.catalog-grid .catalog-card .catalog-info-item:nth-of-type(1) .info-label .info-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.catalog-grid .catalog-card .catalog-info-item:nth-of-type(2) .info-label .info-icon {
    width: 18px;
    height: auto;
    object-fit: contain;
}

.catalog-grid .catalog-card .catalog-info-item:nth-of-type(3) .info-label .info-icon {
    width: 18px;
    height: auto;
    object-fit: contain;
}

.catalog-grid .catalog-card .catalog-info-item:nth-of-type(4) .info-label .info-icon {
    width: 18px;
    height: 24px;
    object-fit: contain;
}

.catalog-grid .catalog-card .catalog-info-item .info-value {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #64748B;
}

/* Страница новостей */
.news-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px 18px;
    width: 100%;
    max-width: 100%;
}

.news-container .news-item {
    display: flex;
    flex-direction: column;
    width: calc(25% - 14px);
    padding: 13px 12px 22px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-primary);
    box-shadow: 0px 0px 49px 0px #00000021;
}

.news-container .news-item img {
    border-radius: 20px;
    object-fit: contain;
    object-position: center center;
}

.news-container .news-item .date {
    width: max-content;
    margin-top: 14px;
    padding: 4px 10px 3px;
    background-color: #94A3B8;
    border-radius: 10px;
    box-shadow: 0px 6px 58px 0px #C4CBD61A;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 13px;
    font-weight: 600;
}

.news-container .news-item .title {
    margin-top: 15px;
    color: var(--text-color-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.news-container .news-item .content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top: 13px;
    color: #64748B;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
}

.news-container .news-item .link {
    width: 100%;
    margin-top: 27px;
    padding: 13px 22px;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-secondary);
    box-shadow: 0px 6px 12px 0px #3F8CFF43;
    text-align: center;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.news-container .news-item .link:hover {
    background: var(--color-primary-hover);
}

/* Страница статьи */
.article-container {
    display: grid;
    grid-template-columns: 1fr 264px;
    width: 100%;
    gap: 38px;
}

.article-container .article-section {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    width: 100%;
}

.article-container .article-section .article-banner {
    display: block;
    position: relative;
    width: 100%;
    height: 264px;
    background: url(../img/photo-news.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 31px;
}

.article-container .article-section .article-banner .date {
    position: absolute;
    left: 24px;
    bottom: 20px;
    width: max-content;
    padding: 4px 10px 3px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 6px 58px 0px #C4CBD61A;
    color: #94A3B8;
    font-size: 13px;
    line-height: 13px;
    font-weight: 600;
}

.article-container .article-section .article-content {
    padding: 48px 67px 67px 53px;
    background: #ffffff;
    border-radius: 31px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--text-color-primary);
}

.article-container .article-section .article-content p {
    margin-bottom: 7px;
}

.article-container .article-section .article-content p:last-child {
    margin-bottom: 0;
}

.article-container .article-section .article-content ul, ol {
    padding-left: 28px;
}

.article-container .news-feed {
    display: flex;
    flex-direction: column;
    width: 264px;
    height: max-content;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-primary);
}

.article-container .news-feed .news-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 13px;
    border-bottom: 1px solid #efeff0;
}

.article-container .news-feed .news-item:last-of-type {
    border-bottom: none;
}

.article-container .news-feed .news-item .date {
    width: max-content;
    margin-top: 5px;
    padding: 4px 10px 3px;
    background-color: #94A3B8;
    border-radius: 10px;
    box-shadow: 0px 6px 58px 0px #C4CBD61A;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 13px;
    font-weight: 600;
}

.article-container .news-feed .news-item:first-of-type .date {
    margin-top: 0px;
}

.article-container .news-feed .news-item .title {
    margin-top: 15px;
    color: var(--text-color-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    letter-spacing: 0.15px;
}

.article-container .news-feed .news-item .title:hover {
    color: var(--text-color-primary-hover);
}

.article-container .news-feed .news-item .content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 13px 0 20px;
    color: #64748B;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
}

.article-container .news-feed .news-item:last-of-type .content {
    margin-bottom: 8px;
}

/* Футер сайта */
.footer {
    width: 100%;
    height: max-content;
    margin-top: 30px;
    padding: 37px 27px 33px;
    background: #94A3B8;
    opacity: 0.43;
    border-radius: var(--border-radius-primary);
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copyright {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: var(--footer-text-color);
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 36px;
    flex-wrap: wrap;
}

.footer-link {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    text-decoration-line: underline;
    color: var(--text-color-primary);
    cursor: pointer;
}

.footer-link:hover {
    color: var(--text-color-primary-hover);
}

/* Плашка куки */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 809px;
    padding: 13px 18px;
    background: #64748BD9;
    border-radius: var(--border-radius-primary);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    cursor: context-menu;
}

.cookie-banner-text u {
    cursor: pointer;
}

.cookie-icon {
    width: 30px;
    height: 30px;
    margin-left: 7px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-cookie-decline {
    padding: 10px 24px;
    background: #FFFFFF;
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--color-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-decline:hover {
    background: #F5F7FA;
}

.btn-cookie-accept {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-accept:hover {
    background: var(--color-primary-hover);
}

.btn-cookie-accept img {
    width: 16px;
    height: 16px;
}

/* Модальное окно куки */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #64748BC2;
    backdrop-filter: blur(6.3px);
    -webkit-backdrop-filter: blur(6.3px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-overlay.is-open {
    display: flex;
}

.cookie-modal {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    width: 100%;
    max-width: 822px;
    max-height: 80vh;
    padding: 32px 32px 37px 46px;
    background: #FFFFFF;
    border-radius: var(--border-radius-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cookie-modal-close {
    position: absolute;
    top: 26px;
    right: 24px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.2s;
}

.cookie-modal-close:hover {
    opacity: 0.7;
}

.cookie-modal-close img {
    width: 18px;
    height: 18px;
}

.cookie-modal-title {
    width: 68%;
    font-weight: 700;
    font-size: 32px;
    color: var(--text-color-primary);
    margin: 0;
}

.cookie-modal-content {
    position: relative;
    overflow-y: auto;
    padding-right: 30px;
}

.cookie-modal-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-primary);
}

.cookie-modal-text p {
    margin: 0 0 16px 0;
}

.cookie-modal-text p:last-child {
    margin-bottom: 0;
}

.cookie-modal-text-background {
    position: sticky;
    bottom: 0;
    height: 61px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
    z-index: 1;
}

.cookie-modal-content::-webkit-scrollbar {
    width: 3px;
}

.cookie-modal-content::-webkit-scrollbar-track {
    background: #D9D9D9;
    border-radius: 3px;
}

.cookie-modal-content::-webkit-scrollbar-thumb {
    background: #0A1629;
    border-radius: 3px;
}

.cookie-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 19px;
}

.btn-cookie-modal-decline {
    padding: 10px 24px;
    background: #FFFFFF;
    border: 1px solid #D8E0F0;
    border-radius: var(--border-radius-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--text-color-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-modal-decline:hover {
    background: #F5F7FA;
}

.btn-cookie-modal-accept {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-modal-accept:hover {
    background: var(--color-primary-hover);
}

.btn-cookie-modal-accept img {
    width: 16px;
    height: 16px;
}