.login-container{

}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-container label {
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #333;
}

.input_block {
    width: 100%;
    height: 3rem;

    background: var(--config-selector-bg);
    border-radius: var(--border-radius-btn);
    border-width: 0rem;

    font-family: var(--secondary-font-family);
    font-weight: 450;
    font-size: 1.125rem;
    line-height: 0.875rem;

    color: var(--text-color);
}

.btn_login_size {
    width: 100%;
    height: 3rem;
}
.sidebar {
    background-color: var(--white-island-color);
    border-radius: var(--border-radius-area);
    padding: 0.75rem 0.5rem;
    box-shadow: var(--silent-shadow);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 0.25rem;
}

.sidebar .menu-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--border-radius-btn);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    position: relative;
}

.sidebar .menu-item span {
    flex: 1;
    white-space: nowrap;
}

.menu-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar .menu-item:hover {
    background-color: var(--primary-color-opacity-01);
    transform: translateX(2px);
}

.sidebar .menu-item.active {
    background-color: var(--secondary-color);
    color: var(--text-color-inverse);
    font-weight: 600;
}

.sidebar .menu-item.active_dropdown {
    background-color: var(--primary-color);
    color: var(--text-color-inverse);
    font-weight: 600;
}

.sidebar .menu-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sidebar .dropdown-toggle {
    justify-content: space-between;
}

.dropdown-arrow {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.dropdown-toggle.active .dropdown-arrow,
.dropdown-toggle:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    padding-left: 2rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    margin-bottom: 0.25rem;
}

.dropdown-menu .menu-item {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
}

.logout-item {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.logout-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--main-font-family);
    color: #f44336;
}

.logout-btn:hover {
    background-color: rgba(244, 67, 54, 0.08);
    color: #d32f2f;
}

.logout-btn .menu-icon {
    stroke: currentColor;
}

@media (max-width: 1024px) {
    .sidebar {
        padding: 0.5rem;
    }

    .sidebar .menu-item {
        padding: 0.625rem 0.75rem;
        gap: 0.625rem;
    }

    .dropdown-menu {
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar .menu-item span {
        font-size: 0.8125rem;
    }

    .menu-icon {
        width: 0.9375rem;
        height: 0.9375rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sidebar .menu-item,
    .dropdown-arrow {
        transition: none;
    }
}
.content-admin-board {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    align-items: stretch;
    background-color: var(--background-light-color);
    width: 100%;
    min-height: 60vh;
}

.sidebar {
    flex: 0 0 16%;
    min-width: 200px;
    max-width: 250px;
}


.content-admin-section {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 0.3125rem;
}

.content-admin-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-admin-section form input {
    width: 100%;
    height: 3rem;

    background: var(--config-selector-bg);
    border-radius: var(--border-radius-btn);
    border-width: 0rem;

    font-family: var(--secondary-font-family);
    font-weight: 450;
    font-size: 1.125rem;
    line-height: 0.875rem;

    color: var(--text-color);
}

.admin-select {
    width: 100%;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white-btn-bg);
    background-clip: padding-box;
}
.settings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.settings-section {
    background: var(--white-island-color);
    border-radius: var(--border-radius-area);
    box-shadow: var(--silent-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.settings-section-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.settings-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.settings-section-description {
    font-size: 0.875rem;
    color: var(--text-color-inactive);
    margin: 0;
}

.settings-section-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-label-description {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-color-inactive);
    font-weight: 400;
    margin-top: 0.25rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text-color);
    background-color: var(--white-btn-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-btn);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-opacity-01);
}

.form-input::placeholder {
    color: var(--text-color-inactive);
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.input-group .form-input {
    max-width: 200px;
}

.input-suffix {
    font-size: 0.875rem;
    color: var(--text-color-inactive);
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px var(--primary-color-opacity-01);
}

.toggle-label {
    font-size: 0.875rem;
    color: var(--text-color);
    cursor: pointer;
}

.settings-footer {
    padding: 1rem 1.5rem;
    background-color: var(--background-light-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-start;
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--primary-color);
    color: var(--text-color-inverse);
    border: none;
    border-radius: var(--border-radius-btn);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--silent-shadow);
}

.btn-save:hover {
    background-color: var(--primary-btn-color-hover);
    box-shadow: var(--some-shadow);
}

.btn-save:active {
    transform: translateY(1px);
}

.info-box {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background-color: var(--info-block-color);
    border-left: 3px solid var(--info-text-color);
    border-radius: var(--border-radius-btn);
    font-size: 0.8125rem;
    color: var(--text-color);
    margin-top: 0.75rem;
}

.info-box-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: var(--info-text-color);
}

@media (max-width: 768px) {
    .settings-section-header,
    .settings-section-body {
        padding: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-group .form-input {
        max-width: 100%;
    }
}


.auth-form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem 0;
}

.auth-form__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-form__message {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: none;
}

.auth-form__message--success {
    color: #1b5e20;
    background: #e8f5e9;
}

.auth-form__message--error {
    color: #c62828;
    background: #ffebee;
}

.auth-form__message--warning {
    color: #e65100;
    background: #fff3e0;
}

.auth-form__fields {
    margin-bottom: 0.5rem;
}

.auth-form__link {
    text-align: center;
    margin-top: 1.25rem;
}

.auth-form__link a {
    color: #31723c;
    text-decoration: none;
}

.auth-form__link a:hover {
    text-decoration: underline;
}

.form-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: #fff;
    color: #212529;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 0.75rem;
}

.form-input:focus {
    border-color: #31723c;
    box-shadow: 0 0 0 3px rgba(49, 114, 60, 0.15);
}

.form-input--error {
    border-color: #dc3545;
}

.form-input--error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-input[type="number"] {
    -moz-appearance: textfield;
}

.form-input[type="number"]::-webkit-outer-spin-button,
.form-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.form-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(49, 114, 60, 0.3);
}

