.admin_main{
    color: #000;

    /*background-color: aqua;*/
    display: flex;
    flex-direction: column;
    
    width: 94%;
    max-width: 1440px;
    
    min-height: 80vh;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;

    grid-gap: 24px;

    overflow-x: hidden;

}

.adminpanel_control_container{
    width: 100%;
    min-width: 180px;
}

.adminpanel_control_list{

    display: flex;
    flex-direction: column;


    min-height: 120px;

    border: 2px solid #e1e1e1;
    border-radius: 8px;


    overflow: hidden;

}

.adminpanel_control_el{
    color: #505050;
    border-bottom: 1px solid #e1e1e1;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 8px;
    padding-right: 8px;
    
    transition: all 1s;
}
.adminpanel_control_el:hover{
    text-decoration: none;

    color: #000;
    background-color: #ededed;
}
.adminpanel_control_el:active{
    color: #505050;
    text-decoration: none;
}
.adminpanel_control_el_active{
    color: #2c2c2c;
    background-color: #e3e3e3;
}
.adminpanel_control_el_active:hover{
    color: #2c2c2c;
    background-color: #e3e3e3;
}

.admin_content{
    flex-grow: 1;
    min-width: 0px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}





/* ТАБЛИЦА */


.table_container{
    background-color: white;
}

.table_body{
    background-color: #fff;
    /*border: 1px solid #e1e1e1;*/
    border-top: none;
    border-radius: 6px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 24px;
    overflow-x: auto;
    
    
    
}

.role_table_body{
    width: 100%;
    max-width: 560px;
}

.alert_success_table{
    margin-left: 24px;
    margin-right: 24px;
}

.table_container{
    width: 100%;
	table-layout: fixed;
	border: none;
    border-collapse: collapse;
}

.table_header{
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;

    background-color: #f4f4f4;
    border: 1px solid #e1e1e1;

    border-top-left-radius: 6px;
    border-top-right-radius: 6px;

    width: 100%;
}

.new_user_button{
    margin-top: 24px;
    margin-bottom: 24px;
    order: 999;
    margin-left: auto;

    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;

    width: 20%;
    min-width: 217px;

    border: none;
}



.table_control_panel{
    display: flex;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    background-color: white; 
}

.table_control_panel_el{

}

.table_container tbody .table_head td{
    font-weight: bold;
	text-align: left;
	border: none;
	padding-top: 16px;
    padding-bottom: 16px;

	font-size: 12px;

    border-bottom: 1px solid #000;
}

.table_container .table_body td{
	text-align: left;
	border: none;
	padding-top: 8px;
    padding-bottom: 8px;

	font-size: 12px;

    border-bottom: 1px solid #e8e8e8;
}


.table_container .table_body .table_body_id{
    font-weight: 700;
    text-align: center;
    width: 4%;
}
.table_container .table_head .table_head_id{
    text-align: center;
    width: 4%;
}
.table_container .table_head .table_head_id_role{
    text-align: center;
    width: 8%;
}
.table_container .table_body .table_body_id_role{
    text-align: center;
    width: 8%;
}

.table_container .table_body .table_body_verified{
    font-weight: 700;
    text-align: center;
    width: 10%;
}
.table_container .table_head .table_head_verified{
    text-align: center;
    width: 10%;
}

.table_container .table_body .table_head_date{
    width: 10%;
}
.table_container .table_head .table_head_date{
    width: 10%;
}

.table_container .table_body .table_body_roles{
    width: 7%;
}
.table_container .table_head .table_head_roles{
    width: 7%;
}

.table_container .table_head .table_head_actions{
    width: 140px;
    text-align: right;
}

.table_container .table_body .table_body_actions{
    width: 140px;
    text-align: right;
}

.table_button{
    border: none;
    width: 40px;
    height: 30px;
    background-color: #ffffff;
    cursor: pointer;
    
}



.table_button:focus {
    outline: none;
    border: none;
    
}

.table_button_green{
    color:limegreen;
}

.table_button_blue{
    color: dodgerblue;
}

.table_button_red{
    color: rgb(205, 23, 23);
}

.table_button_blue:hover{
    color: rgb(26, 122, 219);
}

.table_button_red:hover{
    color: rgb(164, 28, 28);
}



.table_container  .table_head td{
    
}


/* МОДАЛЬНЫЕ ОКНА */

#modal {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: rgba(51, 51, 51, 0.33);
    display: none;
    left: 0;
    top: 0;
    z-index: 999;
}

iframe {
    width: 100%;
    height: 100%;
    background-color: transparent;
    
    display: none;
    
}

.iframe_open {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
from {
    opacity: 0;
}

to {
    opacity: 1;
}
}

