.micro_button {
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    border-radius: 5px;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
}

.micro_button_fixed {
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    border-radius: 5px;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    width: 200px;
}

.micro_button_last {
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    border-radius: 5px;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    float: right;
}

.expo_button{
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    border-radius: 5px;
    text-decoration: none;
    padding: 18px 15px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    letter-spacing: .05em;
}


.micro_button:hover,
.micro_button_fixed:hover,
.micro_button_last:hover,
.expo_button:hover{
    background-color: #fff;
    color: #003366;
    border-color: #003366;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.micro_button,.micro_button_last:active {
    transform: translateY(0); /* Эффект нажатия — убираем поднятие */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Уменьшаем тень */
}


.forgot-password-link {
    color: #003366; /* Цвет текста ссылки */
    font-size: 14px; /* Размер текста */
    font-weight: normal;
    text-decoration: none; /* Убираем подчеркивание */
    display: inline-block; /* Размещаем ссылку в центре под кнопкой */
    margin-top: 10px; /* Создаем отступ сверху */
}

.forgot-password-link:hover {
    text-decoration: underline;
}


.micro_header {
    background-color: #003366;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.micro_header_fixed{
    background-color: #003366;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: .75rem 1.25rem;
    text-align: center;
}

.micro_modal_header {
    background-color: #003366;
    position: relative;
}

.micro_modal_head{
    background: url('/img/profile_fon.png') no-repeat center center;
}