.form-btn--primary {
    background: #31723c;
    color: #fff;
}

.form-btn--primary:hover {
    background: #285a30;
}

.form-btn--primary:disabled {
    background: #a0c4a6;
    cursor: not-allowed;
}

.form-btn--secondary {
    background: #f0f0f0;
    color: #495057;
}

.form-btn--secondary:hover {
    background: #e0e0e0;
}

.form-btn--danger {
    background: #dc3545;
    color: #fff;
}

.form-btn--danger:hover {
    background: #c82333;
}


.form-error {
    display: none;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
}

.form-error--visible {
    display: block;
}

.provider-selector {
    margin-bottom: 0.75rem;
}

.provider-selector__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.375rem;
}

.provider-selector__select {
    width: 100%;
    appearance: auto;
}

.provider-selector__readonly {
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    color: #495057;
    box-sizing: border-box;
}

/*
Зеленые:
4B9D55 - светл
31723c - шапка
296131 - фонов
123C18 - темн

0F3019 - оч темн
*/
/*ref: https://angel-rs.github.io/css-color-filter-generator/*/

:root {
	--primary-color: #31723c;
	--primary-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--secondary-color: #285a30;
	--secondary-color-filter: brightness(0) saturate(100%) invert(25%) sepia(38%) saturate(691%) hue-rotate(78deg) brightness(99%) contrast(88%);
	--third-color: #0f3113;

	--primary-color-opacity-01: rgba(49, 114, 60, 0.1);
	--primary-color-opacity-03: rgba(49, 114, 60, 0.3);
	--help-light-color: #32713C;
	--help-dark-color: #1C5B26;

	--primary-btn-color: #31723c;
	--primary-btn-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--primary-btn-color-hover: #285a30;

	--secondary-btn-color: #fff;
	--secondary-btn-color-hover: #ccc;
	--secondary-btn-color-hover-opacity-03: rgba(204, 204, 204, 0.3);

	--white-island-color: #fcfcfc;

	--mini-btn-color-inactive: #b8b8b8;
	--mini-btn-color-inactive-filter: brightness(0) saturate(100%) invert(85%) sepia(0%) saturate(908%) hue-rotate(25deg) brightness(94%) contrast(96%);
	--mini-btn-color: #6D6D6D;
	--mini-btn-color-filter: brightness(0) saturate(100%) invert(40%) sepia(63%) saturate(0%) hue-rotate(213deg) brightness(91%) contrast(87%);
	--mini-btn-color-hover: #2d2d2d;

	--white-btn-bg: #fff;

	--warning-text-color: #AE7300;
	--warning-block-color: rgba(255, 185, 49, 0.2);
	--error-text-color: #C00224;
	--error-block-color: rgba(192, 2, 36, 0.2);
	--info-text-color: #489955;
	--info-block-color: rgba(72, 153, 85, 0.2);

	--text-color: #212529;
	--text-color-multiselect: #212529;
	--text-color-filter: brightness(0) saturate(100%) invert(10%) sepia(26%) saturate(334%) hue-rotate(169deg) brightness(94%) contrast(89%);
	--text-color-inactive: #808080;
	--text-color-hover: #ddd;
	--text-color-inverse: #fff;

	--footer-color: #ddd;
	--footer-color-hover: #f0f0f0;

	--multiselect-text-hover: #c66;
	--multiselect-text-placeholder: #6d6d6d;
	--cert-id-text: #64748b;

	--link-color: #0d6efd;
	--code-color: #d63384;
	--border-color: rgba(0, 0, 0, 0.15);
	--code-color-bg: #f0f0f0;
	--note-block-bg: #fff;
	--quote-block-bg: #ccc;
	--bookmark-color-bg: var(--code-color-bg);

	--config-selector-bg: rgba(255, 255, 255, 0.9);

	--background-dark-color: #0f3113;
	--background-light-color: #f5f5f5;
	--background-dark-color-opacity06: rgba(15, 49, 19, 0.6);

	--main-font-family: "Wix Madefor Text", "Montserrat", sans-serif;
	--secondary-font-family: "Wix Madefor Text", "Montserrat", sans-serif;
	/*
	--main-font-family: 'sirius',"Wix Madefor Text", "Montserrat", sans-serif;
	--secondary-font-family: 'sirius',"Wix Madefor Text", "Montserrat", sans-serif;
	 */
	--icon-font-family: "Font Awesome 7 Free";
	--icon-font-family-brands: "Font Awesome 7 Brands";

	--main-box-shadow: 0 0 0 0.25rem rgb(75 157 85 / 50%), 0.3125rem 0.3125rem 1.875rem rgb(0 0 0 / 15%);
	--more-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.2);
	--some-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.15);
	--silent-shadow: 0.1875rem 0.1875rem 1.875rem rgba(0, 0, 0, 0.08);

	--scrollbar-thumb: rgba(50, 113, 60, 0.5);

	--border-radius-btn: 0.5rem;
	--border-radius-input: 0.75rem;
	--border-radius-area: 1rem;

	--protected-cert-color: #f59e0b;
	--protected-cert-color-light: #f5bb54;

	/*logo*/
	--logo-primary-color: #0F3013;
	--logo-secondary-color: #4B9D55;
	--logo-third-color: #123B18;
	--logo-fourth-color: #FCFCFC;

	--logo-company-primary-color: #BE8460;
	--logo-company-secondary-color: #7D5448;
}

