/*Подключение шрифтов*/
@font-face {
    font-family: 'custom';
    src: url('fonts/HSESans-Regular.otf');
}
*{
    color:var(--purple-text);
    font-family: custom, Arial, sans-serif;
    font-size: 28px;
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}
body {
    display: flex;
    flex-direction: column;
}
main, .content, .page-content, #app {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    *{
        color:var(--purple-text);
        font-family: custom, Arial, sans-serif;
        font-size: 15px;
        margin: 0;
        padding: 0;
    }
}
/*Палитра*/
:root{
    /*#6C5CE7*/
    --purple: #7164CD;        /* основной цвет */
    --purple-text: #260133;   /* текст */
    --yellow: #F8CC21;        /* акцент */
    --yellow-soft: #FFD966; /* мягкий hover */
    --white: #FFFFFF;         /* фон */
    --light: #FFF9E6;         /* светлый фон секций */
    --status-new :#d7cdff;
    --status-confirmed:#d4edda;
    --status-completed: #d1ecf1;
    --status-cancelled: #f8d7da;
    --status-expired: #fde4ab;
    --status-no_show: #ff9d5d
}
/*Общие настройки*/
.content-wrapper{
    background-color: var(--white);
}
.page-content {
    margin-right: 150px;
    margin-left: 150px;
    margin-bottom: 40px;
}
/*МОБИЛЬНАЯ ВЕРСИЯ*/
@media (max-width: 1024px) {
    .page-content {
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 10px;
    }
}
.rules-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .rules-grid{
        gap: 15px;
    }
}
a{
    text-decoration: none;
    color: var(--purple-text);
}
#a{

    text-decoration: none;
    color:var(--yellow);
}
#a:hover{
    transition: 0.5s;
    text-decoration: none;
    color:var(--yellow-soft);
    text-shadow: 0px 0px 1px var(--yellow-soft);
}
li{
    margin: 6px;
    list-style: none;
}
h2,h3,h4,h5,h6{
    color: var(--purple-text);
    text-align: center;
    padding: 40px;
    margin: 0;
}
@media (max-width: 768px) {
    h2,h3,h4,h5,h6{
        color: var(--purple-text);
        text-align: center;
        padding: 20px;
        margin: 0;
    }
}
h2{
    font-weight: bold;
}
label{
    margin: 10px;
    color: var(--purple-text);
}
p{
    margin: 10px;
}
.breadcrumb{
    margin-right: 150px;
    margin-left: 150px;
    margin-top:40px;
    margin-bottom: 0px;
}
@media (max-width: 768px) {
    .breadcrumb{
        margin-right: 15px;
        margin-left: 15px;
        margin-top:20px;
        margin-bottom: 0px;
    }
}
.breadcrumb-hidden {
    display: none;
    margin: 0;
    padding: 0;
}
.breadcrumb a{
    font-size: 18px;
}
.breadcrumb span{
    font-size: 18px;
}
.breadcrumb a:hover{
    color: var(--purple);
}
small{
    font-size: 20px;
}
/*Шапка*/
header{
    background-color: var(--purple);
    color: var(--yellow);
    display: grid;
    grid-template-columns: 1fr 2fr 5fr 3fr;
    align-items: center;
    justify-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
    header{
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    small{
    font-size: 10px;
}
}
header>ul>li>#a{
    text-decoration: none;
    color:var(--yellow);
}
#a:hover{
    color: var(--yellow-soft);
    text-shadow: 0 0 3px rgba(255, 217, 102, 0.6);
}
h1{
    text-decoration: none;
    color:var(--yellow);
    margin: 0;
    margin: 10px;
}
.logo{
    width: 90px;
}
@media (max-width: 768px) {
    .logo{
        width: 40px;
    }
}
.guest>a{
    color: var(--yellow);
}
.ulheader{
    margin-top: 0!important;
    margin-bottom: 0!important;
    padding-left: 0!important;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
}
.header-buttons{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.banner{
    margin: 0px;
    width: 100%;
}
.btn-auth{
    background-color: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    border-radius: 12px;
    padding: 10px 18px;
    transition: 0.3s;
    margin: 10px;
    text-align: center;
}
@media (max-width: 768px) {
    .btn-auth{
        width: 130px;
    }
}
.btn-auth:hover{

    color: var(--yellow);
    box-shadow: 0px 0px 4px 0px var(--yellow);
}
.link:hover{
    color:var(--purple);
}
.twocol{
    text-align: center;
}
.form-label{
    text-align: center;
}
.icon {
    width: 45px;
    border: none;
    background: none;
    cursor: pointer;
    margin: 10px;
}
.lesson-info,.client-info{
    text-align:left;
}
/*Подвал*/
footer{
    background-color: var(--purple);
    color: var(--yellow)	;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 60px;
}
@media (max-width: 768px) {
    footer{
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-top: 20px;
    }
}
.aboutfooter>p{
    color: var(--yellow);
}
@media (max-width: 768px) {
    .aboutfooter>p{
        font-size: 8px;
    }
    .aboutfooter>#boldp{
        font-size: 15px;
    }
    .ulfooter>li>a{
        font-size: 8px;
    }
    .contact-info>li{
        font-size: 8px;
    }
    .contact-info>li>a{
        font-size: 8px;
    }
}
.footertop{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: start;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .footertop{
        margin-bottom: 10px;
    }
}
#boldp{
    color: var(--yellow);
    font-weight: bold;
}
.info>ul>li>a{
    text-decoration: none;
    color:var(--yellow);
}
.info>ul>li>a:hover{
    text-decoration: none;
    color:var(--yellow-soft);
}
.ulfooter{
    margin-top: 0!important;
    margin-bottom: 0!important;
    padding-left: 0!important;
}
.contact-info{
    margin-top: 0!important;
    margin-bottom: 0!important;
    padding-left: 0!important;
}
.contact-info>li{
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--yellow);
}
.contact-info>li>a{
    color: var(--yellow);
}
.contact-info>li>a:hover{
    color: var(--yellow-soft);
}
.socseti>a>img{
    width: 50px;
}
@media (max-width: 768px) {
    .socseti>a>img{
        width: 20px;
    }
    .ulfooter>li{
        margin: 0px;
        padding: 0px;
    }
    .info>#boldp{
        margin-bottom: 2px;
    }
}
.footerbottom{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: end;
}
@media (max-width: 768px) {
    .footerbottom{
        display: grid;
        grid-template-columns: 2fr 1fr 2fr;
        justify-items: center;
        align-items: end;
    }
}
.footerbottom>p{
    margin: 0;
    margin-left: 10px;
    font-size: 25px;
}
@media (max-width: 768px) {
    .footerbottom>p{
        font-size: 7px;
    }
}
.footerpolitica>a{
    text-decoration: none;
    color: var(--purple-text);
    font-size: 25px;
    margin-right: 3px;
}
@media (max-width: 768px) {
    .footerpolitica>a{
        font-size: 7px;
    }
}
.info{
    text-align: center;
}
.contact{
    text-align: right;
}
/*Регистрация*/
#formauth,#scheduleForm,#changepassword,#serviceform,#newsForm,#bookingForm,#profileedit,.details-card,.successtrue{
    display: flex;
    border-radius: 10px;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.04),
        0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(113,100,205,0.08);
}
@media (max-width: 768px) {
    #formauth,#scheduleForm,#changepassword,#serviceform,#newsForm,#bookingForm,#profileedit,.details-card,.successtrue{
        padding: 10px;
    }
}
.form-group{
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.inputauth{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 12px;
    margin: 10px;
    width: 600px;
    text-align: center;
    transition: 0.3s;
}
@media (max-width: 768px) {
    .inputauth{
        padding: 6px;
        margin: 5px;
        width: 200px;
    }
}
.inputauth:focus{
    border: 2px solid var(--yellow);
    box-shadow: 0 0 10px var(--yellow-soft);
    outline: none;
}
.politica{
    width: 600px;
    display: grid;
    grid-template-columns: 1fr 10fr;
    align-items: baseline;
    margin: 10px;
}
.politica>label{
    color: var(--purple-text);
    text-align: justify;
    font-size: 20px;
}
#agreed {
    width: 20px;
    height: 20px;
    border: 2px solid var(--purple);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
}
#agreed:checked {
    border: 2px solid var(--yellow);
    box-shadow: 0px 0px 4px 0px var(--yellow);
    background-color: white;
    border-radius: 3px;
}
#agreed:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--purple-text);
    font-size: 16px;
    font-weight: bold;
}
.hrefpolitic{
    color: var(--purple-text);
    font-size: 20px;
}
.hrefpolitic:hover{
    color: var(--purple);
    font-size: 20px;
}
@media (max-width: 768px) {
    #agreed {
        width: 12px;
        height: 12px;
    }
    .politica{
        width: 200px;
        margin: 5px;
    }
    .politica>label{
        font-size: 10px;
    }
    .hrefpolitic{
        font-size: 10px;
    }
    .hrefpolitic:hover{
        font-size: 10px;
    }
    #agreed:checked::after {
        font-size: 10px;
    }
}
.buttonauth{
    background-color: var(--white);
    border: 2px solid var(--purple);
    color: var(--purple-text);
    margin: 10px;
    padding: 12px 25px;
    border-radius: 10px;
    transition: 0.3s;
}
.buttonnew{
    background-color: var(--white);
    border: 2px solid var(--purple);
    color: var(--purple-text);
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
    margin: 5px;
}
.news-registration{
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    .buttonauth,.buttonnew{
        margin: 5px;
        padding: 2px 12px;
        border-radius: 10px;
        transition: 0.3s;
    }
    .admin-response-message>p{
        font-size: 12px;
        margin: 2px;
    }
}
.buttonauth:hover{
    color: var(--purple-text);
    box-shadow: 0px 0px 4px 0px var(--purple);
}
.alerterror{
    border: 2px solid red;
    color: var(--purple-text);
    box-shadow: 0px 0px 4px 0px red;
    border-radius: 10px;
    margin-right: 150px;
    margin-left: 150px;
    margin-top: 30px;
    margin-bottom:30px;
    padding: 30px;
}
.alertsuccess{
    border: 2px solid green;
    color: var(--purple-text);
    box-shadow: 0px 0px 4px 0px green;
    border-radius: 10px;
    margin-right: 150px;
    margin-left: 150px;
    margin-top: 30px;
    margin-bottom:30px;
    padding: 30px;
}
@media (max-width: 768px) {
    .alertsuccess{
        margin-right: 5px;
        margin-left: 5px;
        margin-top: 20px;
        margin-bottom:10px;
        padding: 10px;
    }
    .alerterror{
        margin-right: 5px;
        margin-left: 5px;
        margin-top: 20px;
        margin-bottom:10px;
        padding: 10px;
    }
}
/*Дашборд администратора*/
.statistics{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.statisticst{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.stat-value{
    font-size: 42px;
    font-weight: 800;
    padding: 10px;
}
.stat-label,.stat-period{
    font-size: 20px;
}
.stat-card{
    text-align: center;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        0 6px 16px rgba(113,100,205,0.08),
        0 20px 40px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

@media (max-width: 768px) {
     .statistics {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 5px;
        margin-bottom: 5px;
    }
    .statisticst {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        margin-bottom: 5px;
    }
    .stat-card {
        width: 100%;
        padding: 10px;
    }
    .stat-value{
        font-size: 18px;
        padding: 5px;
    }
    .stat-label,.stat-period{
        font-size: 8px;
    }
}
.dashboard{
    box-shadow:
        0 4px 12px rgba(0,0,0,0.04),
        0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(113,100,205,0.08);
    border-radius: 10px;
    padding: 20px;
}
.dashboardtop{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-items: center;
    align-items: center;
    margin-bottom: 40px;
}
.dashboardbottom{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-items: center;
    align-items: center;
}
.dashboardbutton{
    color: var(--white);
    min-width: 300px;
    background-color:var(--purple);
    transition: 0.3s;
    border-radius: 10px;
    padding: 20px;
    border: none;
    margin: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .dashboard{
        padding: 10px;
    }
    .dashboardtop{
        margin-bottom: 20px;
    }
    .dashboardbutton{
        font-size: 12px;
        min-width: 90px;
        padding: 10px;
        margin: 5px;
    }
}
.dashboardbutton:hover{
    text-align: center;
    color: var(--white);
    background-color: #5f53b5;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(113,100,205,0.3);
}
.dashboardbutton>a{
    text-decoration: none;
    color: var(--white);
}
/* Текст внутри таблицы */
.tabledashboard td span{
    font-size: 16px;
    font-weight: 500;
    display: inline-block;

}

/* Число мест (1/5, 0/5 и т.д.) */
.tabledashboard td span.fw-bold{
    font-size: 16px;
    font-weight: 700;
}

/* Если нужно цветное число */
.tabledashboard td .text-danger {
    color: #dc3545 !important;
}
/*Услуги:главная админ-панель*/
.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* Карточка таблицы */
.tabledashboard{
    margin-top: 40px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.04),
        0 20px 50px rgba(113,100,205,0.08);
    border: 1px solid rgba(113,100,205,0.08);
}
.tabledashboard thead{
    background: #fff;
}
.tabledashboard th {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--purple);
    border-bottom: 2px solid rgba(113,100,205,0.2);
}
.tabledashboard td{
    border-bottom: 1px solid #f1f1f1;
    border-right: 1px solid #f3f3f3;
    padding: 12px;
    font-size: 16px;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #f0f0f7;
}
.tabledashboard tr:last-child td {
    border-bottom: none;
}
.tabledashboard tbody tr:hover{
    background: #f8f7ff;
    transition: 0.2s ease;
}

/* Фото */
.phototd {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

/* Кнопки действий */
.deleteserv {
    border: none;
    background: none;
    cursor: pointer;
}

#icontd {
    width: 22px;
    margin: 0 6px;
    opacity: 0.8;
    transition: 0.2s ease;
}

#icontd:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .tabledashboard {
        border-radius: 10px;
        margin-top: 10px;
    }
    .tabledashboard th {
        padding: 5px;
        font-size: 6px;
    }
    .tabledashboard td{
        padding: 2px;
        font-size: 7px;
    }
    .tabledashboard td span.fw-bold{
    font-size: 8px;
    font-weight: 700;
}
    .phototd {
        width: 20px;
        height: 20px;
    }
    #icontd {
        width: 8px;
        margin: 0 2px;
        opacity: 0.8;
        transition: 0.2s ease;
    }
    .tabledashboard td span{
        font-size: 8px;
    }
}
/*Создание услуги*/
.inputhex{
    width: 70px;
    height: 70px;
    border: 2px solid var(--purple);
    border-radius: 10px;
    margin: 10px;
}
.inputhex:focus{
    border-color: var(--purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(113,100,205,0.15);
}
.twocol{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    align-items: stretch;
}
@media (max-width: 768px) {
    .twocol{
        gap: 5px;
        margin-bottom: 5px;
    }
    .btn-group{
        position: relative;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    }
    .btn-group>a{
        font-size: 12px;
    }
}
.twocol > div {
    flex: 1;
}
#teachers-wrapper,.newswrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#max-children-wrapper {
    transition: all 0.3s ease;
}
.twocol>div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.twocol>.activecheck2 {
       display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) {
.inputcreate{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    min-width: 450px;
}
}
@media (max-width: 768px) {
    .inputcreate{
        border: 2px solid var(--purple);
        border-radius: 10px;
        text-align: center;
        padding: 5px;
        margin: 5px;
        width: 150px;
    }
}
.inputcreate:focus{
    border-color: var(--purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(113,100,205,0.15);
}
.inputcreatetime{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    width: 220px;
}
@media (max-width: 768px) {
    .inputcreatetime{
        border: 2px solid var(--purple);
        padding: 5px;
        margin: 5px;
        text-align: center;
        width: 70px;
    }
}
.inputcreatetime:focus{
    border-color: var(--purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(113,100,205,0.15);
}
option:checked{
    background-color: var(--purple);
}
.max-children-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#emailForm,#passwordForm{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Стили для чекбокса */
.form-check-input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--purple-text);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
}

