/* Стили для сообщений */
.form-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
}
.form-success-message h4 {
    color: #155724;
    margin: 0 0 15px 0;
    font-size: 20px;
}
.form-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}
.form-error-message h4 {
    color: #721c24;
    margin: 0 0 10px 0;
}
label{
    margin-right: 30px;
}
small {
    font-weight: lighter;
}
table{
    width: 100%;
}
.heading-3 {
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 20px;
    font-size: 50px;
    line-height: 52px;
}
.heading-4 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 20px;
    font-size: 30px;
    line-height: 34px;
}
.heading-6 {
    margin-bottom: 10px;
    padding-top: 20px;
    font-size: 16px;
    line-height: 5px;
}
.block{
    width: 100%;
    display: flex;
    flex-direction: column;
}
input{
    width: 100%;
    padding: 6px 6px;
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}
textarea{
    width: 100%;
    padding: 6px 6px;
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #fff;
    transition: border-color 0.2s ease;
    margin: 6px 0 0 0;
}
.horizontally {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-top: 30px;
}
.Clear{
    font-size: 20px;
    transition: 0.5s;
    width: 350px;
    border-radius: 50px;
}
.Send{
    width: 350px;
    border-radius: 50px;
    font-size: 20px;
    transition: 0.5s;
}
.Send:hover{
    border: 2px solid #00a522;
}
.Clear:hover{
    border: 2px solid #e30000;
}
.remove-button{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.add_line{
    width: 34px;
    height: 28px;
    background: white;
    /*border: 1px solid #00a522;*/
    /*padding: 0;*/
    margin: 0;
    /*border-radius: 6px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
/*.add_line:hover{
    background: rgba(0, 255, 53, 0.34);
}*/
.btn_del{
    width: 24px;
    height: 24px;
}
.btn_add{
    width: 34px;
    height: 24px;
}
.none{
    display: none;
}
.add-button{
    width: 200px;
    border-radius: 50px;
    font-size: 18px;
    transition: 0.5s;
}
.add-button:hover{
    border: 1px solid #34a3e3;
}
.center{
    margin: 10px 0 0 0 ;
    display: flex;
    justify-content: end;
}
td{
    text-align: center;
}
.fio{
    width: 100%;
}
.name_organization{
    width: 100%;
}

.userconsent_agreement{
    font-size: 11px;
    text-align: justify;
    margin-top: 20px;
    display: flex;
}

.chk_agreement{
    max-width: 20px;
    max-height: 20px;
    margin: 5px;
    margin-top: 10px;
}

.popup-container {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    white-space: pre-wrap;
    max-width: 640px;
    max-height: 800px;
    overflow: scroll;
    overflow-x: hidden;
}

.popup-container.active {
    display: flex; /* Показываем при активации */
}

.agreementOk {
    position: relative;
    display: inline-block;
    padding: 15px 20px;
    margin: 0;
    min-height: 52px;
    width: 100%;
    border: 0;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: -1px -1px 1px rgba(0,0,0,.09);
    outline: 0;
    color: #fff;
    background-color: cornflowerblue;
    transition: all .2s ease;
}

.textAgreement {
    padding: 0px 12px 12px;
    box-sizing: border-box;
    outline: 0;
    overflow-wrap: break-word;
    text-align: justify;
    hyphens: auto;
    width: 100%;
    margin-top: 50px;
}  