/* Тёмная тема (сумречный лес):
:root {
	--background-dark-color: #050c06;
	--background-light-color: #132214;

	--text-color: #6c846f;
	--text-color-multiselect: #f0f0f0;
	--text-color-inactive: #8d9e8c;
	--text-color-hover: #c7d5b9;
	--text-color-inverse: #f0f6ee;

	--primary-color: #2e4d2d;
	--secondary-color: #457543;
	--third-color: #132214;

	--primary-color-opacity-01: rgba(46, 77, 45, 0.1);
	--primary-color-opacity-03: rgba(46, 77, 45, 0.3);

	--primary-btn-color: #2e4d2d;
	--primary-btn-color-hover: #355740;

	--secondary-btn-color: #c8d7c9;
	--secondary-btn-color-hover: #d1ddd5;

	--white-island-color: #182b19;

	--mini-btn-color-inactive: #7a8f7a;
	--mini-btn-color-inactive-filter: brightness(0) saturate(100%) invert(55%) sepia(5%) saturate(20%) hue-rotate(30deg) brightness(94%) contrast(90%);
	--mini-btn-color: #9cb7a0;
	--mini-btn-color-filter: brightness(0) saturate(100%) invert(70%) sepia(6%) saturate(22%) hue-rotate(31deg) brightness(94%) contrast(88%);
	--mini-btn-color-hover: #cfd9ce;

	--white-btn-bg: #233a24;

	--warning-text-color: #a87e36;
	--warning-block-color: rgba(168, 126, 54, 0.2);
	--error-text-color: #b93d4c;
	--error-block-color: rgba(185, 61, 76, 0.2);
	--info-text-color: #6d8f6e;
	--info-block-color: rgba(109, 143, 110, 0.2);

	--footer-color: #1e3520;
	--footer-color-hover: #2b482c;

	--multiselect-text-hover: #a8bda0;
	--multiselect-text-placeholder: #94a792;
	--cert-id-text: #a6b6a6;

	--link-color: #6d8f6e;
	--code-color: #b5c5b3;
	--border-color: rgba(190, 200, 190, 0.12);

	--code-color-bg: #0f1d0f;
	--note-block-bg: #162817;
	--quote-block-bg: #1a2e1b;

	--config-selector-bg: rgba(24, 43, 25, 0.9);

	--main-box-shadow: 0 0 0 0.25rem rgba(46, 77, 45, 0.3), 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.7);
	--more-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.8);
	--some-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.7);
	--silent-shadow: 0.1875rem 0.1875rem 1.875rem rgba(0, 0, 0, 0.6);

	--scrollbar-thumb: rgba(46, 77, 45, 0.55);

	--border-radius-btn: 0.5rem;
	--border-radius-input: 0.75rem;
	--border-radius-area: 1rem;

	--protected-cert-color: #9c8a63;
	--protected-cert-color-light: #b2a079;

	--logo-primary-color: #050c06;
	--logo-secondary-color: #274026;
	--logo-third-color: #132214;
	--logo-fourth-color: #c8d7c9;

	--logo-company-primary-color: #a39066;
	--logo-company-secondary-color: #7d6b4c;

	--main-font-family: "Wix Madefor Text", "Montserrat", sans-serif;
	--secondary-font-family: "Wix Madefor Text", "Montserrat", sans-serif;

	--icon-font-family: "Font Awesome 7 Free";
	--icon-font-family-brands: "Font Awesome 7 Brands";

	--help-light-color: #213622;
	--help-dark-color: #274026;
}
*/

/*test
:root {
	--primary-color: #ff0000;
	--primary-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--secondary-color: #ffff00;
	--secondary-color-filter: brightness(0) saturate(100%) invert(25%) sepia(38%) saturate(691%) hue-rotate(78deg) brightness(99%) contrast(88%);
	--third-color: #00ff00;

	--primary-color-opacity-03: rgba(49, 114, 60, 0.3);
	--help-light-color: #f09000;
	--help-dark-color: #f09900;

	--primary-btn-color: var(--primary-color);
	--primary-btn-color-filter: brightness(0) saturate(100%) invert(34%) sepia(69%) saturate(343%) hue-rotate(79deg) brightness(97%) contrast(97%);
	--primary-btn-color-hover: var(--secondary-color);

	--secondary-btn-color: rgba(255, 255, 255, .0);
	--secondary-btn-color-hover: #ccc;

	--mini-btn-color-inactive: #2d0fff;
	--mini-btn-color-inactive-filter: brightness(0) saturate(100%) invert(19%) sepia(100%) saturate(6294%) hue-rotate(251deg) brightness(89%) contrast(131%);
	--mini-btn-color: #6D0099;
	--mini-btn-color-filter: brightness(0) saturate(100%) invert(13%) sepia(38%) saturate(6610%) hue-rotate(276deg) brightness(99%) contrast(125%);
	--mini-btn-color-hover: #2d0099;

	--white-btn-bg: #aaa;

	--warning-text-color: #AE7300;
	--warning-block-color: #ff0000;
	--error-text-color: #C00224;
	--error-block-color: #00ff00;
	--info-text-color: #489955;
	--info-block-color: #0000ff;

	--text-color: #ff00ff;
	--text-color-filter: brightness(0) saturate(100%) invert(10%) sepia(26%) saturate(334%) hue-rotate(169deg) brightness(94%) contrast(89%);
	--text-color-inactive: #808080;
	--text-color-filter: brightness(0) saturate(100%) invert(20%) sepia(79%) saturate(3598%) hue-rotate(294deg) brightness(117%) contrast(134%);
	--text-color-hover: #ddd;
	--text-color-inverse: #9f9f0f;
	--link-color: #ffffff;
	--code-color: #0cffc0;
	--border-color: rgba(0, 0, 0, 0.15);
	--code-color-bg: #f0f0f0;
	--note-block-bg: #aaa;
	--quote-block-bg: #ccc;
	--bookmark-color-bg: var(--code-color-bg);
	--config-selector-bg: rgba(255, 255, 255, 0.9);

	--background-dark-color: #000000;
	--background-light-color: #ffffff;
	--background-dark-color-opacity06: rgba(15, 49, 19, 0.6);

	--main-font-family: Ruda, Helvetica, Arial, sans-serif;
	--secondary-font-family: 'Roboto';
	--icon-font-family: "Font Awesome 5 Free";

	--main-box-shadow: 0 0 0 0.25rem rgb(50 113 60 / 25%), 0.3125rem 0.3125rem 1.875rem rgb(0 0 0 / 15%);
	--some-shadow: 0.3125rem 0.3125rem 1.875rem rgba(0, 0, 0, 0.15);

	--scrollbar-thumb: rgba(50, 113, 60, 0.5);

	--border-radius-btn: 2.5rem;
	--border-radius-input: 2.5rem;
}
*/