.form-check-input[type="checkbox"]:checked {
    border: 2px solid var(--purple);
    box-shadow: 0px 0px 4px 0px var(--purple);
    background-color: white;
    border-radius: 3px;
}

.form-check-input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--purple-text);
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

/* Стили для радио-кнопок */
.form-check-input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--purple);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
}

.form-check-input[type="radio"]:checked {
    border: 2px solid var(--purple);
    box-shadow: 0px 0px 4px 0px var(--purple);
    background-color: white;
}

.form-check-input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--purple-text);
    border-radius: 50%;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    justify-content: center;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option label {
    cursor: pointer;
    color: var(--purple-text);
    font-size: 30px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .radio-option label {
        font-size: 15px;
        margin: 5px;
    }

    .radio-option {
        gap: 5px;
    }

    /* Чекбокс 7x7 */
    .form-check-input[type="checkbox"] {
        width: 7px !important;
        height: 7px !important;
        border-width: 1px !important;
        border-radius: 1px !important;
    }

    .form-check-input[type="checkbox"]:checked::after {
        font-size: 5px !important;
    }

    /* Радио 7x7 */
    .form-check-input[type="radio"] {
        width: 7px !important;
        height: 7px !important;
        border-width: 1px !important;
    }

    .form-check-input[type="radio"]:checked::after {
        width: 3px !important;
        height: 3px !important;
    }

    .radio-group {
        flex-direction: column;
        gap: 8px;
        margin-top: 5px;
    }
}
.activecheck{
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .activecheck{
        margin: 5px 0;
    }
}
.twobutton{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}
/*Редактирование услуги*/
.photored{
    display: flex;
    align-items: center;
    margin: 10px;
}
.photored>div>img{
     max-width: 80px;  object-fit: contain; border-radius: 10px
 }
