:root {
    --cust-color-primal: #005880;
    --cust-color-active: #1380b3;
    --cust-color-error: rgba(180, 30, 30, 0.7);
    --cust-color-success: rgba(30, 180, 30, 0.7);

    --cust-border-rounded: 11px;
    --cust-max-width: 1200px;
}

body {
    margin: 0;
    padding: 0;
}

.page__form {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif, Arial, 'PT Sans Caption';
}
.template-gray {
    color: var(--cust-color-primal);
}
.template-gray span {
    color: black;
}
.template-width {
    max-width: var(--cust-max-width);
    margin: 0 auto;
}
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 4px;
}
.template-hr {
    margin-bottom: 24px;
    border-top: 1px solid #999;
}
.template-flex {
    display: flex;
    gap: 32px;
}
.action__block {
    padding-top: 24px;
    padding-bottom: 48px;
    background-color: #e9e9e9;
    padding-left: 12px;
    padding-right: 12px;
}
.title__block {
    padding-top: 14px;
    padding-bottom: 32px;
    padding-left: 12px;
    padding-right: 12px;
}
.info-container {
    background-color: rgba(250, 200, 20, 0.2);
    color: rgb(160 100 10);
    border-left: 5px solid rgba(250, 200, 20, 0.8);
    padding: 18px 24px;
    max-width: 800px;
    margin-bottom: 24px;
}

/* ACTION BLOCK */

.action__block-inner form, #form_manager form {
    z-index: 100;
    position: relative;
}
.action__block-inner form #layer__loader, #form_manager form #layer__loader {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('./loading.gif');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 110;
}

.action__block-inner form .head, #form_manager form .head {
    display: flex;
    justify-content: space-between;
}

.action__block-inner form .validation-error, #form_manager form .validation-error {
    color: var(--cust-color-error);
    display: none;
}
.action__block-inner form .border-error, #form_manager form .border-error {
    border: 2px solid var(--cust-color-error);
    border-radius: var(--cust-border-rounded);
}
.action__block-inner form .captcha-error, #form_manager form .captcha-error {
    border: 2px solid var(--cust-color-error);
    border-radius: var(--cust-border-rounded);
}
.action__block-inner form label, #form_manager form label {
    display: block;
    padding-bottom: 8px;
    color: var(--cust-color-primal);
    font-weight: 600;
    white-space: nowrap;
}
.action__block-inner input,
.action__block-inner select,
#form_manager input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid lightgray;
    border-radius: var(--cust-border-rounded);
    outline: none;
    box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -webkit-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -moz-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
}
.action__block-inner .smart-captcha iframe, #form_manager .smart-captcha iframe {
    border-radius: var(--cust-border-rounded);
    box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -webkit-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -moz-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
}
.action__block-inner .input-container, #form_manager .input-container {
    margin-bottom: 24px;
}
.action__block-inner button, .lidmagnit_inner button, #form_manager .button {
    cursor: pointer;
    width: 100%;
    background-color: #005880;
    transition: 0.3s;
    color: white;
    font-weight: 600;
    padding: 14px;
    margin-top: 12px;
    border: none;
    border-radius: var(--cust-border-rounded);
}
.action__block-inner button.secondary, .lidmagnit_inner button.secondary {
    background-color: white;
    color: #005880;
    border: 1px solid #005880;
}
.action__block-inner button:hover, .lidmagnit_inner button:hover, #form_manager .button:hover {
    background-color: #1380b3;
    transition: 0.3s;
}
.action__block-inner button.secondary:hover, .lidmagnit_inner button.secondary:hover {
    background-color: #005880;
    color: white;
}