@font-face {
	font-family: "Font Awesome 7 Free";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(/static/fonts/fa-regular-400.woff2);
}

@font-face {
	font-family: "Font Awesome 7 Free";
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url(/static/fonts/fa-solid-900.woff2);
}

@font-face {
	font-family: "Font Awesome 7 Brands";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(/static/fonts/fa-brands-400.woff2);
}

@font-face {
	font-family: 'Wix Madefor Text';
	src: url(/static/fonts/WixMadeforText-VariableFont_wght.woff2);
}

@font-face {
	font-family: 'Wix Madefor Display';
	src: url(/static/fonts/WixMadeforDisplay-VariableFont_wght.woff2);
}

@media print {
	.textarea__input_fullpage {
		display: block !important;
	}

	#container,
	.plot-download {
		display: none !important;
	}

	grid p a:after,
	.linkToDownloadBlobFile:after,
	.plot-load::after {
		display: none !important;
	}

	.linkToDownloadBlobFile {
		filter: none !important;
		background-color: unset !important;
		padding: 0 !important;
	}

	html,
	body {
		height: auto !important;
		overflow: visible !important;
	}
}

html {
	scrollbar-gutter: stable;
	scrollbar-width: none;

	/*
	transform: scale(1.05);
	transform-origin: 0 0;
	width: calc(100% / 1.05);
	height: calc(100% / 1.05);
	*/
}

body {
	font-weight: 450;
	font-family: var(--main-font-family);
	background-color: var(--background-dark-color);
	color: var(--text-color);
	line-height: 1.6;
	margin: 0;
	font-size: 1rem;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	overflow-anchor: none;
}

html,
body {
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

body {
	height: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
	display: none;
}

select {
	color: var(--text-color);
}

img,
svg {
	vertical-align: middle;
}

textarea {
	resize: vertical;
}

a {
	color: var(--link-color);
}

code {
	font-family: var(--secondary-font-family);
	cursor: pointer;
	color: var(--code-color);
	word-wrap: break-word;
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: 450;
}

.h1,
h1 {
	font-size: calc(1.375rem + 1.5vw);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
	cursor: pointer;
}

a {
	text-decoration: auto;
}

.btn {
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	border: 0rem solid transparent;
	background-color: transparent;
}

[type=button],
[type=reset],
[type=submit],
button {
	-webkit-appearance: button;
	appearance: button;
}

button,
select {
	text-transform: none;
}

button,
input,
select {
	border-radius: 0rem;
}

.text_block {
	font-size: 0.8125rem;
	padding: 0.625rem;
	margin: 0.3125rem 0rem 0.3125rem 0rem;
}

.help_block {
	background: var(--help-light-color);
	color: var(--text-color-inverse);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.help-2_block {
	background-color: var(--help-dark-color);
	color: var(--text-color-inverse);
	font-size: 0.75rem;
	border-radius: var(--border-radius-input);
}

.warning_block,
.error_block,
.info_block {
	margin: 0.3125rem 0;
	background-repeat: no-repeat;
	background-position: left 1.125rem top 50%;
	padding-left: 1.25rem;
	border-radius: var(--border-radius-input);
}

.warning_block {
	background-color: var(--warning-block-color);
	color: var(--warning-text-color);
}

.error_block {
	background-color: var(--error-block-color);
	color: var(--error-text-color);
}

.info_block {
	background-color: var(--info-block-color);
	color: var(--info-text-color);
}

.text_block_info {
	font-size: 0.8125rem;
	margin-left: 0.75rem;
	margin-right: 0.75rem;
	padding: 0.9375rem 0;
}

.label {
	font-family: var(--main-font-family);
	font-size: 1.5rem;
	font-weight: 700;
	padding: 0.25rem 0;
}

.label_2 {
	font-size: 1.375rem;
	font-weight: 700;
	padding: 0.3125rem 0 0.25rem 0;
}

.label_modal-header {
	font-size: 1.375rem;
	font-weight: 700;
}

.main_text {
	text-align: -webkit-left;
	font-family: var(--main-font-family);
	font-weight: 450;
	font-size: 1rem;
	padding-bottom: 0.5rem;
}

.input_link {
	margin-bottom: 0.3125rem;
}

.helps_img {
	margin: 0.25rem 0rem;
}

.logo {
	height: 4.375rem;
}

#container {
	margin: 0 auto;
}

#header {
	height: 5rem;
	font-weight: 700;
	text-align: start;
	margin: 0 auto;
	padding: 0.3125rem calc((100% - 43.75rem)/2);
	width: 100%;
	background: url(/static/img/bg.svg) repeat-x, var(--primary-color);
}

#content {
	width: 100%;
	padding: 0.3rem calc((100% - 51rem)/2) 1.25rem calc((100% - 51rem)/2);
	background-color: var(--background-light-color);
	margin-top: 0.625rem;
}

.footer {
	color: var(--text-color-inverse);
	font-size: 0.9rem;
	padding: 1.25rem calc((100% - 43.75rem)/2);
}

#paramsBlock {
	border-radius: var(--border-radius-input);
	padding: 0.3125rem calc((100% - 44.6875rem) / 2) 0.625rem;
}

.help-2_block-kuzn {
	display: flex;
	flex-direction: row;
	justify-content: start;
}

.heading {
	padding-right: 0.3125rem;
	width: 6.375rem;
}

.second {
	width: 36.25rem;
}