@media (max-width: 768px) {
    .photored{
        display: flex;
        align-items: center;
        margin: 5px;
        flex-direction: column;
    }
}

/*Просмотр услуги*/
.carttwo{
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    margin: 10px;
}
.cart{
    background-color: var(--white);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.04),
        0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(113,100,205,0.08);
    border-radius: 10px;
    padding: 40px;
}
.service-image img {
    width: 300px;
    height: auto;
    object-fit: cover;
    margin-right: 40px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .breadcrumb a{
        font-size: 10px;
    }
    .breadcrumb span {
        font-size: 10px;
    }
    .cart{
        padding: 10px;
    }
    .service-image img {
        width: 120px;
        margin-right: 20px;
    }
    .service-advantages>p{
        margin: 2px;
    }
}
.navik{
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--purple-text);
}

.no-image {
    width: 320px;
    height: 220px;
    background: #f4f3ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-weight: 600;
}

.service-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.meta-item {
    text-align: center;
    background: #f8f7ff;
    border-radius: 8px;
    margin: 20px;
}
.meta-label {
    display: block;
    color: var(--purple-text);
    margin-bottom: 5px;
}
.meta-value {
    padding: 10px;
    font-size: 28px;
    color: var(--purple-text);
}
.meta-valueprice{
    font-weight: 700;
}
@media (max-width: 768px) {
    .meta-label {
        font-size: 13px;
        margin: 4px;
        margin-bottom: 0px;
    }
    .meta-value {
        padding: 5px;
        font-size: 9px;
    }
    .meta-item{
        margin: 4px;
        padding: 4px;
    }
    .meta-valueprice{
       padding: 5px;
        font-size: 13px;
    }
}
.buttoncenter{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.teachers-section h3 {
    color: var(--purple-text);
    padding: 10px;
    font-size: 28px;
}
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.teacher-card {
    display: flex;
    padding: 15px;
    background: white;
    border-radius: 10px;
    transition: transform 0.2s;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.teacher-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px;
}
@media (max-width: 768px) {
    .teacher-card img {
        width: 120px;
        height: 120px;
        margin: 10px;
    }
}
.teacher-no-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #999;
}
.teacher-name {
    color: var(--purple-text);
    font-weight: 500;
    text-decoration: none;
}
.teacher-name:hover {
    text-decoration: none;
    color: var(--purple);
}
.reviews-section {
    background-color: var(--white);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.05),
        0 20px 50px rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 40px;
}
.reviews-header {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}
.reviews-header h3 {
    color: var(--purple-text);
    padding: 10px;
    font-size: 28px;
}
@media (max-width: 768px) {
    .teachers-section h3 {
        font-size: 18px;
    }
    .reviews-header h3 {
        font-size: 18px;
    }
}
/*Под вопросом*/
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reviews-section{
    margin-top: 20px;
}
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.reviewer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.review-rating {
    display: flex;
    gap: 3px;
}
.star {
    color: #ddd;
    font-size: 18px;
}
.star.active {
    color: #ffc107;
}
.review-date {
    color: #999;
    font-size: 12px;
}
.review-body p {
    line-height: 1.6;
    color: #666;
}
.admin-response {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--purple);
}
.admin-response strong {
    color: var(--purple-text);
    display: block;
    margin-bottom: 5px;
}
.no-data {
    text-align: center;
    color: #999;
    padding: 40px;
    background: white;
    border-radius: 10px;
}
/*Услуги публичная часть*/
.filter-form{
    display: flex;
    flex-direction: column;
}
.filters-section{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: start;
}
.filter-group{
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    padding-right: 20px;
}
@media (max-width: 768px) {
    .filter-group{
        padding-right: 2px;
    }
}
.filter-group>select>option{
    font-size: 20px;
}
@media (max-width: 768px) {
    .filter-group>select>option{
        font-size: 8px;
    }
}
.filter-input{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    width: 130px;
    font-size: 20px;
}
@media (max-width: 768px) {
    .filter-input{
        border-radius: 7px;
        padding: 3px;
        margin: 5px;
        width: 30px;
        font-size: 8px;
    }
}
.filter-inputdata{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    width: 360px;
    font-size: 10px;
}
@media (max-width: 768px) {
    .filter-inputdata{
        padding: 5px;
        margin: 5px;
        width: 100px;
        font-size: 8px;
    }
}
.filter-select,.filter-search{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    width: 360px;
    font-size: 20px;
}
@media (max-width: 768px) {
    .filter-select,.filter-search{
        border: 2px solid var(--purple);
        border-radius: 7px;
        padding: 2px;
        margin: 2px;
        width: 100px;
        font-size: 8px;
    }
}
.filter-input:focus,.filter-select:focus{
    border-color: var(--purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(113,100,205,0.15);
}
.filter-input,
.filter-select,
.price-range{
    justify-self: end;
}
.filter-actions{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 5px;
}
.filter-label{
    font-size: 22px;
    margin: 5px;
    text-align: left;
    justify-self: start;
}
@media (max-width: 768px) {
    .filter-label{
        font-size: 8px;
        margin: 2px;
    }
}
.buttonfilter{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    background-color: var(--white);
    transition: 0.3s;
    font-size: 22px;
}
@media (max-width: 768px) {
    .buttonfilter{
        border-radius: 7px;
        padding: 5px;
        margin: 5px;
        font-size: 12px;
    }
}
.buttonfilter:hover{
    color: var(--purple-text);
    box-shadow: 0px 0px 4px 0px var(--purple);
}
.leftp{
    margin: 0px;
    padding-bottom: 20px;
}
/* Сетка услуг */
.services-gridindex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.service-cardindex {
    margin: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 25px 60px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .service-cardindex {
        margin: 5px;
    }
}
.service-cardindex:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1), 0 25px 60px rgba(0,0,0,0.12);
}
.service-image-wrapperindex {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .service-image-wrapperindex {
        height: 150px;
    }
}
.service-imageindex {
    opacity: 0.45;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-name-overlayindex {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .service-name-overlayindex {
        min-width: 160px;
        padding: 5px;
    }
    .service-name-overlayindex>h3{
        padding: 5px;
    }
}
.service-nameindex {
    color: var(--purple-text);
    margin: 0;
    font-weight: 600;
    text-align: center;
    max-width: 95%;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: auto;
}
.service-cardindex a {
    text-decoration: none;
    display: block;
    text-align: center;
}
.service-cardindex a:hover {
    color: var(--purple);
}
.service-infoindex {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}
@media (max-width: 768px) {
    .service-infoindex {
        padding: 5px;
    }
}
@media (max-width: 768px) {
    .service-infoindex {
        padding: 8px;
        padding-top: 0px;
    }
}
.service-metaindex {
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-items: center;
    align-items: center;
    gap: 10px;
}
.service-metaindex--event {
    min-height: 50px;
}
.service-metaindex span{
    display: flex;
    font-size: 22px;
    align-items: center;
}
@media (max-width: 768px) {
    .service-metaindex span{
        font-size: 7px;
    }
}

.service-metaindex svg{
    margin: 5px;
}
@media (max-width: 768px) {
    .service-metaindex svg{
        width: 10px;
        height: 10px;
    }
}
.service-prices {
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .service-prices {
        padding: 5px;
        margin-bottom: 5px;
    }
}
.price-itemindex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.price-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.price-label {
    font-size: 28px;
}

.price-value {
    font-weight: 600;
    color: var(--purple);
}
@media (max-width: 768px) {
    .price-label {
        font-size: 12px;
    }
    .price-value {
        text-align:right;
        font-size: 10px;
    }
}
.service-cardindex:hover .service-imageindex {
    transform: scale(1.05);
}

.service-cardindex:hover .service-nameindex {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}
/*Расписание админ панель*/
.buttontype{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
}
.btn-primary{
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
    color: white !important;
}
.btn-primary:hover{
    background-color: var(--purple-text) !important;
    border-color: var(--purple-text) !important;
}
.btn-primary:active{
    background-color: var(--purple-text) !important;
    border-color: var(--purple-text) !important;
}
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:focus-within {
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-primary{
    border-color: var(--purple) !important;
    color: var(--purple) !important;
}
.btn-outline-primary:hover{
    background-color: var(--purple);
    color: white !important;
}
.btn-outline-primary:active{
    background-color: var(--purple);
    color: white !important;
}
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:focus-within {
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.topweek{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.tableweek{
    margin-top: 40px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.04),
        0 20px 50px rgba(113,100,205,0.08);
    border: 1px solid rgba(113,100,205,0.08);
}
.tableweek table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.tableweek th{
    text-align: center;
    padding: 16px 10px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #ece9ff;
}
.tableweek th:first-child,
.tableweek td:first-child{
    width: 90px;
    min-width: 90px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--purple);
    letter-spacing: 0.5px;
}
.tableweek th:not(:first-child),
.tableweek td:not(:first-child){
    width: calc((100% - 90px) / 7);
}
.tableweek td{
    height: 115px;
    padding: 10px;
    vertical-align: top;
    border-bottom: 1px solid #f1f1f1;
    border-right: 1px solid #f3f3f3;
    box-sizing: border-box;
}
.tableweek tr:last-child td{
    border-bottom: none;
}
.tableweek td:last-child{
    border-right: none;
}
.week-date{
    font-size: 20px;
}
.week-day{
    font-size: 14px;
    opacity: 0.7;
}
.event-item{
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 14px;
    background: var(--white);
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.event-item:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.event-capacity{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.event-capacity.free{
    background: rgba(108, 77, 255, 0.18);
    color: #4c3df0;
}

.event-capacity.full{
    background: rgba(255, 80, 80, 0.2);
    color: #a61d1d;
}
.event-title{
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    margin: 4px 0 6px 0;
    line-height: 1.05;
    text-align: center;
}

.event-teacher{
    text-align: center;
    font-size: 12px;
    opacity: 0.75;
    line-height: 1.4;
}
.event-top{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.event-group{
    font-size: 12px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.event-item:hover{
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-table th,
.calendar-table td {
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: top;
    padding: 10px;
}

.calendar-table th {
    font-weight: 600;
}

/* ===== МЕСЯЧНЫЙ КАЛЕНДАРЬ (GRID) ===== */
.calendar-month {
    margin-top: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: 18px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-header div,
.calendar-header .col {
    text-align: center;
    color: var(--purple);
    border-bottom: 2px solid rgba(113, 100, 205, 0.2);
    padding: 16px 10px;
    font-size: 16px;
    font-weight: 600;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-week:last-child {
    border-bottom: none;
}

.calendar-day {
    min-height: 100px;
    padding: 10px;
    border: 1px solid #f3f3f3;
    overflow: hidden;
}

.calendar-day:last-child {
    border-right: none;
}

.calendar-day .day-number {
    font-size: 12px;
    color: var(--purple-text);
    margin-bottom: 8px;
    display: block;
}
.calendar-day.today {
    background: rgba(113, 100, 205, 0.08);
}

.calendar-events,
.day-events {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.calendar-day .event-item {
    padding: 4px 6px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.calendar-day .event-capacity {
    min-width: 34px;
    height: 18px;
    font-size: 10px;
    padding: 0 8px;
    margin-bottom: 4px;
}

.calendar-day .event-title {
    font-size: 11px;
    margin: 0;
    line-height: 1.1;
}
.event-time{
    text-align: center;
    font-size: 11px;
    margin: 3px;
    line-height: 1.1;
}

.calendar-day .event-teacher {
    font-size: 9px;
}
@media (max-width: 768px) {
    .calendar-day {
        min-height: 50px;
        padding: 5px;
    }
    .calendar-day .day-number {
        font-size: 4px;
        margin-bottom: 4px;
    }
    .calendar-events,
    .day-events {
        margin-top: 4px;
        gap: 2px;
    }
    .calendar-day .event-item {
        padding: 2px 3px;
        margin-bottom: 2px;
    }
    .calendar-day .event-capacity {
        min-width: 17px;
        height: 9px;
        font-size: 5px;
        padding: 0 4px;
        margin-bottom: 2px;
    }
    .calendar-day .event-title {
        font-size: 5px;
    }
    .event-time{
        font-size: 5px;
        margin: 1px;
    }
    .calendar-day .event-teacher {
        font-size: 4px;
    }
    .topweek{
        margin-bottom: 10px;
    }
    .tableweek{
        margin-top: 20px;
    }
    .tableweek th{
        padding: 8px 5px;
        font-size: 8px;
    }
    .tableweek th:first-child,
    .tableweek td:first-child{
        width: 25px;
        min-width: 25px;
        font-size: 7px;
    }
    .tableweek td{
        height: 57px;
        padding:5px;
    }
    .week-date{
        font-size: 6px;
    }
    .week-day{
        font-size: 6px;
    }
    .event-item{
        padding: 3px;
        margin-bottom: 2px;
        border-radius: 8px;
    }
    .event-capacity{
        min-width: 30px;
        height: 17px;
        padding: 0 8px;
        font-size: 7px;
        margin-bottom: 4px;
    }
    .event-title{
        font-size: 6px;
        margin:2px 0 3px 0;
    }
    .event-teacher{
        font-size: 5px;
    }
    .event-group{
        font-size: 6px;
        margin-bottom: 2px;
    }
    .calendar-table th,
    .calendar-table td {
        padding: 5px;
    }
    .calendar-month {
        margin-top: 15px;
        padding: 15px;
    }
    .calendar-header div,
    .calendar-header .col {
        padding: 8px 5px;
        font-size: 8px;
    }
}
.past-event{
    background:#f1f1f1 !important;
    opacity:0.7;
}
.past-day{
    background:#fafafa;
}
.inactive-event {
    background-color: #fd716a !important;
    opacity: 0.7;
}
.past-event {
    background: #e7e7e6 !important;
    border: 1px solid #e6dcc2 !important;
    color: #8a7f5a !important;
    opacity: 0.4 !important;
}
.event-item.past-event{
    pointer-events: none !important;
    cursor: default !important;
}

.event-item.past-event:hover{
    opacity: inherit !important;
    transform: none;
    box-shadow: none;
}
.progress{
    height:4px;
    width:30px!important;
    border-radius:4px;
}
.bg-success{
    background-color: var(--purple)!important;
}
.bg-warning{
    background-color: #fd716a !important;
}
.lefticon{
    width: 60px;
    padding: 10px;
}
@media (max-width: 768px) {
    .lefticon{
        width: 30px;
        padding: 5px;
    }
}
/*Заявки админ панель*/
.btnnone{
    background: none;
    border: none;
}
.bulk-actions{
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.inputmass{
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 12px 25px;
    margin: 10px;
    text-align: center;
    color: var(--purple-text);
    transition: 0.3s;
}
.eshe{
    display: block;
    width: 100%;
    text-align: center;
    background: #f0f0f0;
    border: none; border-radius: 4px;
    padding: 4px 8px;
    margin-top: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}
@media (max-width: 768px) {
    .inputmass{
        padding: 5px 5px;
        margin: 5px;
    }
    .eshe{padding: 4px 8px;
        margin-top: 2px;
        font-size: 4px;
    }
    .cardappointment>.centerp>p{
        font-size: 12px;
        margin: 2px;
    }
}
.inputmass:focus{
    color: var(--purple-text);
    box-shadow: 0px 0px 4px 0px var(--purple);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.modal.show {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    min-width: 320px;
    max-width: 500px;
    width: 90%;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    text-align: center;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    color: #333;
    background: #f5f5f5;
}

.modal-body {
    padding: 20px;
}

.modal-body p {text-align: center;
    margin: 0;
    font-size: 15px;
}

.modal-body .form-label {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.modal-body .form-label:first-child {
    margin-top: 0;
}

.modal-body .inputcreate {
    width: 100%;
    margin-bottom: 0;
    padding: 10px 12px;
    font-size: 14px;
}

.modal-body .buttoncenter {
    margin-top: 20px;
    text-align: center;
}

.modal-body .buttoncenter .buttonauth {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .modal-container {
        min-width: 280px;
        max-width: 95%;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-title {
        font-size: 17px;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-body .form-label {
        margin-top: 10px;
        font-size: 13px;
    }

    .modal-body .inputcreate {
        padding: 8px 10px;
        font-size: 13px;
    }

    .modal-body .buttoncenter .buttonauth {
        padding: 10px;
        font-size: 14px;
    }
}
.modal-response .modal-content {
    overflow: visible;
}

.modal-response .modal-body {
    padding: 15px 20px;
    overflow: visible;
}

.modal-response .modal-body textarea.inputcreate2 {
    width: calc(100% - 2px) !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto !important;
    display: block;
    border: 2px solid var(--purple);
    border-radius: 10px;
    padding: 10px;
    resize: vertical;
}
.status-select option{
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #dee2e6;
    cursor: pointer;
    min-width: 120px;
}
.status-new,.status-pending {font-size:16px; background-color: var(--status-new); color: var(--purple); display: inline-block; padding: 5px 15px; border-radius: 20px;border: none;cursor: pointer;min-width: 120px;outline: none !important;}
.status-confirmed,.status-published {font-size:16px; background-color: var(--status-confirmed); color: #155724; display: inline-block; padding: 5px 10px; border-radius: 20px;border: none;cursor: pointer;min-width: 120px;outline: none !important;}
.status-completed {font-size:16px; background-color: var(--status-completed); color: #0c5460; display: inline-block; padding: 5px 15px; border-radius: 20px;border: none;cursor: pointer;min-width: 120px;outline: none !important;}
.status-cancelled,.status-rejected {font-size:16px; background-color: var(--status-cancelled); color: #721c24; display: inline-block; padding: 5px 15px; border-radius: 20px; border: none;cursor: pointer;min-width: 120px;outline: none !important;}
.status-expired {font-size:16px; background-color: var(--status-expired); color: #383d41; display: inline-block; padding: 5px 15px; border-radius: 20px;border: none;cursor: pointer;min-width: 120px;outline: none !important;}
.status-no_show {font-size:16px;background-color: var(--status-no_show);color: #ca5e00;display: inline-block; padding: 5px 15px; border-radius: 20px; border: none;cursor: pointer;min-width: 120px;outline: none !important;}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    z-index: 10001;
    animation: slideIn 0.3s;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 10px;
    }
    .status-badge,
    span.status-badge,
    select.status-select,
    td .status-badge,
    td select.status-select{
        min-width: 50px !important;
        width: 50px !important;
        max-width: 50px !important;
        padding: 1px 2px !important;
        font-size: 6px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        display: inline-block !important;
    }

    /* Для select дополнительно убираем внутренние отступы */
    select.status-select {
        padding: 2px 0 !important;
        text-align-last: center !important;
    }

    /* Опции остаются с нормальным выравниванием */
    select.status-select option {
        text-align: left !important;
    }
}
.notification.success { background-color: var(--status-confirmed); }
.notification.error { background-color:var(--status-cancelled); }
.notification.info { background-color: var(--status-completed) }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.smallp{
    font-size: 10px;
}
.smallpp{
    font-size: 20px;
}
.status-size{
    margin-top: 10px;
}
.status-size>span{
    text-align: center;
    font-size: 14px;
}
.children-info{
    display: flex;
}
.newph{
   width: 100px;
}
@media (max-width: 768px) {
    .smallpp{
        font-size: 6px;
    }
    .status-size{
        margin-top: 5px;
    }
    .status-size>span{
        font-size: 7px;
    }
    .newph{
        width: 80px;
    }
}
/*Запись на занятие пользователь*/
.info-booking{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.info-bookingleft {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.info-bookingright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.child-item2{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.center{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 20px;
}
.form-groupcenter{
    display: flex;
    align-items: center;
    flex-direction: column;
}
/*О нас*/
.about-hero{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
}
.about-logo{
    width:250px;
}
.about-title{
    text-align: center;
    font-weight:bold;
    margin-bottom:15px;
}
.about-text{
    font-size: 28px;
}
@media (max-width: 768px) {
    .about-text{
        font-size: 13px;
    }
    .about-title{
        margin:5px;
    }
    .client-info>p{
        margin:5px;
    }
    .lesson-info>p{
        margin:5px;
    }
    .children-info>p{
        margin:5px;
    }
}
.branches-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
.branch-card{
    display: flex;
    padding: 30px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 25px 60px rgba(0, 0, 0, 0.06);
    transition: all .3s ease;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 768px) {
    .branch-card{
        padding: 5px;
    }
    .status-size>span{
        text-align: center;
        font-size: 10px;
        margin: 5px;
    }
}
.branch-card:hover{
    transform:translateY(-6px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.08),
        0 30px 70px rgba(0,0,0,0.08);
}
.branch-title{
    font-weight:600;
    margin:10px;
}
.branch-address,.branch-time{
    text-align: center;
    margin:10px;
}
@media (max-width: 768px) {
    .branch-address,.branch-time{
        margin:5px;
    }
    .branch-address{
        font-size: 13px;
    }
    .branch-time>p{
        font-size: 12px;
        margin: 3px;
    }
}
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}
.gallery-item{
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    cursor:pointer;
}
.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:transform .5s;
}
@media (max-width: 768px) {
    .gallery-item img{
        height:120px;
    }
}
.gallery-item:hover img{
    transform:scale(1.1);
}
.modal-backdrop.show{
    opacity:0.9;
}
/* Стили для лайтбокса */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
}

.lightbox-image {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 5px 10px;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--purple);
    transform: scale(1.1);
}
.iconnone{
    border: none;
    background: none;
    width: 25px;
    margin: 5px;
}
@media (max-width: 768px) {
    .iconnone{
        width: 10px;
        margin: 2px;
    }
}
.weekend{
    font-size: 22px;
}
.sertificat{
    width: 300px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .sertificat{
        width: 170px;
        border-radius: 10px;
    }
    .weekend{
        font-size: 12px;
    }
}
.twocolabout{
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}
@media (max-width: 768px) {
    .twocolabout>div>p{
        font-size: 12px;
    }
}
.twocolabout2{
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    justify-items: end;

}
@media (max-width: 768px) {
    .twocolabout2>div>p{
        font-size: 12px;
    }
}
.twocolabout>div{
    text-align: right;
}
/*Новости*/
.service-metaindex--contest{
    display: grid;grid-template-columns: 1fr;
}
.service-metaindex--event{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.news-content-preview{
    text-align: justify;
    font-size: 20px;
    margin-top: 15px;
}
@media (max-width: 768px) {
    .news-content-preview{
        font-size: 10px;
        margin-top: 5px;
    }
}
.news-event-details{
    margin-bottom: 5px;
    margin-top: 5px;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #666;
    width: 100%;
}
/*Правила*/
.rule-card {
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 16px rgba(113, 100, 205, 0.08), 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    background: var(--white);
    margin-bottom: 30px;
}
.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(113, 100, 205, 0.15), 0 25px 50px rgba(0, 0, 0, 0.1);
}
.rule-number {
    font-size: 80px;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    background: linear-gradient(135deg, var(--purple) 0%, #8a7fd9 100%);
    background-clip: text;
    text-shadow: 2px 4px 10px rgba(113, 100, 205, 0.2);
}
@media (max-width: 768px) {
    .rule-number {
        font-size: 30px;
    }
}
.rule-text {
    text-align: center;
    padding: 15px;
}
@media (max-width: 768px) {
    .rule-card {
        padding: 10px;
        margin-bottom: 10px;
    }
    .rule-text {
        padding: 5px;
    }
}
.rules-footer p {
    font-size: 25px;
    text-align: center;
    margin-top: 20px;
}
/*Просмтор заявок админ-панель*/
.statusappoint{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.info-label{
    font-weight: bold;
    margin-right: 10px;
}
.schedulessp td span{
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}
.rating-star {
    font-size: 48px;
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s ease;
    -webkit-text-stroke: 2px var(--purple-text);
    paint-order: stroke fill;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.rating-star:hover {
    transform: scale(1.2);
}
.rating-star.active {
    color: var(--yellow);
    -webkit-text-stroke: 2px var(--purple-text);
}
.rating-star.active ~ .rating-star {
    color: #ddd;
}
@media (max-width: 768px) {
    .info-label{
        margin-right: 5px;
    }
    .schedulessp td span{
        font-size: 7px;
    }
    .rating-star {
        font-size: 24px;
    }
    .rules-footer p {
        font-size: 12px;
        margin-top: 10px;
    }
}
/* Главная страница */
.advantages{
    margin-top: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .advantages{
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
.about-mini{
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .about-mini{
        margin-bottom: 10px;
    }
}
.section-title {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    padding: 40px;
}
@media (max-width: 768px) {
    .section-title{
        font-size: 15px;
        text-align: center;
        padding: 10px;
    }
}
.about-text {
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
@media (max-width: 768px) {
    .advantages-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.adv-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}
@media (max-width: 768px) {
    .adv-card {
        padding: 10px;
    }
}
.adv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ===== УСЛУГИ ===== */
.popular-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .popular-services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
.popular-service-card {
    display: flex;
    text-align: center;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.popular-service-card:hover {
    transform: translateY(-8px);
}
.popular-service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.popular-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular-service-card p {
    font-weight: 600;
    margin: 15px 10px 5px;
}
.price {
    display: block;
    color: #7b6cff;
    font-weight: 600;
}

.duration {
    display: block;
    margin-bottom: 15px;
    color: #777;
    font-size: 22px;
}
@media (max-width: 768px) {
    .duration {
        font-size: 12px;
    }
}
.opis{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* кнопка */
.center {
    text-align: center;
    margin-top: 20px;
}
/* ===== СЛАЙДЕР ===== */
.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
@media (max-width: 768px) {
    .slider-container {
        gap: 5px;
    }
}
.slider-arrow {
    border: none;
    background: none;
    flex-shrink: 0;
    cursor: pointer;
}

.teachers-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.teachers-slider {
    display: flex;
    transition: transform 0.5s ease;
}
.teacher-slide {
    flex: 0 0 33.333%;
    padding: 10px;
    box-sizing: border-box;
}

.teacher-slide-link {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%; /* Растягиваем на всю высоту слайда */
    min-height: 320px; /* Минимальная высота для всех карточек */
}
@media (max-width: 768px) {
    .teacher-slide-link {
        padding: 10px;
        min-height: 100px; /* Минимальная высота для всех карточек */
    }
}
.teacher-slide-link:hover {
    transform: translateY(-8px);
}

.teacher-slide-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    flex-shrink: 0; /* Запрещаем сжатие */
}
@media (max-width: 768px) {
    .teacher-slide-image {
        width: 120px;
        height: 120px;
    }
}
.teacher-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-slide-name {
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.3;
    /* Ограничиваем количество строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 46px; /* Высота для 2 строк */
}
@media (max-width: 768px) {
    .teacher-slide-name {
        min-height: 16px;
    }
}
.teacher-slide-services {
    font-size: 14px;
    color: #666;
    margin-top: auto; /* Прижимаем к низу карточки */
    padding-top: 10px;
    /* Ограничиваем количество строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .teacher-slide-services {
        padding-top: 0px;
        margin-top: 0;
    }
}
/* ===== СТИЛИ ДЛЯ СЛАЙДЕРА ОТЗЫВОВ ===== */
.reviews-sectionhome .slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.reviews-slider-wrapper {
    flex: 1;
    overflow: hidden;
}

.reviews-slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.review-slide {
    flex: 0 0 50%; /* По умолчанию 2 слайда */
    padding: 0 12px;
    box-sizing: border-box;
}

/* Адаптив для слайдера отзывов */
@media (max-width: 768px) {
    .review-slide {
        flex: 0 0 100%; /* 1 слайд на планшетах и телефонах */
    }
}

/* Стили самой карточки отзыва */
.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .review-card {
        padding: 10px;
    }
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f0f0f0;
}
@media (max-width: 768px) {
    .avatar {
        width: 35px;
        height: 35px;
    }
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-start;
}
@media (max-width: 768px) {
    .reviewer-info {
        gap: 10px;
    }
}
.reviewer-name {
    font-weight: 600;
    font-size: 18px; /* Уменьшил с 25px для лучшей адаптации */
    white-space: normal;
    line-height: 1.2;
}
@media (max-width: 768px) {
    .reviewer-name {
        font-size: 12px;
    }
}
.stars {
    display: flex;
    gap: 2px;
    font-size: 16px;
    flex-shrink: 0;
}

.stars span {
    color: #ccc;
    transition: color 0.2s;
}

.stars .active {
    color: #f5a623;
}

.review-content {
    margin-bottom: 15px;
    flex-grow: 1;
}
@media (max-width: 768px) {
    .review-content {
        margin-bottom: 5px;
    }
}
.review-content p {
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
    font-size: 25px;
}
@media (max-width: 768px) {
    .review-content p {
        font-size: 12px;
    }
}
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    gap: 10px;
    flex-wrap: wrap;
}
.review-footer small {
    color: #999;
    font-size: 14px;
}
@media (max-width: 768px) {
    .review-footer small {
        font-size: 8px;
    }
}
.service-link {
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
    white-space: normal;
    word-break: break-word;
    color: #6c63ff;
}
@media (max-width: 768px) {
    .service-link {
        font-size: 8px;
    }
}
.service-link:hover {
    color: #4a42c4;
    text-decoration: none;
}

/*Профиль пользователя*/
.list-group-item.active {
    background-color: var(--purple);
    border-color: #e0e0e0;
}
.buttonprofile{
    background-color: var(--white);
    border: 2px solid var(--purple);
    color: var(--purple-text);
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
    font-size: 20px;
}
.buttonprofile:hover{
    color: var(--purple-text);
    box-shadow: 0px 0px 4px 0px var(--purple);
}
.profile-name{
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .profile-name{
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .card-body.text-center.pad5 {
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
        justify-content: center !important;
        gap: 15px !important;
    }

    .card-body.text-center.pad5 .mb-3 {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .card-body.text-center.pad5 .avatar {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        aspect-ratio: 1/1 !important;
    }

    .profile-name {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        text-align: left !important;
    }

    .profile-name .name-lastname,
    .profile-name .name-firstname,
    .profile-name .name-patronymic {
        display: inline-block !important;
        font-size: 16px !important;
        font-weight: 500 !important;
    }
    .card,.cardappointment {
        margin-bottom: 10px!important;
    }
    .mb-0{
        padding: 0px!important;
    }
    .card-body{
        padding: 5px!important;
    }
}
.card-body{
    background: #fff;
    border-radius: 10px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.pad5{
    padding: 5px;
}
.delrew{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}
card{
    border-radius: 10px!important;
    border: 1px solid var(--purple)!important;
}
.table-responsive {
    overflow-x: unset!important;
}
.card-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
    color: var(--bs-card-cap-color);
    background: none;
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.review-text,.admin-response-toggle{
    margin: 2px;
}
.text-info{
    color: var(--purple)!important;
    border: none;
    background: none;
}
.statusrew>span{
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
}
@media (max-width: 768px) {
    .statusrew>span{
        font-size: 10px;
    }
}
.profileno{
    text-align: center;
    padding: 10px;
    margin: 20px;
}
.profileno>.buttonauth{
    margin-bottom: 20px;
}
.rating-display{
    text-align: center;
}
.centerp{
    text-align: center;
    padding: 20px;
}
.alert-link:hover{
    color:var(--purple);
}
.successbtn{
    margin-top: 20px;
}
/* Куки-баннер */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--purple);
    z-index: 9999;
    padding: 20px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
/* Круглое фото преподавателя */
.teacher-photo-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    background: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
}

.teacher-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.teacher-photo-wrapper .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .teacher-photo-wrapper {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .teacher-photo-wrapper {
        width: 150px;
        height: 150px;
    }
}
.cookie-text>p{
    color: var(--yellow);
}
.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: column;
}
.cookie-text a:hover {
    color: var(--yellow);
}
ul{
    margin: 0px;
    padding: 0px;
}
.no-schedules-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}
.no-schedules-message p {
    margin: 25px 0;
}
.no-schedules-message p:first-child {
    font-size: 16px;
    font-weight: 500;
}
.no-schedules-message p:last-child {
    font-size: 14px;
}
.admin-response-content>p{
    font-size: 20px;
}
.admin-label{
    font-size: 24px;
}
.buttontwo{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.pagination{
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.pagination>a>.lefticon{
    width: 45px;
}
.pagination>span>.lefticon{
    width: 45px;
}
@media (max-width: 768px) {
    .admin-label{
    font-size: 12px;
}
.admin-response-content>p{
    font-size: 10px;
}
    .pagination>a>.lefticon{
        width: 25px;
    }
    .pagination>span>.lefticon{
        width: 25px;
    }
}
.pagination>a:hover{
    color: var(--purple);
}
.disabled{
    cursor: pointer;
}
.pagination .active{
    font-weight: 600;
    color: var(--purple);
}
.reviewwid{
    margin: 20px;
    display: flex;
    justify-content: space-between;
}
.avatar2 {
    width: 120px; height: 120px; object-fit: cover; border-radius: 50%;
}
@media (max-width: 768px) {
    .avatar{
        width: 60px; height: 60px;
    }
    .avatar2{
        width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
    }
    .reviewwid{
        margin: 5px;
    }
    .review-header>.avatar{
        width: 40px; height: 40px;
    }
}
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.burger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--purple-text);
    transition: all 0.3s ease;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100%;
    background: var(--purple);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    display: flex;
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu-inner {
    padding: 80px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
    border-top: 0.5px solid var(--yellow);
    border-bottom: 0.5px solid var(--yellow);
    padding-bottom: 15px;
}
.mobile-nav li a {
    font-size: 15px;
    text-decoration: none;
    display: block;
    padding: 8px 0;
}

.mobile-auth {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 15px;
}

.mobile-auth-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
}

.mobile-auth-link .icon {
    width: 30px;
    height: 30px;
}

.mobile-logout {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ (до 768px) ===== */
@media (max-width: 768px) {
    /* Показываем бургер */
    .burger-btn {
        display: block;
        margin-left: auto;
    }

    /* Скрываем десктопное меню и кнопки на мобилке */
    .ulheader {
        display: none !important;
    }

    .guest {
        display: none !important;
    }

    /* Адаптируем шапку для мобилки */
    header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Анимация бургера при открытии */
    .burger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