/* RESULT BLOCK */
.result__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.result__block .result {
    background-color: white;
    padding: 36px 24px;
    border-radius: var(--cust-border-rounded);
    box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -webkit-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -moz-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
}
.result__block .result.successful {
    border: 2px solid var(--cust-color-success);
}
.result__block .result.failed {
    border: 2px solid var(--cust-color-error);
}
.result__block .title {
    margin-bottom: 48px;
    font-weight: 600;
    font-size: 2em;
    text-align: center;
    color: var(--cust-color-primal);
}
.result__block .description {
    text-align: left;
}
.result__block .telematic {
    text-align: center;
}
.result__block .info-section {
    margin-top: 36px;
    margin-bottom: 24px;
    padding: 0px 12px;
    
}
.result__block .info-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--cust-color-primal);
    padding-bottom: 8px;
}
.result__block .info-body {
    margin-bottom: 24px;
    margin-top: 12px;
}
.result__block .property-active::before {
    content: ' ';
    background-color: var(--cust-color-success);
    position: absolute;
    left: -18px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 100%;
}
.result__block .property-disabled::before {
    content: ' ';
    background-color: var(--cust-color-error);
    position: absolute;
    left: -18px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 100%;
}

.result__block .info-body .property {
    display: flex;
    justify-content: space-between;
    column-gap: 48px;
    padding: 8px 0px;
    border-bottom: 1px solid #999;
}
.result__block .info-body .property-key, .result__block .info-body .property-value {
    width: 50%;
    position: relative;
}
.result__block .info-body .property-key {
    color: #444444;
}
/* INFORMATION BLOCK */
.information__block .information__block-inner {
    margin-top: 36px;
    margin-bottom: 48px;
}

.owninfo__block-inner {
    padding-top: 24px;
    padding-bottom: 48px;
    padding-left: 12px;
    padding-right: 12px;
}

.owninfo__block h2 {
    font-size: 1.6em;
    margin-bottom: 36px;
}
.owninfo__block .ask-section {
    padding-bottom: 24px;
}
.owninfo__block .ask-section .title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 12px;
}
.owninfo__block .ask-section .answer {
    color: #444444;
}

/* INFORMATION BLOCK */
.information__block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.information__block .information-brief-inner {
    background-color: #999;
}
dialog {
    overflow: hidden;
}

.page__form dialog {
    border: none;
    overflow: hidden;
    border-radius: var(--cust-border-rounded);
}
.page__form dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.page__form dialog .inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 36px;
    height: calc(100% - 36px);
}
.page__form iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #999;
    border-radius: var(--cust-border-rounded);
    overflow: hidden;
    box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -webkit-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
    -moz-box-shadow: 2px 6px 18px 0px rgba(34, 60, 80, 0.15);
}
.page__form dialog .title {
    font-size: 1.8em;
    color: var(--cust-color-primal);
    margin-right: 36px;
}
.page__form dialog button[name="close"] {
    background-color: white;
    font-size: 1.8em;
    color: var(--cust-color-primal);
    border: none;
}
.page__form dialog .title_block {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.page__form dialog .title_block button {
    border: none;
    background-color: white;
    color: var(--cust-color-primal);
    font-size: 2em;
    cursor: pointer;
}

.lidmagnit_block {
    background-color: var(--cust-color-primal);
    color: white;
    border-radius: var(--cust-border-rounded);
    margin-bottom: 48px;
}
.lidmagnit_block .lidmagnit_inner {
    padding: 24px;
}
.lidmagnit_block .lidmagnit_inner button {
    border: 1px solid white;
    max-width: 220px;
}
.lidmagnit_inner .description {
    padding-bottom: 12px;
}
#form_manager form {
    margin: 0 auto;
}
#form_manager form .button {
    width: auto;
    text-align: center;
}
#form_manager .sending_result {
    padding: 12px;
    display: none;
}
#form_manager .sending_result .title {
    margin-bottom: 24px;
}
#form_widget {
    width: 87%;
    height: 87%;
}
/* MEDIA */
@media (max-width: 1028px) {
    .template-grid {
        display: block;
    }
    .page__form dialog {
        border: none;
        width: 100% !important;
        height: 100% !important;
    }
}

#form-osago button#submit {
    display: none;
}
#form-osago input[name="sms_responce"] {
    display: none;
}