.help-close {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.btn_default_size {
	width: 15.75rem;
	height: 3rem;
}

.btn_mini_size {
	min-width: 10.125rem;
	width: 15.75rem;
	max-height: 2.5rem;
	height: 2.5rem;
}

.success {
	background-color: var(--primary-btn-color);
	color: var(--text-color-inverse);
	border-color: var(--primary-btn-color);
}

.success:hover,
.success:focus,
.success:active {
	background-color: var(--primary-btn-color-hover);
	color: var(--text-color-inverse);
	border-color: var(--primary-btn-color-hover);
}

.light {
	background-color: var(--secondary-btn-color);
	color: var(--primary-btn-color);
	border-color: var(--primary-btn-color);
}

.light:hover,
.light:focus,
.light:active {
	background-color: var(--secondary-btn-color-hover);
	color: var(--primary-btn-color);
	border-color: var(--primary-btn-color);
}

.waiting_load {
	background-color: var(--secondary-btn-color-hover);
	color: var(--primary-btn-color);
	border-color: var(--primary-btn-color);
}

.less_btn {
	width: 10.125rem;
	min-height: 2.625rem;
}

.roll_type {
	width: 1.25rem;
	height: 1.5625rem;
	margin-left: 0.625rem;
	margin-top: 0.1875rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: 0.1s;
	transition: 0.1s;
}

.roll_type:active {
	font-size: 1.0625rem;
}

.roll_secondary_password:active {
	margin-left: 0.0625rem;
}

.mini_btn {
	font-size: 0.875rem;
	margin-top: auto;
	margin-bottom: auto;
	color: var(--mini-btn-color);
	text-decoration: underline;
	-webkit-transition: 0.1s;
	transition: 0.1s;
}

.mini_btn:hover {
	color: var(--mini-btn-color-hover);
}

.wide_btn {
	width: 18.75rem;
}

.text_decoration_none {
	text-decoration: none;
}

.copy_note_btn {
	height: 3rem;
	min-width: 10.125rem;
}

.gap {
	gap: 0.3125rem;
}

.gap_10 {
	gap: 0.625rem;
}

.gap_20 {
	gap: 1.25rem;
}

.row_gap {
	row-gap: 0.3125rem;
}

.row_gap_10 {
	row-gap: 0.625rem;
}

.row_gap_20 {
	row-gap: 1.25rem;
}

.more_shadow {
	box-shadow: var(--more-shadow);
}

.some_shadow {
	box-shadow: var(--some-shadow);
}

.silent_shadow {
	box-shadow: var(--silent-shadow);
}

::-webkit-scrollbar,
::-moz-scrollbar {
	width: 0.4rem;
	height: 0.4rem;
}

textarea::-webkit-scrollbar,
textarea::-moz-scrollbar {
	width: 1.25rem;
	height: 1.25rem;
}

::-webkit-scrollbar-corner,
::-moz-scrollbar-corner {
	opacity: 0;
}

::-webkit-scrollbar-thumb,
::-moz-scrollbar-thumb {
	border-radius: 6.25rem;
	background-clip: content-box;
	background-color: var(--scrollbar-thumb);
}

textarea::-webkit-scrollbar-thumb,
textarea::-moz-scrollbar-thumb {
	border-radius: 6.25rem;
	border: 0.4875rem solid transparent;
	background-clip: content-box;
	background-color: var(--scrollbar-thumb);
}

::-webkit-resizer,
::-moz-resizer {
	display: none;
}

.font_size_10px {
	font-size: 0.625rem;
}

.font_size_13px {
	font-size: 0.8125rem;
}

.font_size_15px {
	font-size: 0.9375rem;
}

.font_size_18px {
	font-size: 1.125rem;
}

.font_size_30px {
	font-size: 1.875rem;
}

.disabled_btn {
	pointer-events: none;
	opacity: 0.65;
}

.pointer_events_none {
	pointer-events: none;
}

.to_download {
	min-width: 13rem;
	width: 51%;
	padding: 0.4375rem;
}

.white_space_break_spaces {
	white-space: break-spaces;
}

.word_wrap_break_word {
	word-wrap: break-word;
}

#dontAsk[type=checkbox],
#editableNote[type=checkbox],
#rutokenEncNote[type=checkbox],
#extraAESCrypt[type=checkbox],
#markdownCheckbox[type=checkbox],
#markdownCheckboxNote[type=checkbox],
#addFileCheckbox[type=checkbox] {
	display: none;
}

#dontAsk:checked+#dontAskLabel:before,
#editableNote:checked+#editableNoteLabel:before,
#rutokenEncNote:checked+#rutokenEncNoteLabel:before {
	content: attr(data-content-on);
	margin-left: 0.3125rem;
	margin-right: 0.3125rem;
	font-family: var(--icon-font-family);
}

#dontAsk+#dontAskLabel:before,
#editableNote+#editableNoteLabel:before,
#rutokenEncNote+#rutokenEncNoteLabel:before {
	content: attr(data-content);
	margin-left: 0.3125rem;
	margin-right: 0.3125rem;
	font-family: var(--icon-font-family);
}

#cloneBtnEmoji,
#markdownCheckboxEmoji,
#markdownCheckboxEmojiNote,
#currLinkReadonlyIcon,
#exportToPdfIcon,
#addFileCheckboxEmoji,
#helpBtn,
#randGOSTModeBtn,
#randAESModeBtn,
#closeHelpBtn,
#closeSaveCertBtn,
#closeU2FBtn,
#closeRutokenBtn,
#closeMnemonicBtn,
#passwordPreviewBtn,
#randPasswordBtn,
#exportCertsBtn,
#importCertsBtn,
#deleteAllCertsBtn {
	width: 1.8125rem;
	height: 1.8125rem;
	border-radius: var(--border-radius-btn);
}