.iframeform_container{
    -webkit-box-shadow: 0px 4px 8px 2px rgba(34, 60, 80, 0.09);
    -moz-box-shadow: 0px 4px 8px 2px rgba(34, 60, 80, 0.09);
    box-shadow: 0px 4px 8px 2px rgba(34, 60, 80, 0.09);

    border-radius: 0px;
    background-color: none;
    color: #000;
    width: var(--item-width);
    
}

.iframe_body{
    margin-top: 30px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal_content{
    background-color: white;
    border-radius: 4px;
    border: none;
}

.modal_header{
    display: flex;
    justify-content: space-between; 
}

.modal_title{
    font-size: 20px;
    margin-top: 20px;
    margin-left: 24px;
    margin-bottom: 2px;
    margin-right: 24px;
}

.modal_alert{
    margin-top: 16px;
    margin-bottom: 0px;
    margin-left: 24px;
    margin-right: 24px;
}

.modal_name{
    font-weight: 700;
}

.modal_close{
    margin-top: 10px;
    margin-right: 18px;
    font-size: 32px;
    background-color: white;
    color: #777777;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: flex-start;
}

.modal_close:focus {
    outline: none;
    border: none;
  }

.modal_body{
    font-size: 16px;

    margin-top: 30px;
    margin-left: 18px;
    margin-right: 18px;
}

.modal_body_column{
    font-size: 16px;

    margin-top: 4px;
    margin-left: 24px;
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal_body_column_el{
    margin-top: 12px;
    width: 100%;
}


.container_test {
    display: flex;
    position: relative;
    align-items: center;
    padding-left: 15px;
    cursor: pointer;
    height: 20px;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .container_test input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px #cccccc solid;
  }
  
  /* On mouse-over, add a grey background color */
  .container_test:hover input ~ .checkmark {
    background-color: #f7f7f7;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container_test input:checked ~ .checkmark {
    background-color: #c80000;
    border-color: #c80000;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container_test input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container_test .checkmark:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
  }


.modal_window{
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0; 
    z-index: 1001;
    color: #000;
}

.modal_window_bg{
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(51, 51, 51, 0.33);
    left: 0;
    top: 0;
    z-index: 1002;
}

.modal_card{
    -webkit-box-shadow: 0px 4px 8px 2px rgba(34, 60, 80, 0.09);
    -moz-box-shadow: 0px 4px 8px 2px rgba(34, 60, 80, 0.09);
    box-shadow: 0px 4px 8px 2px rgba(34, 60, 80, 0.09);

    border-radius: 12px;

    position: fixed;
    z-index: 1003;
    background-color: white;

    top: 10px;
    left: 50%;
    transform: translateX(-50%);

    max-width: 620px;

    overflow: hidden;
}

.dialog{
    overflow: auto;
    max-height: 96vh;
}

.dialog ol{

}

.dialog ol li{
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;

    font-size: 18px;
    font-weight: 600;

}

.dialog ol li ol{
    text-align: start;
    margin-top: 12px;

    
}

.dialog ol li ol li{
    text-indent: 20px;
    text-align: start;
    margin-top: 0px;
    margin-bottom: 0px;

    font-size: 16px;
    font-weight: 500;
}

.modal_body_column_label{
    color: #000;
    font-size: 14px;
    margin-bottom: 6px;
}

.modal_body_column_input{
    height: 40px;
    width: 100%;

    border: 2px solid #e7e7e7;
    border-radius: 8px;

    padding-left: 12px;
    padding-right: 12px;

    font-size: 18px;
    
}

.modal_body_column_input:focus {
    outline: #4c64cf;
    border-color: #4c64cf;
}

.modal_body_column_input::placeholder {
    color: #c0c0c0; /* Серый цвет */
    opacity: 1; /* Для Firefox */
}

.modal_body_column_textarea{
    height: 120px;
    resize: vertical;
    width: 100%;

    border: 2px solid #e7e7e7;
    border-radius: 8px;

    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    padding-bottom: 6px;

    font-size: 18px;
}

.modal_body_column_textarea:focus {
    outline: #4c64cf;
    border-color: #4c64cf;
}

.modal_footer{
    margin-top: 20px;
    margin-left: 24px;
    margin-right: 24px;
    margin-bottom: 24px;
    display:flex;
    justify-content:flex-end;
}

.modal_button_cancel{
    background-color: white;
    border: 1px solid #FF1E30;
    color: #FF1E30;
    margin-left: 14px;
    height: 40px;
    width: 20%;
    min-width: 100px;
    border-radius: 6px;
    cursor: pointer;
    transition: .5s;   
}

.modal_button_cancel:hover{
    background-color: #FF1E30;
    border: 1px solid #FF1E30;
    color: white;
}

.modal_button_danger{
    border: none;
    margin-left: 14px;
    height: 40px;
    min-width: 100px;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.big_table_button{
    width: auto;
    min-height: 40px;
    height: 100%;
    padding: 6px 6px;
}

.form_check{
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.form_check_label{
    color: #575757;
    font-size: 12px;
    margin-left: 12px;
}

.text_danger{
    color: #FF1E30;
    background-color: #ffdfdf;
    border-radius: 6px;
    font-size: 12px;

    padding: 6px 6px;

    margin-top: 8px;

    width: 100%;
}



/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    min-width: 42px;
    width: 42px;
    height: 24px;
}
  
  /* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
  /* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
  
input:checked + .slider {
    background-color: #f25252;
}
  
input:focus + .slider {
    box-shadow: 0 0 1px #f25252;
}
  
input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}
  
  /* Rounded sliders */
.slider.round {
    border-radius: 24px;
}
  
.slider.round:before {
    border-radius: 50%;
}



/*Строка поиска*/
.search-container {
    display: flex;
    width: 100%;
    height: 40px;
    position: relative;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 100%;
    height: 40px;
}

.search-button {
    background: #FF1E30;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
}

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-name {
    font-weight: bold;
}

.search-result-email {
    font-size: 0.9em;
    color: #666;
}

.no-results {
    padding: 10px;
    color: #666;
    text-align: center;
}

.table_control_panel_buttons{
    display: flex;
    grid-gap: 12px;
}

.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* Стили для пагинации Laravel */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a, .pagination li span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

.pagination li.active span {
    background: #FF1E30;
    color: white;
    border-color: #FF1E30;
}

.pagination-dots:hover{
    background-color: unset !important;
    color: unset !important;
}

/* Контейнер пагинации */
.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination-nav {
    width: 100%;
    justify-content: center;
    margin: 12px 0px;
}

/* Мобильная версия */
.pagination-mobile {
    display: none;
}
/* Кнопки в мобильной версии */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: #f5f5f5;
    color: #FF1E30;
}

.pagination-btn-disabled {
    color: #999;
    cursor: default;
}

.pagination-btn-disabled:hover {
    background-color: white;
    color: #999;
}

/* Десктопная версия */
.pagination-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Информация о результатах */
.pagination-info {
    font-size: 14px;
    color: #666;

    display: none;
}

.pagination-info-number {
    font-weight: 600;
}

/* Список страниц */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Элементы пагинации */
.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    background-color: white;
    /*border: 1px solid #ddd;*/
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-item:hover {
    background-color: #f5f5f5;
    color: #FF1E30;
}

/* Активная страница */
.pagination-active {
    background-color: #FF1E30;
    border-color: #FF1E30;
    color: white;
}

.pagination-active:hover {
    background-color: #FF1E30;
    color: white; 
}

/* Стрелки */
.pagination-arrow {
    font-size: 12px;
    min-width: 60px;
    height: 40px;
    border: 1px solid rgba(29, 47, 61, 0.196);
    -webkit-box-shadow: 0px 2px 8px -1px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 2px 8px -1px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 2px 8px -1px rgba(34, 60, 80, 0.2);
}

/* Неактивные элементы */
.pagination-disabled {
    color: #999;
    cursor: default;
}

.pagination-disabled:hover {
    background-color: white;
    color: #999;
}

/* Многоточие */
.pagination-dots {
    background-color: transparent;
    border-color: transparent;
}





@media screen and (max-width: 760px) {

    .admin_main{
        width: 90%;
        max-width: unset;

        display: flex;
        flex-direction: column;
        margin-top: 120px;
    }

    .adminpanel_control_container{
        width: 100%;
        min-width: none;
    }

    .table_control_panel{
        flex-direction: column;
    }

    .table_control_panel_el{
        width: 100%;
        margin: 12px 0px;
    }

    .iframeform_container{
        width: 95vw;
    }

    .iframe_body{
        padding-top: 55px;
    }

    .modal_card{
        top: 80px;
        width: 96%;
    }

    .dialog{
        overflow: auto;
        max-height: 85vh;
    }

    .modal_body_column_textarea{
        height: 180px;
    }

    .pagination-desktop {
        display: none;
    }

    .pagination-mobile {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .pagination-item{
        max-width: 40px;
        margin: 0 4px;
    }

    .pagination-arrow{
        min-width: 40px;
    }

    .new_user_button{
        width: 100%;
    }

    .modal_footer{
        display: flex;
        flex-direction: column;
        grid-gap: 12px;
    }

    .modal_footer button{
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        
    } 
/*
    .modal-backdrop {
    background-color: transparent;
    
}

.modal {
    text-align: center;
    padding: 0!important;
    }
    
    .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
    }
    
    .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: 100vw;
    }
*/



}