.modal_photo_circle{
    --size: 200px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

.modal_photo_circle img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.micro_modal_title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.micro_modal_content {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.micro_border_bottom{
    border-radius: 12px;
    border-bottom: 10px solid #003366;
}

.micro_modal_card {

    border-color: #003366;
    background-color: #f5f7fa;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #003366;

}



.micro_title {
    margin-bottom: 2px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-left: 15px;
}
.micro_title_center{
    margin-bottom: 2px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-left: 15px;
    text-align: center;
}
.micro_title_logo {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}
.micro_text {
    text-align: justify;
}

.micro_logo_container {
    max-width: 300px;
    margin: 0 auto;
}
.micro_custom_logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.expo_logo {
    width: 50%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    background-color: #003366;
}



@media (max-width: 768px) {
    .micro_title {
        text-align: center;
        margin-left: auto;
    }

}

.custom-button {
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    border-radius: 5px;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
}

.custom-button:hover {
    background-color: #fff;
    color: #003366;
    border-color: #003366;
    text-decoration: none;
}
.custom-password-input {
    width: 100%; /* Использовать всю ширину, предоставленную колонкой */
    max-width: 180px; /* Опционально: максимум 500 пикселей */
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.new-client-footer {
    color: #003366;
    padding-top: 50px;
}


.micro_button_danger {
    background: #cc3333;
    color: white;
}


.micro_profile_photo{
    width: 215px;
    height: 215px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Делаем фото профиля круглым */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Более выраженная тень */
    margin: 0 auto 10px auto;
    background-color: #fff;
}


.btn-micro_danger {
    background-color: #fff;
    color: #cc3333;
    border-color: #cc3333;
    font-weight: bold;

}

.btn-micro_success {
    background-color: #003366;
    color: #fff;
    font-weight: bold;

}


.micro_button_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}


/* ЧЕКБОКС */


/* Стили для кастомного чекбокса через <label> */
.micro_checkbox label {
    display: inline-block;
    width: 30px; /* Размер чекбокса */
    height: 30px; /* Размер чекбокса */
    border-radius: 5px; /* Скругленные углы */
    background-color: #fff; /* Серый фон, когда не активно */
    border: 2px solid #003366; /* Цвет рамки неактивного чекбокса */
    transition: all 0.3s ease; /* Плавный переход при изменении стилей */
    cursor: pointer;
    position: relative;
}

/* Анимация, когда чекбокс активен */
.micro_checkbox input[type="checkbox"]:checked + label {
    background-color: #003366; /* Фон, когда включено */
    border-color: #003366;
}

/* Добавление галочки, когда чекбокс активен */
.micro_checkbox input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 8px;
    width: 10px;
    height: 18px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.micro_checkbox label:hover {
    box-shadow: 0 0 10px rgba(0, 51, 102, 0.6);
}


badge_header{
    background-color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

badge_footer {
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

badge_logo {
    position: center;
}

.badge_header img,
.badge_footer img {
    width: 100%;
    height: auto;
    display: block;
}

.badge_header img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.badge_footer img {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.not_mobile {
    display: none;
}
.only_mobile {
    display: none;
}

/* Показываем блок для устройств с шириной окна 768px и больше */
@media (min-width: 769px) {
    .not_mobile {
        display: block;
    }
}

/* Показываем блок для устройств с шириной окна до 768px включительно */
@media (max-width: 768px) {
    .only_mobile {
        display: block;
    }
}

#mobile_menu .modal-header {
    background-color: transparent;
    color: #fff;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;

}


#mobile_menu .modal-content {
    border-radius: 8px;
    /*border-bottom: 6px solid #003366;*/
    /*background-color: #f0f0f0;
    opacity: 1;*/
}

/*#mobile_menu .modal-body {
    background-color: #f0f0f0;
}*/


#mobile_menu .close {
    color: #fff;
    opacity: 1;

}
#mobile_menu .modal-title {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); /* Читаемый текст */
    margin: 0; /* Убираем лишний отступ */
    flex: 1; /* Растягиваем блок по ширине */
    text-align: center; /* Центрируем текст */

}
/*ul.super-mobile-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); !* адаптивные колонки *!
    gap: 12px; !* Пространство между ячейками *!
    list-style: none;
    margin: 0;
    padding: 20px 10px; !* Внутренние отступы контейнера *!
    background-color: #fff; !* Фон панели *!
    border-radius: 12px; !* Закругления углов *!
}*/
@media (max-width: 400px) {
    ul.super-mobile-menu > li {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        /*border: 1px solid rgba(255, 255, 255, 1); !* Полупрозрачная белая обводка *!*/
        padding: 4px 4px;
        border-radius: 10px;
        background-color: transparent; /* Убираем фон, делая ячейки прозрачными */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Легкая тень для улучшения контраста */
        transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    }
}

@media (min-width: 400px) {
    ul.super-mobile-menu > li {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        /*border: 1px solid rgba(255, 255, 255, 1); !* Полупрозрачная белая обводка *!*/
        padding: 4px 4px;
        border-radius: 10px;
        background-color: transparent; /* Убираем фон, делая ячейки прозрачными */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Легкая тень для улучшения контраста */
        transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    }
}


/* Стили для ссылок в меню */
ul.super-mobile-menu > li > a {
    text-decoration: none; /* Удаление подчеркивания */
    font-size: 11px;
    color: #fff; /* Основной цвет текста */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    width: 100%;
    position: relative;
    z-index: 1; /* Чтобы текст всегда оставался над фоном */
    transition: color 0.3s ease;
}

/* Значки меню */
ul.super-mobile-menu > li > a > i {
    font-size: 26px; /* Увеличенный размер */
    margin-bottom: 10px; /* Промежуток между значком и текстом */
    color: #fff; /* Основной цвет значков */
    transition: color 0.3s ease;
}



#mobile_menu .modal-content {
    background: transparent;
    background-size: cover;
    max-height: 100%;
    max-width: 900px;
    border-radius: 10px;

}

#mobile_menu .modal-dialog {
    background: url('/img/profile_fon.png') no-repeat center center;
    margin: 0 auto !important;
    width: 100%;
    max-width: 900px;
    background-size: cover;
}


@media (max-width: 576px) {
    .modal-dialog {
        width: 100%;
        max-width: none;
        margin: 0;
        height: 100%;
    }
    .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-body {
        overflow: auto;
    }
}


.expo_header {
    background-color: #003366;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding-bottom: 10px;
}


.expo_table thead th {
    background: #003366;
    font-size: 14px;
    letter-spacing: 1px;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    border-left: solid 1px white;
}

.expo_table thead th:first-child {
    border-top-left-radius: 6px;
}

.expo_table thead th:last-child {
    border-top-right-radius: 6px;
}

.expo_card_body {
    padding: 24px;
    border-radius: 12px;
    border-bottom: 10px solid  #003366;
}




.micro_table tbody tr {
    background: white;
}