.certBtn:hover,
.cert-btn:hover,
.advancedSettings:hover,
.white_btn:hover,
.two_factor_dropdown:hover,
.input-block__container_side_input:hover,
.input-block__container_side_input_mini:hover,
#selectNoteType:hover,
#cloneBtnEmoji:hover,
#markdownCheckboxEmoji:hover,
#markdownCheckboxEmojiNote:hover,
#currLinkReadonlyIcon:hover,
#exportToPdfIcon:hover,
#addFileCheckboxEmoji:hover,
#exportCertsBtn:hover,
#importCertsBtn:hover,
#deleteAllCertsBtn:hover,
#markdownCheckboxNote:checked+#markdownCheckboxEmojiNote:hover,
#markdownCheckbox:checked+#markdownCheckboxEmoji:hover,
#addFileCheckbox:checked+#addFileCheckboxEmoji:hover {
	background-color: var(--text-color-hover);
}

textarea.white_btn:hover {
	background-color: var(--white-btn-bg);
}

#selectNoteType:focus {
	background-color: transparent !important;
}

#markdownCheckboxNote:checked+#markdownCheckboxEmojiNote,
#markdownCheckbox:checked+#markdownCheckboxEmoji,
#addFileCheckbox:checked+#addFileCheckboxEmoji {
	color: var(--primary-btn-color);
	background-color: var(--primary-color-opacity-01);
}

.mddToolbar {
	gap: 0.45%;
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

div.mddToolbar {
	padding: 0.3125rem;
	width: 100%;
}

div.mddToolbar a.mdd_button,
.fas-icon {
	padding: 0rem 0.125rem;
	text-decoration: none;
	font-family: var(--icon-font-family);
	font-weight: 900;
	width: 1.25rem;
	display: inline-flex;
	justify-content: center;
}

.fab-icon {
	padding: 0rem 0.125rem;
	text-decoration: none;
	font-family: var(--icon-font-family-brands);
	font-weight: 400;
	width: 1.25rem;
	display: inline-flex;
	justify-content: center;
}

.fab-icon-bold {
	padding: 0rem 0.125rem;
	text-decoration: none;
	font-family: var(--icon-font-family-brands);
	font-weight: 900;
	width: 1.25rem;
	display: inline-flex;
	justify-content: center;
}

.fas-icon-btn {
	padding-right: 0.625rem;
}

div.mddToolbar a.mdd_button {
	border-radius: var(--border-radius-btn);
	color: var(--text-color);
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

a.mdd_button:hover {
	background-color: var(--text-color-hover);
}

div.TMCommandDivider,
span.mdd_sep {
	width: 0.3125rem;
	display: block;
	border-left: solid 0.0625rem var(--text-color-inactive);
	margin-left: 0.1875rem;
	margin-right: 0.1875rem;
}

.white_btn {
	background-color: var(--white-btn-bg);
	border: 0rem;
}

.fas_btn {
	padding: 0.6875rem;
	width: 7%;
}

.theme_color {
	color: var(--primary-color);
}

.theme_color_filter {
	filter: var(--primary-color-filter);
}

.theme_color_2 {
	color: var(--secondary-color);
}

.theme_color_2_filter {
	filter: var(--secondary-color-filter);
}

.theme_color_mini-btn {
	color: var(--mini-btn-color);
}


h1>a.anchor,
h2>a.anchor,
h3>a.anchor,
h4>a.anchor,
h5>a.anchor,
h6>a.anchor {
	text-decoration: none;
	color: var(--text-color);
	display: inline-block;
	position: relative;
	outline: none;
}

.anchor:target {
	background: var(--bookmark-color-bg);
}

h1>a.anchor:before,
h2>a.anchor:before,
h3>a.anchor:before,
h4>a.anchor:before,
h5>a.anchor:before,
h6>a.anchor:before {
	margin-right: 0.3125rem;
	visibility: hidden;
	opacity: 0.2;
	font-weight: 300;
	line-height: inherit;
	text-align: center;
}

h1>a.anchor:hover:before,
h2>a.anchor:hover:before,
h3>a.anchor:hover:before,
h4>a.anchor:hover:before,
h5>a.anchor:hover:before,
h6>a.anchor:hover:before {
	visibility: visible;
	opacity: 0.8;
}

h1>a.anchor:focus:before,
h2>a.anchor:focus:before,
h3>a.anchor:focus:before,
h4>a.anchor:focus:before,
h5>a.anchor:focus:before,
h6>a.anchor:focus:before,
h1:hover .anchor:before,
h2:hover .anchor:before,
h3:hover .anchor:before,
h4:hover .anchor:before,
h5:hover .anchor:before,
h6:hover .anchor:before {
	content: "#";
	font-weight: 650;
	visibility: visible;
}

*,
::after,
::before {
	box-sizing: border-box;
}

th {
	text-align: center;
}

#selectNoteType {
	line-height: 1.625rem;
	padding-left: 0.625rem;
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	appearance: none;
	color: var(--text-color);
	border-radius: var(--border-radius-btn)
}

.two_factor_label {
	border-top: 0.0625rem var(--mini-btn-color-inactive) solid;
	width: 100%;
	padding: 0rem 0.3125rem;
}

.two_factor_block {
	border-bottom: 0.0625rem var(--mini-btn-color-inactive) solid;
}

.two_factor_dropdown {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dropdown-arrow:before {
	content: attr(data-content);
	font-family: var(--icon-font-family);
	font-weight: 600;
	padding: 0.8125rem;
}

.rotate-180 {
	transform: rotateZ(180deg);
	-webkit-transform: rotateZ(180deg);
}

.two_factor_setup_block {
	border-top: 0.0625rem var(--text-color) solid;
	padding: 0.625rem 0;
}

.two_factor {
	font-size: 1.5rem;
	padding: 0.5rem 0;
	font-weight: 450;
	color: var(--mini-btn-color-inactive);
}

.two_factor_active {
	font-weight: 700;
	color: var(--text-color);
}

code.hljs,
code.language-code {
	font-size: 0.75em;
}

.token-icon {
	height: 1.1875rem;
	margin: 0.3125rem;
}

.two_factor>.token-icon {
	filter: var(--mini-btn-color-inactive-filter);
	color: var(--mini-btn-color-inactive);
}

.two_factor_active>.token-icon {
	filter: var(--text-color-filter);
	color: var(--text-color);
}

.token-icon-fas {
	margin: 0.3125rem;
	font-size: 1rem;
}

#markdownCheckboxEmoji:disabled,
.disabled {
	color: var(--mini-btn-color-inactive);
}

#settingsBtnImg {
	filter: var(--primary-btn-color-filter);
}

.text-input {
	color: var(--text-color);
}

.input_note__header {
	display: flex;
	justify-content: space-between;
	font-family: var(--main-font-family);
	align-items: center;
}

.justify-content_space-between {
	justify-content: space-between;
}

.justify-content_space-around {
	justify-content: space-around;
}

.justify-content_space-evenly {
	justify-content: space-evenly;
}

.justify-content_center {
	justify-content: center;
}

.certField {
	margin: 0 1.25rem;
	text-align: -webkit-center;
	unicode-bidi: isolate;
}

.certSubField {
	border: 0rem;
	cursor: pointer;
	width: 9.375rem;
	aspect-ratio: 1;
	margin: 1.25rem;
	border-radius: 0.9375rem;
}

#helpBtn:hover,
#randGOSTModeBtn:hover,
#randAESModeBtn:hover,
#randPasswordBtn:hover,
#markdownCheckboxEmojiNote:hover,
#addFileCheckboxEmoji:hover,
#cloneBtnEmoji:hover,
#markdownCheckboxEmoji:hover,
#currLinkReadonlyIcon:hover,
#exportToPdfIcon:hover,
#exportCertsBtn:hover,
#importCertsBtn:hover,
#deleteAllCertsBtn:hover {
	transform: scale(1.1);
}

