.modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    font-family: Onest;
    color: rgb(0, 0, 0);
    opacity: 0;
    display: flex !important;
    z-index: -1 !important;
}
.modal_active {
    opacity: 1;
    z-index: 129 !important;
}
.modal__wrapper{
    display: flex;
    width: 800px;
    margin: 0 auto;
    background-color: #fff;
}
.modal__user{
    display: block;
    width: 50%;
    background-color: #2a3039;
}
.modal__user__title{
    display: block;
    width: 100%;
    padding: 16px;
    padding-bottom: 8px;
    color:#fff;
    font-size: 18px;
    box-sizing: border-box;
}
.modal__user__title hr{
    border-color: #545c67;
    margin-bottom: 0;
}
.modal__content{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #39404a;
    padding: 30px 0 10px;
    box-sizing: border-box;
}
.modal__user__photo{
    display:flex ;
    justify-content: center;
    align-items: center;
    background-color: #545c67;
    border-radius: 50%;
    padding: 10px;
    width: 240px;
    height: 240px;
    box-sizing: border-box;
    z-index: 15;
    position: relative;
}
.modal__photo{
    position: relative;
}
.modal__circle{
    display: block;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    width: 280px;
    height: 280px;
    border: 1px solid #afcce9;
    z-index: 12;
    animation: pulse 2s infinite;
    opacity: 1; 
}
@keyframes pulse {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2; /* Исходный размер */
    }
  
}
.modal__user__photo img{
    display: block;
    width: 70%;
    
}
.modal__user__name{
    display: block;
    margin-top: 30px;
    font-size: 24px;
    color:#fff;
}
.modal__user__footer{
    display: block;
    padding: 16px;
    box-sizing: border-box;
	text-align: center;
}

.modal__info{
    display: block;
    width: 50%;
    position: relative;
    background-color: #fff;
    z-index: 16;
    transition: transform 0.3s ease;
}
.modal-up{
    display: none;
}
.modal__tabs{
    display: flex;
    padding: 32px 20px 0 20px;
    gap: 16px;
}
.modal__tab{
    display: block;
    cursor: pointer;
    color:#0a469a;
    font-weight: 600;
    transition: all 0.3s ease;
    padding-bottom: 6px;
    /*border-bottom: 2px solid #0a469a;*/
}
.modal__tab_active {
	border-bottom: 2px solid #0a469a;
}
.modal__tab:hover{
    transition: all 0.3s ease;
    border-color: #105dca;
    color:#105dca;
}
.modal__info__content{
    display: none;
    padding: 10px;
    padding-bottom: 0;
  
   
    overflow: hidden;
}
.modal__info__inner{
    overflow: scroll;
    max-height: 390px;
   
    -ms-overflow-style: none;
}
.modal__info__inner::-webkit-scrollbar {
    width: 0; 
    height: 8px;
}

.modal__info__inner::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px; 
}

.modal__info__inner::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.modal__info__inner::-webkit-scrollbar-track {
    background: transparent;
}
.modal__info__content_active{
    display: block;
}
.modal__info__row{
    display: block;
    margin-top: 16px;
    padding: 0 6px;
}
.modal__info__label{
    font-size: 16px;
    color: #2a3039;
}
.modal__info__text{
    font-size: 18px;
    
}
.modal__table{
   
        width: 100%;
        border-collapse: collapse;
         
}

.modal__table th, .modal__table td {
    border: 2px solid #fff;
    background-color: #d1e3f4;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
  }
  .modal__table th {
    background-color: #2a3039;
    font-weight: bold;
    color:#fff;
    min-width: 62px;
  }
/*
  .modal__table td:first-child{
    background-color: #d1e3f4;
    color:#fff;
  }
*/  
  @media (max-width:991px){
    .modal__wrapper{
        width: 95%;
    }
  }
  @media (max-width:768px){
    .modal__user__title{
        font-size: 14px;
        padding: 12px;
        padding-bottom: 8px;
    }
    .modal__user__photo{
        width: 200px;
        height: 200px;
    }
    .modal__circle{
        width: 240px;
        height: 240px;
    }
    .modal__user__name{
        font-size: 18px;
    }
    .btn__close{
        padding: 6px 16px;
        font-size: 12px;
    }
    .modal__info__inner{
        max-height: 336px
    }
    .modal__tabs{
        padding: 20px 17px 0 14px;
    }
    .modal__info__content{
        padding: 5px;

        padding-bottom: 0;
    }
    .modal__table th, .modal__table td{
        font-size: 14px;
    }
  }
  @media (max-width:576px){
    .modal__wrapper{
        flex-direction: column;
        max-height: 500px;
        overflow: hidden;
    }
    .modal__user, .modal__info{
        width: 100%;
    }
    .modal__info_active{
        transform: translateY(-73%);
        transition: transform 0.3s ease;
        min-height: 380px;
    }
    .modal-up{
        display: block;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top:-10px;
        width: 20px;
        transition: transform 0.3s ease;
        border-radius: 50%;
        padding: 2px;
        background-color: #fff;
    }
    .modal-up img{
        display: block;
        width: 100%;
    }
    .modal-up.rotated {
        transform: rotate(180deg); 
        transition: transform 0.3s ease;
    }
    .modal__info__inner{
        max-height: 326px
    }
    .modal__info__inner::-webkit-scrollbar {
        height: 4px;
    }
  }
  
  
  
.dotted {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}
.dotted li {
	margin-bottom: 5px;
	border-bottom: 2px #404B51 dotted;
	font-size: 16px;
	line-height: 1;
}
.dotted li span:nth-child(odd) {
	padding-right: 6px; 
	color: #404B51;
}
.dotted li span:nth-child(even) {
	float: right; 
	padding-left: 6px;
	color: blue;
}
.dotted span {
	background: white;
	position: relative;
	bottom: -7px;
}  
.one_block_call {
	width: 400px;
}
.one_block_call .modal__info {
	display: none;
}
.one_block_call  .modal__user {
	width: 100%;
}