@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --background-default: #F5F7FA;
    --background-surface: #FFFFFF;

    --stroke-default: #EBEBEC;

    --text-primary: #09090F;
    --text-accent: #0970CD;
    --text-disabled: #A6A6A9;
    --text-oncolor: #FFFFFF;

    --controls-item-active: #E9F2FB;

    --icon-accent: #0970CD;

    --button-primary-default: #0970CD;

    --input-bg: #FFFFFF;
    --input-border-default: #EBEBEC;
}

body {
    margin: 0;
    background-color: var(--background-surface);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

h1 {
    margin: 0;
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
}

h4 {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    display: flex;
    gap: 8px;
    align-items: center;
}

.mt12 {
    margin-top: 12px;
}

.mt32 {
    margin-top: 32px;
}

*,
:after,
:before {
    box-sizing: border-box;
}

.table_responsive {
    overflow: auto;
    max-height: calc(100vh - 170px);
}

table {
    border-collapse: collapse;
}

tr {
    border-bottom: 1px solid #d8e1ea;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

tr:hover td {
    background-color: var(--background-default);
}

td {
    border: none;
    padding: 0 20px;
    vertical-align: middle;
    white-space: nowrap;
}

th {
    text-align: left;
}

.fixed_screen {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
}

.fixed_screen .sidebar {
    width: 264px;
    background: var(--background-surface);
    flex-shrink: 0;
    height: 100vh;
    border-right: 1px solid var(--stroke-default);
    padding: 24px 16px 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.fixed_screen .sidebar .menus_holder {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fixed_screen .sidebar .menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-decoration: none;
}

.fixed_screen .sidebar .logo {
    padding-left: 12px;
}

.fixed_screen .sidebar .menu a {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    text-decoration: none;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    color: var(--text-primary);
}

.fixed_screen .sidebar .menu a.active {
    background: var(--controls-item-active);
    border-radius: 8px;
    color: var(--text-accent);
}

.fixed_screen .sidebar .menu a.active svg path {
    fill: var(--icon-accent);
}

.fixed_screen .content {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 100vh;
}

.header {
    background-color: var(--background-surface);
    border-bottom: 1px solid var(--stroke-default);
    padding: 12px 48px;
    position: sticky;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
}

.header .back_button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.header .right_block {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header .right_block .admin_button {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    border: solid 1px var(--stroke-default);
    border-radius: 8px;
    padding: 11px 16px;
}

.header .right_block .user_info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .right_block .logout_button {
    display: flex;
    align-items: center;
    border: solid 1px var(--stroke-default);
    border-radius: 8px;
    padding: 11px 11px;
}

.content_holder {
    margin: 24px 48px 20px 48px;
    background: var(--background-surface);
    border: 1px solid var(--stroke-default);
    border-radius: 16px;
}

.content_holder_transparent {
    margin: 24px 48px 20px 48px;
}

.content_holder .table_header {
    border-bottom: 1px solid var(--stroke-default);
    padding: 20px 24px;
}

.container {
    max-width: 630px;
    margin: 24px auto;
    min-height: calc(100vh - 48px);
    display: flex;
}

.form_page_holder {
    flex: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form_page_holder .form_holder {
    margin: 48px 0;
}

.form_page_holder .form_footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-disabled);
}

.form_page_holder .form_footer div {
    display: flex;
    gap: 24px;
}

.form_page_holder .form_holder input:not([type="checkbox"]) {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 20px;
    background: var(--input-bg);
    border: 1px solid var(--input-border-default);
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 16px;
    line-height: 24px;
}

.form_page_holder .form_holder button {
    width: 100%;
    background: var(--button-primary-default);
    border-radius: 8px;
    border: none;
    height: 48px;
    color: var(--text-oncolor);
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}