.certSubField:hover,
.cert-btn:hover,
.encryption_mode_option:hover {
	transform: scale(1.05);
}

.btn:hover {
	transform: scale(1.03);
}

.certBtn {
	font-size: 2.1875rem;
	flex-direction: column;
	background-color: var(--config-selector-bg);
	align-content: center;
	align-items: center;
}

.certTextBtn {
	font-family: var(--main-font-family);
	font-weight: normal;
	font-size: 1rem;
	padding-bottom: 0.5rem;
	max-width: 11.25rem;
}

.padding_top_13px {
	padding-top: 0.8125rem;
}

.padding_top_4px {
	padding-top: 0.25rem;
}

.padding_left_4px {
	padding-left: 0.25rem;
}

.padding_left_16px {
	padding-left: 1rem;
}

.margin_top_0px {
	margin-top: 0rem;
}

.margin_top_10px {
	margin-top: 0.625rem;
}

.margin_top_12px {
	margin-top: 0.75rem;
}

.margin_top_20px {
	margin-top: 1.25rem;
}

.margin_bottom_6px {
	margin-bottom: 0.375rem;
}

.margin_bottom_12px {
	margin-bottom: 0.75rem;
}

.margin_left_5px {
	margin-left: 0.3125rem;
}

.margin_left_16px {
	margin-left: 1rem;
}

.margin_left_auto {
	margin-left: auto;
}

.margin_vertical_auto {
	margin-top: auto;
	margin-bottom: auto;
}

.column_gap_14px {
	column-gap: 0.875rem !important;
}

.width_7per {
	width: 7%;
}

.width_70per {
	width: 70%;
}

.width_40per {
	width: 40%;
}

.width_30per {
	width: 30%;
}

.width_33per {
	width: 33%;
}

.width_67per {
	width: 67%;
}

.width_50per {
	width: 50%;
}

.width_100per {
	width: 100%;
}

.height_100per {
	height: 100%;
}

.font_weight_normal {
	font-weight: 450;
}

.font_weight_bold {
	font-weight: 900;
}

b,
.font_weight_semibold {
	font-weight: 700;
}

.font_style_italic {
	font-style: italic;
}

.no_border {
	border: 0rem;
}

.display_none {
	display: none;
}

.display_block {
	display: block;
}

.display_flex {
	display: flex;
}

.display_contents {
	display: contents;
}

.display_inline-block {
	display: inline-block;
}

.display_inline-flex {
	display: inline-flex;
}

.display_grid {
	display: grid;
}

.line_height_14px {
	line-height: 0.875rem;
}

.note-textarea-multiselect-certs,
.multiselect-selector-element,
.cursor_pointer,
.multiselect-selector-element label,
.cursor_pointer label {
	cursor: pointer;
}


.margin_center {
	margin-left: auto;
	margin-right: auto;
}

.text_align_center {
	text-align: center;
	text-align: -webkit-center;
}

.no_select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.border_radius_btn_right {
	border-radius: 0rem var(--border-radius-btn) var(--border-radius-btn) 0rem;
}

.border_radius_btn_left {
	border-radius: var(--border-radius-btn) 0rem 0rem var(--border-radius-btn);
}

.border_radius_btn_full {
	border-radius: var(--border-radius-btn);
}

.border_radius_btn_top {
	border-radius: var(--border-radius-btn) var(--border-radius-btn) 0rem 0rem;
}

.border_radius_btn_bottom {
	border-radius: 0rem 0rem var(--border-radius-btn) var(--border-radius-btn);
}

.border_radius_input_right {
	border-radius: 0rem var(--border-radius-input) var(--border-radius-input) 0rem;
}

.border_radius_input_left {
	border-radius: var(--border-radius-input) 0rem 0rem var(--border-radius-input);
}

.border_radius_input_full {
	border-radius: var(--border-radius-input);
}

.select-token_key {
	padding: 0.9375rem 1.125rem;
}

#editableReadHeader {
	gap: 0.1875rem;
}

.valing_center_flex {
	align-content: center;
	justify-content: center;
	align-items: center;
}

.align_items_center {
	align-items: center;
}