.micro_table tbody tr:nth-child(odd) {
    background: #e2e7f0;
}
.micro_table thead th {
    background: #003366;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    border-left: solid 1px white;
}
.micro_table thead th:first-child {
    border-top-left-radius: 6px;
}

.micro_table thead th:last-child {
    border-top-right-radius: 6px;
}




/*/program/high*/


.micro_nav li>a{
    color: white;
}

.nav-tabs.micro_nav{
    list-style: none;
    padding: 6px;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    border-radius: 12px;
    border: 1px solid rgba(0,51,102,0.12);
}

.nav-tabs.micro_nav .nav-item{
    display: inline-flex;
}

.micro_nav-link{
    font-weight: 500;
    transition: background-color .2s, color .2s, box-shadow .2s, transform .03s;
    padding: 10px 14px;
    border-radius: .25rem;
    color: #1e2733;
    background-color: transparent;
    line-height: 1.1;
    border: 1px solid transparent;
    white-space: nowrap;
}

.micro_nav .nav-link:hover{
    background-color: #ffffff;
    color: #003366;
    border-radius: .25rem;
}

.first_lvl{
    text-align: center;
    background-color: #fff;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(0,51,102,0.10);
    box-shadow: 0 2px 8px rgba(23, 18, 43, 0.05);
}

.level-highlight{
    font-weight: 700;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    color: #1e2733;
    background-color: #fff);
    border: 1px solid rgba(0,51,102,0.20);
}

a.accordion-toggle{
    color: white;
    font-weight: bold;
}
a.accordion-toggle:hover{
    color: #003366;
}

.event-block{
    background: linear-gradient(180deg, #003366, #003366);
    padding: 12px;
    margin: 6px;
    border-radius: 10px;
    font-size: 16px;
    width: calc(30% - 12px);
    text-align: center;
    box-shadow: 0 3px 10px rgba(23, 18, 43, 0.08);
    border: 1px solid rgba(0,51,102,0.24);
    transition: transform .15s ease, box-shadow .15s ease;
    color: white;
}

.event-block:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(23, 18, 43, 0.12);
    border-color: #FF9900;
    color: #003366;
    background: linear-gradient(180deg, #ffffff, #ffffff);
}

.micro_panel{
    border: 1px solid rgba(0,51,102,0.12);
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(23, 18, 43, 0.06);
}

.micro_panel_heading{
    padding: 12px 16px;
    background: linear-gradient(180deg, #f4f6fb, #fff);
    border-bottom: 1px solid rgba(0,51,102,0.10);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #1e2733;
    font-weight: 600;
}

.micro_panel_title{
    margin: 0;
    font-size: 16px;
}

.micro_panel_title .a{
    color: white;!important;
}

.micro_panel_heading .panel-title > a {
    color: #003366;
    text-decoration: none;
}

.micro_panel_heading .micro_panel_title > a:hover,
.micro_panel_heading .micro_panel_title > a:focus {
    font-weight: bold;
}

.micro_panel_body{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.micro_panel_collapse{
    padding: 12px;
}


/*ПАГИНАЦИЯ*/

/* Стили для пагинации */
.pager-centered {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.link-pager.isolated-pager {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.isolated-pager li {
    margin: 0;
}

.isolated-pager__link,
.isolated-pager__disabled-link {
    display: block;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

.isolated-pager__link:hover {
    background-color: #003366;
    border-color: #003366;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 51, 102, 0.2);
}

.isolated-pager__active .isolated-pager__link,
.isolated-pager__active a {
    background-color: #003366 !important;
    border-color: #003366 !important;
    color: white !important;
    cursor: default;
    box-shadow: 0 2px 4px rgba(0, 51, 102, 0.3);
}

.isolated-pager__disabled-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.isolated-pager__disabled-link:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    transform: none;
    box-shadow: none;
}

/* Стили для первой/последней страницы */
.isolated-pager li:first-child .isolated-pager__link,
.isolated-pager li:first-child .isolated-pager__disabled-link {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.isolated-pager li:last-child .isolated-pager__link,
.isolated-pager li:last-child .isolated-pager__disabled-link {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .isolated-pager__link,
    .isolated-pager__disabled-link {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }

    .link-pager.isolated-pager {
        gap: 3px;
    }
}