.box {
	border: 0rem;
	width: 22.1875rem;
	/*height: 3rem;*/
	margin: 0.375rem 0;
	outline: 0;
}

.box_label {
	border: 0rem;
	width: 24.625rem;
	height: 3rem;
	outline: 0;
}

.settings_info_block {
	justify-content: flex-end;
	color: var(--mini-btn-color);
}

#languageSelector {
	width: 100%;
}

.footer_link {
	color: var(--footer-color);
	text-underline-offset: 0.1875rem;
	text-decoration: none;
}

.footer_link:focus,
.footer_link:hover {
	color: var(--footer-color-hover);
	text-decoration: underline;
}

#helpCipherModeInfoBlock,
#infoSettingBlock {
	margin: 0 0.3125rem 0.3125rem 0.3125rem;
}

.linkToDownloadBlobFile {
	margin-right: 0.3125rem;
	padding: 0.2em 0.4em;
	word-break: break-word;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	white-space: break-spaces;
	filter: url(#goo);
	background-color: var(--code-color-bg);
	color: var(--code-color);
	overflow-wrap: break-word
}

.linkToDownloadBlobFile::after {
	content: attr(data-content);
	padding-left: 0.3125rem;
	font-weight: bold;
	font-size: 0.86em;
	visibility: visible;
	font-family: var(--icon-font-family);
}

#currLinkReadonly,
#exportToPdfIcon,
#markdownCheckboxDiv,
#cloneBtnDiv {
	margin-left: 0.375rem;
	margin-right: 0.375rem;
}

#noteHeader,
#wrongPasswordPageHeader {
	line-height: 1;
	margin-top: 0.5rem;
}

#editableReadHeader {
	line-height: 1.6;
}

.white_island {
	padding: 0.625rem;
	background-color: var(--white-island-color);
	border-radius: var(--border-radius-area);
}

#twoFactorHeader {
	line-height: 1rem;
	margin-bottom: 1rem;
}

#certUsernameInput,
#certUsernameInputFIDO,
#certUsernameInputMnemonic {
	padding-left: 3rem;
}

.silent_background {
	background-color: var(--secondary-btn-color-hover-opacity-03);
}

#settingsLeft {
	padding-left: 0.625rem;
}

#settingsRight {
	padding-right: 0.625rem;
}
.action-bar {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.action-bar .create-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background-color: var(--primary-color);
    color: var(--text-color-inverse);
    border: none;
    border-radius: var(--border-radius-btn);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--silent-shadow);
}

.action-bar .create-btn:hover {
    background-color: var(--primary-btn-color-hover);
    transform: translateY(-1px);
    box-shadow: var(--some-shadow);
}

.action-bar .create-btn:active {
    transform: translateY(0);
}

.action-bar .create-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    background: var(--white-island-color);
    border-radius: var(--border-radius-area);
    box-shadow: var(--silent-shadow);
}

.admin-table,
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
    color: var(--text-color);
}

.admin-table thead,
.data-table thead {
    background-color: var(--background-light-color);
    border-bottom: 2px solid var(--border-color);
}

.admin-table th,
.data-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--text-color);
    white-space: nowrap;
    border-bottom: 2px solid var(--border-color);
}

.admin-table tbody,
.data-table tbody {
    background: var(--white-island-color);
}

.admin-table td,
.data-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: middle;
}

.admin-table tbody tr,
.data-table tbody tr {
    transition: background-color 0.15s ease;
}

.admin-table tbody tr:hover,
.data-table tbody tr:hover {
    background-color: var(--primary-color-opacity-01);
}

.admin-table tbody tr:last-child td,
.data-table tbody tr:last-child td {
    border-bottom: none;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.table-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--text-color);
}

.table-action-btn svg,
.table-action-btn i {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
}

.table-action-btn.edit {
    color: #3498db;
}

.table-action-btn.edit:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
}

.table-action-btn.delete {
    color: #e74c3c;
}

.table-action-btn.delete:hover {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.active {
    background-color: rgba(72, 153, 85, 0.15);
    color: var(--info-text-color);
}

.status-badge.inactive {
    background-color: rgba(128, 128, 128, 0.15);
    color: var(--text-color-inactive);
}

.status-badge.warning {
    background-color: var(--warning-block-color);
    color: var(--warning-text-color);
}

.status-badge.error {
    background-color: var(--error-block-color);
    color: var(--error-text-color);
}

.table-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-color-inactive);
    font-size: 0.9375rem;
}

@media (max-width: 1024px) {
    .admin-table th,
    .admin-table td,
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .table-action-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 768px) {
    .admin-table,
    .data-table {
        font-size: 0.8125rem;
    }
    
    .admin-table th,
    .admin-table td,
    .data-table th,
    .data-table td {
        padding: 0.625rem 0.75rem;
    }
    
    .admin-table th,
    .data-table th {
        font-size: 0.75rem;
    }
    
    .table-actions {
        gap: 0.375rem;
    }
}

.table-loading {
    position: relative;
    min-height: 200px;
}

.table-loading::after {
    content: "Загрузка...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color-inactive);
    font-size: 0.9375rem;
}

.table-container::-webkit-scrollbar {
    height: 0.5rem;
}

.table-container::-webkit-scrollbar-track {
    background: var(--background-light-color);
    border-radius: 0.25rem;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 0.25rem;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


/* Стили для модальных окон */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.modal-content {
    background: #fff;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.close {
    color: #6c757d;
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: #212529;
    text-decoration: none;
}

.modal-body label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.375rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 2rem;
}

.provider-fields {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.ttl-field-group {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.ttl-field-group input[type="number"] {
    flex: 1;
    margin-bottom: 0;
}

.ttl-default-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    cursor: pointer;
    font-size: 0.8125rem;
    color: #6c757d;
}

.ttl-default-label input[type="checkbox"] {
    cursor: pointer;
    accent-color: #31723c;
}

#tokenTTLContainer {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
