@import url("https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap");


.h1 {
    line-height: 10px !important;
}

.coach-chess__banner.banner-area-one{
    background: #f1974705;
    display: flex;
    overflow: hidden;
    position: relative;
    margin: auto;
    z-index: 1;
}

.chat-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 24px;
    background-color: #03a84e;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 100%;
}

.contact-area-right-5 .contact-form-1 input::placeholder {
    color: #dedede;
  }

.chat-button .svg {
    color: #fff;
    fill: #fff;
}

@media screen and (max-width: 990px) {
    .chat-button {
        bottom: 30px;
        right: 30px;
    }
}



.tawk-min-chat-icon {
    color: #fff;
    fill: #fff;
}

.pre-title-banner, .pre-title-banner span  {display: flex; gap:5px; align-items: center;}


.pre-title-banner img {
    margin-right: 10px;
}

.pre-title-banner span {
    color: var(--color-primary-2);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

.title-banner {
    color: #221859;
    font-size: 56px;
    font-style: normal;
    font-weight: 600;
    line-height: 66px;
    margin-top: 35px;
    position: relative;
}

.title-banner img {
    position: absolute;
    left: 41%;
    bottom: 3px;
}

.title-banner span {
    color: #221859;
    font-size: 56px;
    font-style: normal;
    font-weight: 400;
    line-height: 66px;
}



.shape-image .shape {
    position: absolute;
}

.shape-image .shape.one {
    left: 6%;
    bottom: 30%;
}

.shape-image .shape.two {
    right: 46%;
    top: 15%;
}

.shape-image .shape.three {
    right: 15%;
    top: 20%;
}

.banner-content-one {
    display: flex;
    align-items: center;
    padding: 160px 0;
}

.container.coach-top__container {
    margin-top: 0 ;
    margin-bottom: 0;
    max-width: none;
    padding: 72px 0;
    max-width: 1410px;
}

/* .coach-top__row {
    height: 100%;
} */

.banner-content-one.coach-top__banner {
    display: flex;
    align-items: center;
    padding: 0;
    height: 100%;
    /* padding: 32px 16px 32px 32px; */
}

.banner-right-img__wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    padding: 0 !important;
    max-width: 80%;
}

@media screen and (max-width: 1024px) {
    .banner-right-img__wrapper {
        position: static; 
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        max-width: none;
    }

    .banner-content-one.coach-top__banner {
       
        padding: 32px 16px 32px 32px;
    }

    .coach-top__row {
        height: 100%;
        align-items: center;
        justify-content: center;
    }
}

.banner-right-img {
    display: flex;
    align-items: flex-end;
    height: auto;
    position: relative;
}

@media screen and (max-width: 990px) {

    .container.coach-top__container {
        padding: 32px 0;
    }

    .banner-right-img img {
        margin-left: 14px;
    }
}

@media screen and (max-width: 576px) {

    .banner-right-img img {
        margin-left: 0;
    }
}


.banner-btn-author-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sm-image-wrapper {
    display: flex;
    align-items: center;
    gap: 13px;
}

.sm-image-wrapper .images-wrap {
    display: flex;
    align-items: center;
}


.sm-image-wrapper .images-wrap .img-1 {
    position: relative;
    cursor: pointer;
    z-index: 1;
    transition: .3s;
}

.sm-image-wrapper .images-wrap .img-2 {
    margin-left: -20px;
    z-index: 2;
}

.sm-image-wrapper .images-wrap .img-3 {
    margin-left: -20px;
    z-index: 3;
}

.sm-image-wrapper .images-wrap a, .sm-image-wrapper .images-wrap span {
   border: solid 4px #F9F8FF;
   border-radius: 100%;
   overflow: hidden;
   width: 56px;
   height: 56px;
}
.sm-image-wrapper .images-wrap img {cursor: auto !important;}

.sm-image-wrapper .images-wrap a:hover, .sm-image-wrapper .images-wrap span:hover {
    z-index: 10;
    transform: translateY(-5px);
}

.sm-image-wrapper .info .title {
    margin-bottom: 0;
    color: #221859;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: -5px;
}

.sm-image-wrapper .info span {
    color: #737477;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0;
}



/* video-block */

.video-block__wrapper{
    border: 1px solid #e7e7e7;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    border-radius: 6px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1004%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='rgba(241%2c 151%2c 71%2c 0.02)'%3e%3c/rect%3e%3cpath d='M1529.34 313.19C1418.98 312.97 1311.41 243.19 1093.49 243.19 875.56 243.19 884.63 315.77 657.63 313.19 430.64 310.61 356.51 6.05 221.78-11.08' stroke='rgba(244%2c 168%2c 88%2c 1)' stroke-width='2'%3e%3c/path%3e%3cpath d='M1447.59 132.21C1299.75 133.48 1167.92 284.69 875.85 283.41 583.79 282.13 476.3-89.24 304.12-107.3' stroke='rgba(244%2c 168%2c 88%2c 1)' stroke-width='2'%3e%3c/path%3e%3cpath d='M1693.58 30.95C1550.63 32.47 1420.05 187.9 1143.64 187.75 867.24 187.6 746.66-74.74 593.71-81.86' stroke='rgba(244%2c 168%2c 88%2c 1)' stroke-width='2'%3e%3c/path%3e%3cpath d='M1471.34 297.68C1350.27 304.26 1269.11 526.04 1041.15 521.68 813.2 517.32 772.03 49.49 610.97-4.84' stroke='rgba(244%2c 168%2c 88%2c 1)' stroke-width='2'%3e%3c/path%3e%3cpath d='M1577.59 234.73C1451.55 227.14 1371.1-0.4 1133.6-6.07 896.11-11.74 803.26-103.05 689.62-103.62' stroke='rgba(244%2c 168%2c 88%2c 1)' stroke-width='2'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1004'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");
    padding: 32px;

}

.image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
   
}

.cta-board {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 16px;
    width: 100%;
}

.artboard {
    position: relative;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 959px) {

    .video-block__wrapper {
        margin-bottom: 16px;
    }
    .cta-board {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .artboard {
        display: none;
    }
}


@keyframes pulse1 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  @keyframes pulse2 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  @keyframes pulse3 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }

  .pulsating-object {
    width: 64px;
    height: 64px;
    display: inline-block;
    position: relative;
    transform-origin: center;
    background-color: transparent;
    border: none;
    border-radius: 20px;
    overflow: hidden;
  }



.sub-title {
    font-size: 48px;
    font-weight: 400;
}

.sub-title span {
    font-weight: 600;
}

.typing-text {
    height: 60px;
  }

@media screen and (max-width: 959px) {
    .sub-title {
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .cta-board {
        padding: 0;
    }

    .typing-text {
        height: 32px;
    }

    .sub-title {
        text-align: start;
    }

    .cta-board .text-block {
        align-items: start;
        text-align: start;
    }

    .cta-board .text-block h2 {
        font-size: 32px;
        margin-bottom: 0;
    }

    .container.coach-top__container {
        padding: 64px 0;
    }

    .banner-content-one.coach-top__banner {
        padding: 0;
    }

    .banner-area-one .title-banner {
        margin-top: 12px !important;
    }
}


.sub-title2 {
    color: var(--color-primary);
    font-size: 60px;
}

.buttons {
    margin-top: 64px;
    display: flex;
    gap: 16px;
    width: 100%;
}

@media screen and (max-width: 959px) {
    .buttons {
        flex-direction: column;
        margin-top: 24px;
    }
}

.image-secondary {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 3;
    width: 459px;
    height: auto;
    bottom: -24px;
    left: calc(50% - 600px + 762px);

    }

    .image-secondary img {
        border-radius: 12px;
    }

.image-secondary__mobile {
    position: relative;
    display: none;
    border-radius: 12px;
}

.image-secondary__mobile:hover {
    cursor: pointer;
}


.image-secondary__mobile:hover .play-button {
    color: #f4a858;
    background-color: #ffffff;
}

.image-secondary__mobile img {
    border-radius: 12px;
}

@media screen and (max-width: 767px) {
    .image-secondary__mobile {
        position: relative;
    }
}

@media screen and (max-width: 959px) {
    .image-secondary__mobile {
        display: block;
    }
}

 @media screen and (max-width: 1279px) {
                .image-secondary {
                top:147px;
                left: calc(50% - 480px + 659px);
                width: 360px;
                height: auto;
            }
        }


@media screen and (max-width: 1199px) {

    .image-secondary {
        top:147px;
        left: calc(50% - 520px + 659px);
        width: 360px;
        height: auto;
    }

    
}

 .image-secondary img {
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
 }       


        @media screen and (max-width: 959px) {
                .image-secondary {
                display: none;
            }
        }


.pulsating-object-1 {
    position: absolute;
    top: calc(133px - 64px);
    left: calc(50% - 600px + 962px - 64px);
    z-index: 10;
    animation: pulse1 3s infinite ease-in-out;
}

.pulsating-object-2 {
    position: absolute;
    top: 164px;
    left: calc(50% - 600px + 762px - 128px);
    z-index: 10;
    animation: pulse2 4s infinite ease-in-out;
    animation-delay: 1s;
}

.pulsating-object-3 {
    position: absolute;
    top: calc(233px + 120px);
    left: calc(50% - 600px + 762px - 144px);
    z-index: 10;
    animation: pulse3 5s infinite ease-in-out;
    animation-delay: 2s;
}

@media screen and (max-width: 1199px) {
    .pulsating-object-1 {
        top: calc(113px - 64px);
        left: calc(50% - 480px + 862px - 64px);
    }
    .pulsating-object-2 {
        top: 134px;
        left: calc(50% - 480px + 659px - 128px);
    }
    .pulsating-object-3 {
        top: calc(233px + 100px);
        left: calc(50% - 480px + 659px - 144px);
    }
}

@media screen and (max-width: 959px) {
    .pulsating-object-1 {
        display: none;
    }
    .pulsating-object-2 {
        display: none; 
    }
    .pulsating-object-3 {
        display: none; 
    }
}

.play-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background-color: #f4a858;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 20;
}

.form-background {
  background: 
    linear-gradient(135deg, rgba(245, 168, 88, 0.03) 25%, transparent 25%) -10px 0,
    linear-gradient(225deg, rgba(245, 168, 88, 0.03) 25%, transparent 25%) -10px 0,
    linear-gradient(315deg, rgba(245, 168, 88, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(245, 168, 88, 0.03) 25%, transparent 25%);
  background-size: 20px 20px;
  background-color: #fffaf5;
  border: 1px solid rgba(245, 168, 88, 0.15);
}

.image-secondary:hover {
  cursor: pointer;
}

.image-secondary:hover .play-button {
    color: #f4a858;
    background-color: #ffffff;
}

.benefit-image__wrapper {
   max-width: 640px;
}


.text-block {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 959px) {
    .text-block {
        align-items: center;
    }
}

.shapes {
    position: absolute;
}

.shape-one {
    width: 4.93%;
    left: 47.9%;
    top: 32%;
    z-index: 1;
    animation: jumpTwo 8s infinite linear;
}

.shape-two {
    width: 5.93%;
    left: 54.3%;
    top: 42%;
    z-index: 1;
    animation: jumpThree 8s infinite linear;
}

@keyframes jumpTwo {
    0%   {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
    40%  {-webkit-transform: translate3d(0,20px,0);transform: translate3d(0,20px,0);}
    100% {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
  }
  @-webkit-keyframes jumpThree {
    0%   {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
    40%  {-webkit-transform: translate3d(0,-20px,0);transform: translate3d(0,-20px,0);}
    100% {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
  }
  @keyframes jumpThree {
    0%   {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
    40%  {-webkit-transform: translate3d(0,-20px,0);transform: translate3d(0,-20px,0);}
    100% {-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
  }

  .self-end {
    align-self: end;
  }

  .coach-top__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coach-page__benefit-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 124px;
  }

[data-aos][data-aos][data-aos-easing=ease],body[data-aos-easing=ease] [data-aos] {
    transition-timing-function: ease;
}

[data-aos][data-aos][data-aos-duration="1000"],body[data-aos-duration="1000"] [data-aos] {
    transition-duration: 1s
}

[data-aos^=fade][data-aos^=fade] {
    opacity: 0;
    transition-property: opacity,transform
}

[data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: translateZ(0);
}

[data-aos=fade-right] {
    transform: translate3d(-100px,0,0)
}

[data-aos=fade-left] {
    transform:translate3d(100px,0,0);
}

.attention {
    box-shadow: 0px 4px 10px rgba(245, 168, 88, 0.3);
}

/* video-block */

/* fun facts row start */

.fun-facts-area-1 {
    background-image: url(https://chesswin.org/images/run/assets/cta-bg.png);
    position: relative;
    z-index: 1;
    margin: auto;
    margin-bottom: 75px;
  }

  .fun-facts-area-1 .shape-image .shape {
    position: absolute;
    z-index: -1;
  }
  .fun-facts-area-1 .shape-image .shape.one {
    left: 6%;
    bottom: 30%;
  }
  .fun-facts-area-1 .shape-image .shape.three {
    right: 10%;
    top: 35%;
  }
  
  .fun-facts-main-wrapper-1 {
    padding: 0 120px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .fun-facts-main-wrapper-1 {
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 30px;
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) and (min-width: 768px) and (max-width: 991px) {
    .fun-facts-main-wrapper-1 .single-fun-facts {
      flex-basis: 45%;
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .fun-facts-main-wrapper-1 .single-fun-facts::after {
      display: none;
    }
  }
  @media only screen and (max-width: 767px) {

    .fun-facts-main-wrapper-1 {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0;
      }

    .single-fun-facts span.enr {
    padding: 0;
    }

    .fun-facts-main-wrapper-1 .single-fun-facts::after {
      display: none;
    }
  }
  @media only screen and (max-width: 767px) {
    .fun-facts-main-wrapper-1 .single-fun-facts {
      flex-basis: 45%;
    }

    .video__container {
        padding: 64px 16px;
    }
  }
  @media only screen and (max-width: 575px) {
    .fun-facts-main-wrapper-1 .single-fun-facts {
      flex-basis: 42%;
    }
  }
  
  .single-fun-facts {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .single-fun-facts:last-child::after {
    display: none;
  }
  .single-fun-facts::after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: #dedede;
    opacity: 0.6;
  }
  @media only screen and (max-width: 1199px) {
    .single-fun-facts::after {
      display: none;
    }
  }
  .single-fun-facts .title {
    margin-top: 20px;
    margin-bottom: 2px;
  }
  .single-fun-facts .title span {
    color: #fff;
    font-size: 22px;
  }
  .single-fun-facts span.enr {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    padding: 0 18px;
  }

  .single-fun-facts h5 {
    margin: 0;
  }

  .single-fun-facts span {
    text-align: center;
  }

  .fun-facts__counter {
    height: 35px;
  }

  /* fun facts row end */

  /* video row start */

.video__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background-color: var(--color-primary-2);
    padding: 124px 32px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 124px 0;
}

.video__title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1024px;
    gap: 4px;
}

.video__title {
    /* color: #FFF; */
    font-size: 56px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
}

.video__subtitle {
    font-size: 32px;
    text-align: center;
}

.video__box {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 960px;
    padding: 32px;
    flex-direction: column;
}
.video__desc {
    text-align: center;
}

@media only screen and (max-width: 767px) {

    .video__container {
        padding: 64px 16px;
    }

    .video__title {
        font-size: 32px;
    }
  }

    /* video row end */

    /* coach page benefit start  */

    /* .coach-page__benefit-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 32px;
    } */

    .img-wrapper {
        max-width: 580px;
      }

    .benefit-image__wrapper .img-wrapper {
        position: relative;
        width: 100%;
        max-width: 640px;
        overflow: hidden;
        border-radius: 4px;
    }
    
    /* Унификация: и картинка, и видео заполняют контейнер */
    .benefit-image__wrapper img,
    .benefit-image__wrapper video {
        width: 100%;
        height: auto;
        /* border-radius: 16px; */
        display: block;
    }
    
    /* Если хочешь одинаковую высоту по дизайну, а не по пропорциям */
    .benefit-image__wrapper img,
    .benefit-image__wrapper video {
        aspect-ratio: 16 / 9; /* 👈 одинаковое соотношение сторон */
        object-fit: cover;
    }
    

    @media only screen and (max-width: 969px) {
        .coach-page__benefit-content {
            /* display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center; */
            gap: 32px;
        }
        
      }

    /* coach page benefit end  */

    /* invite card start */

    .invite-card {
        background-color: #f4a858;  
        border-radius: 8px;
        color: #fff;
    }

    .invite-card .thumbnail img {
        max-width: 30%;
    }

    .invite-card .information-inner .title {
        margin-top: -17px ! important;
        font-size: 2.2em;
        color:white;
        margin: 15px 0;
    }

    .invite-card .information-inner p {
        margin-bottom: 15px;
    }

    /* invite card end */

    .menu-ava__fallback {
        width: 100%;
        height: 100%;
        border-radius: 100%;
        background-color: var(--color-primary);
        color: #fff;
        font-weight: 900;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden ;
    }

    .review-answer {
        width: 100%;
        padding: 16px;
        border-radius: 4px;
        background-color: #f6f6f9;
        /* background-color: #f1974705; */
    }

    .review-answer span {
        font-weight: 700;
        color: #868695;
        font-size: 16px;
    
    }

    .review-answer div {
        color: #242424;
        font-size: 14px;
    }

    .coach-reviews__wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
       
    }

    .coaches-reviews__item {
        display: flex;
        flex-direction: column;
        gap: 12px;
        border-radius: 4px;
        border: 1px solid #dedede;
        padding: 12px;
    }

    .coaches-reviews__info-wrapper {
        display: flex;
        gap: 12px;
    }

    /* .coaches-reviews__item:hover {
        cursor: pointer;
        box-shadow: 2px 2px 2px 2px #dedede;
    } */

    .coaches-reviews__image img {
        width: 48px;
        height: 48px;
    }

    .coaches-reviews__information {
        min-width: 120px;
    }

    .coaches-reviews__answer {
        display: flex;
        gap: 16px;
    }

    /* .coaches-reviews__item:hover .coaches-reviews__answer {
        display: flex;
    } */
    .coaches-reviews__answer input {
        width: 100%;
    }


    /* .answer-active {
        display: flex;
    }
     */


     .coach-top__wrapper {
        display: flex;
        gap: 32px;
        justify-content: space-between;
        width: 100%;
     }

    .title-area-center-style .pre-title img,
    .title-area-left-style .pre-title img {
        max-width: 56px;
        }

     @media only screen and (max-width: 767px) {
        .coach-top__wrapper {
            flex-direction: column;
        }

        .title-area-center-style .pre-title img,
        .title-area-left-style .pre-title img {
            max-width: 32px;
        }
     }

     .gallery-photos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
     }

     .photo-container {
        max-width: 360px;
     }

     .referal-link__wrapper {
        width: 100%;
        border-radius: 6px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: start;
     }

     .referal-link__wrapper ul {
        list-style-type: disc;
     }

     .table-delete-icon {
        color: darkred;
     }

     ul {
        list-style: none;
     }

     .nav-list {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        padding-left: 0;
     }

     .crm-nav {
        /* display: flex;
        align-items: center; */
        padding-top: 8px;
        /* padding: 8px 12px 0 12px; */
        /* gap: 32px; */
        overflow-x: scroll;
        text-wrap: nowrap;
        /* flex-wrap: nowrap; */
        color: var(--link-color);
        position: relative;
        /* border-bottom: 1px solid red; */
     }

     ul {
        margin: 0;
     }

     .crm-nav:not(.profile-tabs)::after {
        content: '';
        width: 100%;
        height: 1px;
        background-color: #dedede;
        position: absolute;
        bottom: 0;
        left: 0;
     }

     .crm-nav-link:not(.nav-active):hover {
        text-decoration: underline;
    }

     .crm-nav-link {
        text-decoration: none;
        width: 100%;
        height: 100%;
        padding: 12px 24px;
        border-radius: 6px 6px 0 0;
        display: block;
        border-bottom: 1px solid #dedede;
     }

     .nav-active {
        /* background-color: #dedede; */
        border-bottom: none;
        border-top: 1px solid #dedede;
        border-right: 1px solid #dedede;
        border-left: 1px solid #dedede;
        color: var(--bs-body-color);
        position: relative;
     }

     .nav-active::after {
        content: '';
        width: 100%;
        height: 3px;
        position: absolute;
        bottom: -1px;
        left: 0;
        background-color: white;
        z-index: 20;
     }

     .scroll-hide::-webkit-scrollbar {
            height: 0; /* Высота скроллбара */
        }

    .main-page-girl {
        width: 240px;
        height: 240px;
    }

    .user-ava__wrapper {
        width: 32px;
        height: 32px;
        border-radius: 100%;
        border: 2px solid #dedede;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .user-ava__wrapper img {
        width: 100%;
        object-fit: contain;
    }

    .user-ava-fallback__wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        width: 32px;
        height: 32px;
        border-radius: 100%;
        border: 2px solid #dedede;
        background-color: var(--color-primary);
        color: #fff;
        /* font-size: 32px; */
        text-align: center;
    }

    .add-game-autocomplete {
        width: 100%;
        position: relative;
    }

    .add-game-autocomplete input {
        width: 100%;
    }

    .create-game-inputs__wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }

    .clear-button {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #888;
        padding: 0;
        line-height: 1;
      }

      .autocomplete-item:focus {
        background: #eef;
        outline: none;
      }

      .opponents-checkbox__wrapper {
        display: flex;
        align-items: center;
        gap: 24px;
      }

      .create-game-selectors__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .opponent-input__wrapper {
        display: flex;
        align-items: center;
      }

      @media only screen and (max-width: 767px) {
        .create-game-selectors__wrapper {
            flex-direction: column;
            gap: 12px;
        }

        .create-game-selectors__wrapper div {
            width: 100%;
        }
     }

.rus-avatar-placeholder {
    width: 32px;
    height: 32px;
    border: 1px solid #dedede;
    border-radius: 100%;
    color: white;
    background-color: var(--color-primary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rus-game-move-type-text {
    display: flex;
    align-items: center;
    /* gap: 12px; */
}

.game-invite__box {
    display: flex;
    flex-direction: column;
    border: 1px solid #dedede;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 10px;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.game-invite__popup {
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 4px;
    border: 1px solid #f5f5f5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80px;
    height: 20px;
    font-size: 10px;
    background-color: white;
    align-items: center;
    justify-content: center;
}

.game-invite__box:hover .game-invite__popup {
    display: flex;
}

.game-invite__btn {
    display: flex;
    gap: 12px;
    align-items: center;
}

.game-invite__text {
    font-size: 16px;
    line-height: 16px;
}

.game-invite__link {
    font-size: 12px;
    text-decoration: underline;
}

.rus-selector-width {
        width: 125px;
        flex: 0 0 130px;
        white-space: nowrap;
    }
    
.rus-tab-border{
    border-collapse: collapse;
    border-color: #e9e9e9 !important;
    font-weight: 200;
    font-size: 1rem;
}

.table>thead>tr>* {
    padding: 0.7rem .5rem;
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
}

.animated-logo__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 360px;
}

.personal-top__wrapper {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 16px;
}

.coach-card__box {
    border: 1px solid #dedede;
    border-radius: 6px;
    padding: 10px;
    width: 250px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 220px;
    position: relative;
}

.delete-coach-btn__absolute {
    position: absolute;
    color: red;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

/* .delete-coach-btn__absolute svg {
    width: 12px;
} */

@media only screen and (max-width: 767px) {
    .personal-top__wrapper {
        flex-direction: column;
    }
}

.camera-guide__item img {
    width: 100%;
    padding: 12px 0;
    border: 1px solid #dedede;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
}

.copy-settings-link {
    font-size: 12px;
    padding: 4px;
 
}

.settings-link {
    font-size: 14px;
    color: #6c757d;
    text-decoration: underline;
}

.settig-link__box {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;

}


.cancel-button__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cancel__button {
    width: 100%;
    height: 20px;
    font-size: 14px;
    font-weight: 400;
    border: none;
    background-color: transparent;
    padding: 2px 4px;
}

.cancel-review__progress-bar {
    width: 100%;
    height: 2px;
    background-color: #ffc107;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    }
    
.cancel-review__progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(0%);
    z-index: 1;
    pointer-events: none;
    }
    
.cancel-review__progress-bar.in-progress::after {
    animation: slideWipe 2s linear forwards;
    }
    
    @keyframes slideWipe {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0%);
        }
    }


    .main-join-btn__wrapper {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .languagelist {
        display: flex;
        width: 100%;
        gap: 16px;

    }

    .languagelist__item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    #languageList .form-check {
        padding: 0;
    }

    .form-check {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .form-check .form-check-input {
        margin-left: 0;
        width: 16px;
        height: 16px;
        /* width: 100%; */
    }

    .master-card-action-btn {
        display: flex;
        gap: 4px;
    }

    .remove-coach-vocation-btn:hover svg {
        fill: darkred;
        cursor: pointer;
    }

    .warning {
        box-shadow: 0px 4px 10px darkred;
    }
    
    .director-payments-title__wrapper {
        /* margin-bottom: 1rem; */
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
    }

    .director-payments-title__wrapper h1 {
        margin-bottom: 0;
    }

    .preview-table {
        /* display: grid;
        place-items: center; */
        /* width: 100%; */
        /* height: 180px; */
        overflow-y: scroll;
        
    }

    .curriculum-theme-label {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        justify-content: center;
    }

    .curriculum-theme-label:hover {
        opacity: 0.8;
    }

    .homework-modal-btn__wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        padding: 0 12px;
    }

    .homework-modal-check__wrapper {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .support-icon {
        width: 44px;
        height: 44px;
    }

    .support-ticket {
        display: flex;
        gap: 16px;
        align-items: center;
        margin-bottom: 12px;
    }

    .support-ticket-left svg {
        width: 44px;
        height: 44px;
    }

    .shedule-title__timezone {
        font-size: 12px;
        color: #777;
        font-weight: 600;
    }

    .schedule-title__timezone-wrapper {
        display: flex;
        flex-direction: column;
        max-width: 220px;
    }

    .shedule-title__commentary {
        font-size: 12px;
        color: #777;
    }

    .coach-header-btn__wrapper {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .coach-header-menu__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .calendar-filters__wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: end;
    }

    .attendance__wrapper {
        display: flex;
        flex-direction: column;
    }

    .ec-center {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ec-title {
        text-align: center;
    }

    .ec-start {
        display: flex;
    }

    .foot-bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 24px;

    }

    @media screen and (max-width: 1024px) {

        .create-lesson-btn__attendance {
            display: none;
        }

        .ec,
        .ec.ec-day-grid {
            height: auto !important;
            overflow-y: visible !important;
        }

        .ec-start {
            display: flex;
            flex-direction: column;
        }

        .ec-button-group {
            width: 100%;
        }

        .ec-button-group .ec-button {
            width: 100%;
        }

        .ec-button.ec-today {
            width: 100%;
        }

        .ec-end .ec-button-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: auto auto;
            row-gap: 0.5em;
        }

        .ec-button.ec-dayGridMonth {
            border: none;
            outline: 1px solid #dedede;
            border-top-left-radius: 0.25rem;
            border-bottom-left-radius: 0.25rem !important; 
        }

        .ec-button.ec-timeGridWeek {
            border: none;
            outline: 1px solid #dedede;
            border-top-right-radius: 0.25rem !important;
            border-bottom-right-radius: 0.25rem !important;
        }

        .ec-button.ec-listWeek {
            border: none;
            outline: 1px solid #dedede;
            border-top-right-radius: 0.25rem !important;
            border-bottom-right-radius: 0.25rem;
        }

        .ec-button.ec-timeGridDay {
            border: none;
            outline: 1px solid #dedede;
            border-bottom-left-radius: 0.25rem !important;
            border-top-left-radius: 0.25rem !important;
        }

        .ec-button-group .ec-button:not(:first-child) {
            margin-left: 0 !important;
        }

        .ec-button.ec-active {
            outline: 1px solid #f4a85854 !important;
        }

        .attendance__wrapper {
            flex-direction: column-reverse;
        }

        .calendar-filters__wrapper {
            margin-bottom: 0;
            margin-top: 2rem;
        }

        .ec-sidebar {
            padding: 0 !important;
        }
        .foot-bottom {
            gap: 8px;
    
        }
    }

    @media screen and (max-width: 576px) {
        .coach-header-btn__wrapper {
            /* flex-direction: column-reverse; */
            justify-content: flex-start;
            padding: 8px 0;
            flex-wrap: nowrap !important;
        }
        
        .calendar-filters__wrapper {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: auto auto;
            gap: 0.5rem;
            margin-bottom: 2rem;
            justify-items: stretch;
            outline: 1px solid #dedede;
            border-radius: 0.25rem;
            padding: 0.5rem;
        }
        
        .calendar-filters__wrapper .form-check {
            padding: 4px 8px;
            display: flex;
            align-items: center;
            /* outline: 1px solid #dedede; */
            border-radius: 0.25rem;
        }
        
        .calendar-filters__wrapper .form-check:nth-child(4),
        .calendar-filters__wrapper .form-check:nth-child(5) {
            grid-column: span 1;
        }

        .ec-title {
            font-size: 24px;
        }

        .foot-bottom {
            flex-direction: column;
            gap: 0;
        }
        
    }

    @media screen and (max-width: 455px) {
        .calendar-filters__wrapper {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: auto auto;
            gap: 0.5rem;
            margin-bottom: 2rem;
            justify-items: stretch;
            outline: 1px solid #dedede;
            border-radius: 0.25rem;
            padding: 0.5rem;
        }
    }

    .timezone-info {
        font-size: 12px;
    }
    .coach-time {
        cursor: default;
        margin-right: 15px;
        line-height: 1.2;
    }

    .coach-time span {display: block; font-size: 10px; text-align: center;}

    .tariff-month-btn.selected {
        background-color: #fff;
    }

    .change-banking-btn.selected {
        background-color: #fff;
    }
        
.tariff-month-btn.selected:hover {
    background-color: #fff;
}

.tariff-modal-price-area {
    display: flex;
    gap: 8px;
    flex-direction: column;
    /* flex-direction: column-reverse; */
    align-items: flex-start !important;
}


/* .option-btns span:hover {color: #000; background: #00000009} */

.right-course-details .course-side-bar .price-area .title {
    margin-bottom: 0;
    color: #110C2D;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
}

.right-course-details .course-side-bar .price-area h4 {
    margin-bottom: 0;
    color: #737477;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.title-text {
    word-break: break-word;
    font-family: "Hind", sans-serif;
    line-height: 1.4074;
    color: var(--color-heading-1);
}

.right-course-details .course-side-bar {
    padding: 30px;
    border: 1px solid #00000016;
    border-radius: 6px;
    background: #fff;
    position: relative;
}

.right-course-details .course-side-bar {
    margin-left: 6px;
    margin-right: 6px;
}

.right-course-details .course-side-bar .what-includes .single-include {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #00000016;
    padding-bottom: 15px;
    padding-top: 15px;
}

.price-count {
    margin-right: 5px;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #eaeaea;
    color: #288557;
}

.tariff-modal-price-area {
    font-family: 'Hind', 'sans-serif';
}

.tariff-modal-price-area__top {
    position: relative;
    margin-bottom: 0;
    color: #737477;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.new-price {
    font-size: 32px;
    font-weight: 900;
    color: black;
}

.price-area__top-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 968px) {
    .price-area__top-box {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

.tariff-modal__amount-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tariff-modal__amount {
    font-size: 18px;
    color: #777;
    font-weight: 600;
    margin-bottom: 0;
}

.coach-tariff__old-price::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: red;
    transform-origin: center;
    pointer-events: none;
}

.tariff-modal-price-area__bottom {
    font-family: 'Hind', 'sans-serif';
    margin-bottom: 0;
    color: #737477;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; 
}

.tariff-btn {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
}

.right-course-details .course-side-bar .price-area .discount {
    padding: 3px 10px;
    border-radius: 3px;
    background: var(--color-primary);
    /* background: #107036; */
    color: #fff;
  }

  .row.no-gutter > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.break-word {
    word-wrap: break-word;
}

/* .delete-student-btn {
    width: 100%;
    height: 100%;
    max-width: 24px;
} */

.iti--allow-dropdown {
    width: 100%;
}

.under-line {
    text-decoration: underline;
}

.bread-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-login__btn {
    padding: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    margin-bottom: 4px;
    position: relative;
}

.copy-login__btn:hover svg {
    fill: blue;
}

.copied-notice {
    position: absolute;
    right: -87px;
    top: 0;
    font-size: 10px;
    color: #777;
}

#possible-login {
    position: relative;
    font-size: 14px;
    color: #288557;
}

#possible-login-box {
    display: flex;
    gap: 4px;
    font-size: 14px;
}

.invisible {
    visibility: hidden;
    height: 0;
    width: 0;
}

.homework-content__box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.homework-content__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.short-link__box {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-right: -12px;
    width: 100%;
}

.tooltip-text {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
}

.short-link__box:hover {
    cursor: pointer;
}

.short-link__box:hover .short-link {
    text-decoration: underline;
    color: var(--main-lightblue);
}

.short-link svg {
    margin-top: -10px;
}

.short-link__hint {
    /* display: none; */
    font-size: 12px;
    color: #777;
    position: absolute;
    top: 10px;
    right: 0;
    background-color: white;
    border: 1px solid #777;
    border-radius: 4px;
    padding: 4px 8px;
}

.attendance-top__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.attendance-top__wrapper_btns {display: flex; align-items: center; flex-wrap: wrap; gap: 10px;}

.visually-hidden {
    opacity: 0;
    height: 0;
    visibility: hidden;
}

.your-login__box {
    margin-bottom: 1rem;
    font-size: 12px;
}

.master-card-info__wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.master-card-checkbox__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.master-card .sj-block{
    margin-top: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left-width: 4px;
    border-radius: 10px;
    padding: 6px 8px;
}
.master-card .sj-status-warning{ border-left-color:#ffc107; }
.master-card .sj-status-success{ border-left-color:#198754; }
.master-card .sj-status-danger{  border-left-color:#dc3545; }
.master-card .sj-status-info{    border-left-color:#0d6efd; }

.master-card .sj-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    /* margin-bottom:6px; */
}
.master-card .sj-title{
    font-weight:600;
    font-size:12px;
}
.master-card .sj-pill{
    display:inline-block;
    padding:2px 10px;
    border-radius:999px;
    font-size:12px;
    line-height:18px;
    border:1px solid rgba(0,0,0,.06);
    white-space:nowrap;
}
.master-card .sj-pill-warning{ background:#fff3cd; }
.master-card .sj-pill-success{ background:#d1e7dd; }
.master-card .sj-pill-danger{  background:#f8d7da; }
.master-card .sj-pill-info{    background:#cfe2ff; }

.master-card .sj-toggle-btn{
    display:flex;
    align-items:center;
    gap:8px;
    background:transparent;
    border:0;
    padding:0;
    cursor:pointer;
    color:inherit;
}
.master-card .sj-chevron{
    width:14px;
    height:14px;
    transition:transform .2s ease;
    flex:0 0 14px;
}
.master-card .sj-row{
    display:flex;
    gap:8px;
    line-height:1.35;
    margin-top:2px;
    justify-content: space-between;
    align-items: center;
}
.master-card .sj-key{
    min-width:132px;
    color:#6c757d;
    font-size: 10px;
}
.master-card .sj-val{ 
    color:#343a40;
    font-size: 12px;
}

.master-card .sj-channels{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
}
.master-card .sj-channels .badge{
    font-weight:500;
    padding:6px 8px;
}

/* Сворачивание */
.master-card .sj-body{
    overflow:hidden;
    max-height:999px; /* безопасный верхний предел */
    transition:max-height .25s ease, opacity .2s ease, padding .2s ease, margin .2s ease;
    opacity:1;
}
.master-card .sj-block.is-collapsed .sj-body{
    max-height:0;
    opacity:0;
    padding-top:0!important;
    padding-bottom:0!important;
    margin-top:0!important;
    pointer-events:none;
}
.master-card .sj-block.is-collapsed .sj-chevron{
    transform:rotate(-90deg);
}

.pair-obj__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.pair__container {
    /* border: 2px solid ${pairObj.color}; */
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
}



@media screen and (max-width: 1240px) {

    #pm-pairs-block{
        max-width: none;
    }
    .pair__container > div {
        flex-direction: column;
        width: 100%;
    }

    .pair-obj__box {
        width: 100%;
    }
}

.fen-editor-modal-root {
    padding: 0 44px;
}

.fen-card .board-wrap {
    width:100%;
    max-width:560px;
    margin:0 auto;
    /* aspect-ratio:1 / 1; */
    position:relative;
}

.fen-card .board-anchor{
    position:absolute;
    inset:0;
    width:100%;
    height: 100%;
}

.student-card__settings-btn svg {
    width: 24px;
    height: 24px;
    align-self: flex-start;
}

.student-card__settings-btn {
    opacity: 1;
    transition: opacity 200ms ease;
    font-size: 10px;
    max-width: 100px;
    padding: 8px 4px !important;
    display: inline-flex;
    text-align: left;
    align-items: center;
    border: 1px solid #dedede;
    cursor: pointer;
    background: inherit;
    border-radius: 6px;
    text-align: center;
}

.student-card__settings-btn:hover {
    cursor: pointer;
    opacity: 0,8;
}

.student-card__settings-btn:focus-visible {
    opacity: 0.8;
    outline: none;
}

.settings-icons__box {
    /* margin-top: -6px; */
    display: flex;
    flex-direction: column;
}

.settings-icons__box svg {
    width: 12px;
    height: 12px;
}

.tech-info-card__box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.show-settings-to-student__box {
    display: flex;
    gap: 4px;
    margin-right: -12px;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.show-settings-to-student__box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  
  /* блокируем клики в ожидании/при открытой модалке */
  .show-settings-to-student__box.disabled {
    opacity: .6;
    pointer-events: none;
  }
  
  /* когда модалка у ученика открыта — зелёный текст + галочка перед текстом */
  .show-settings-to-student__box.is-open .text-link {
    color: #2e7d32; /* зеленый */
    font-weight: 600;
  }
  .show-settings-to-student__box.is-open .text-link::before {
    content: "✓";
    margin-right: 6px;
  }

  .dashboard-item.dashboard-quicklesson {
    border: 1px solid var(--color-primary-2); /* жёлтая рамка */
}

.dashboard-item.dashboard-quicklesson .dashboard-icon {
    color: var(--color-primary-2); /* чтобы иконка тоже подсвечивалась */
}

#director-left-menu .left-menu-quicklesson {
    color: var(--color-primary-2);
}
  
  .blink-quicklesson {
    animation: quicklesson-pulse 1.6s ease-in-out infinite;
    position: relative;
  }

  @keyframes quicklesson-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(200, 200, 200, 0.6); }
    60%  { box-shadow: 0 0 0 10px rgba(200, 200, 200, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 200, 200, 0); }
  }

  .blink-fastlink {
    animation: tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; 
  }


  @keyframes tw-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .5; }
  }
  
  .onboard-tip-card{
    position:absolute; z-index:100;
    width:340px; max-width:90vw;
    background:#fff; border:1px solid #e8e8e8;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    border-radius:12px; padding:14px 16px 16px;
    text-align:left!important;
  }
  .onboard-tip-title{ font-weight:700; font-size:18px; margin:0 28px 6px 0; color:#222; }
  .onboard-tip-text{ color:#555; line-height:1.4; margin:0; }
  .onboard-tip-close{
    position:absolute; top:8px; right:8px;
    width:28px; height:28px; border:0; background:transparent;
    border-radius:6px; cursor:pointer; color:#777; font-size:18px; line-height:1;
  }
  .onboard-tip-close:hover{ background:#f5f5f5; color:#333; }

  /* Когда карточка сверху — переставляем стрелку вниз и влево немного */
  .onboard-tip-card.pos-top .onboard-tip-arrow{
    left:24px; top:auto; bottom:-8px;
    border-left:0; border-bottom:0;
    border-top:1px solid #e8e8e8; border-right:1px solid #e8e8e8;
  }

  /* общий контейнер */
.onboard-tip-card {
    position: absolute;
    z-index: 100;
    width: 340px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  
  .onboard-tip-card .onboard-tip-arrow {
    position: absolute;
    width: 0;
    height: 0;
  }
  
  .onboard-tip-card {
    position: absolute;
    z-index: 100;
    width: 340px;
    max-width: 90vw;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  
  .onboard-tip-card .onboard-tip-arrow {
    position: absolute;
    width: 0;
    height: 0;
  }
  
  /* над target */
  .onboard-tip-card.pos-top .onboard-tip-arrow {
    bottom: -8px;              /* совпадает с arrowSize из JS */
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
  }
  
  /* под target */
  .onboard-tip-card.pos-bottom .onboard-tip-arrow {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
  }
  
  /* слева от target */
  .onboard-tip-card.pos-left .onboard-tip-arrow {
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #fff;
  }
  
  /* справа от target */
  .onboard-tip-card.pos-right .onboard-tip-arrow {
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
  }
  
  .onboard-tip-card.pos-top .onboard-tip-arrow {
    bottom: -8px;
    left: 50%;
    transform: translateX(calc(-50% + var(--arrow-offset, 0px)));
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
  }

  

  @media (prefers-reduced-motion: reduce){
    .blink-quicklesson{ animation:none!important; }
  }
  

/* .what-includes-modal__container {
    display: flex;
    flex-direction: column;
}

.what-icludes__top {
    display: flex;
    align-items: center;
}

.what-icludes__img img {
    object-fit: contain;
    width: 96px;
    height: 96px;
}
.what-icludes__title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.what-icludes__title-main {
    font-size: 32px;
    font-weight: 400;   
}

.what-includes__content {
    display: flex;
    align-items: end;
}

.what-includes__content div {
    width: 100%;
} */

.what-includes-modal__container {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    background: #f9f9fb; /* легкий серый фон */
    border-radius: 8px;
}

.what-icludes__top {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.what-icludes__img img {
    object-fit: contain;
    width: 128px;
    height: 128px;
    margin-right: 20px;
}

.what-icludes__title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.what-icludes__title-main {
    font-size: 34px;
    font-weight: 400;   
}

.what-icludes__title-secondary {
    color: #6c757d;
}

.what-includes__content {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.what-includes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.single-include .left {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    gap: 10px;
   
}

.single-include i {
    color: #28a745;
    font-size: 18px;
}

.single-include span {
    color: #6c757d;
}

.what-includes__btn-box {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
    max-width: 260px;
}

@media screen and (max-width: 768px) {
    .what-icludes__top {
        flex-direction: column;
    }
    .what-includes__content {
        flex-direction: column;
    }
}

.btn {
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
}

.games-small-btns__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    /* flex-wrap: wrap; */
}

.players-game__small-btn {
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    padding: 9px;
}

.players-game__small-btn svg {
    margin-right: 0;
}


.classroom-invite-form-btn__box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.classroom-invite-form-btn__box button {
    width: calc(50% - 20px);
}

.online-lesson-btns__wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
 
}

@media screen and (max-width: 768px) {
    .online-lesson-btns__wrapper {
        flex-direction: column;
        gap: 8px;

    }

    .online-lesson-btns__wrapper .btn {
        width: 100%;
    }
}

.q-text-input-edit {
    width: 100%;
    font-size: 21px;
    background-color: #fff;
    padding: 22px 15px !important ;
}


.q-text__wrapper {
    position: relative;
    width: 100%;
}

.q-text__wrapper svg {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    fill: #888;
    transform: translateY(-50%);
    pointer-events: none;
}

.q-text-input {
    font-size: 21px;
    border: none !important;
    width: auto;
    padding: 0 !important;
}

.curric-theme-item-container {
    cursor: pointer;
}

.methodical-textarea {
    width: 100%;
    height: 60px;
}

.master-card-send-btn {
    margin-top: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 6px 8px;
    align-self: flex-end;
}

.send-btn__inner-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.master-card-check-inp {
    accent-color: #198754;
    cursor: pointer;
}

#rus-game-center {
    max-width: 1024px;
}


#rus-game-section {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}

.player-card-name {
    text-wrap: wrap;
    max-width: 40px;
}

.status-alert-icon { 
    display: inline-flex; 
    vertical-align: middle; 
    margin-left: 6px; 
    color: #F16D7A;
}
.status-alert-svg { 
    display: inline-block;
    /* color: red; */
}

.required-star {
    color: #F16D7A;
}

.status-alert-circle {
    border-radius: 50%;
    background-color: #F16D7A;
    border-radius: 50%;
    color: white;
    /* padding: 3px 8px; */
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
}

#telegram-connection-tab {
    display: flex;
}

#telegram-connection-tab svg {
    color: #F16D7A;
    align-self: flex-start;
}

.gender-label {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.delete-profile-btn {
    color: #6c757d;
}

.delete-profile-btn:hover {
    opacity: 0.6;
}

.profile-buttons-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.course-profile-bar, .course-profile-bar-FSHR, .course-profile-bar-FIDE {
    display: flex;
    align-items: start;
    gap: 12px;
    overflow-x: auto;
    justify-content: space-between;
}

.course-profile-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.course-profile-title {
    font-size: 14px;
    font-weight: 600;
}

.course-profile-title {
    margin: 0;
}

.course-profile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 10px;
    font-weight: 400;
    gap: 4px;
}

.course-profile-body p {
    margin: 0;
}

.coach-personal-right__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px !important;
    color: black;
}

#data .form-control::placeholder {
    color: #9aa1b4;
    opacity: 1;
    font-style: italic; 
    font-size: 12px;
}

#kids-pieces-toggle {
    justify-content: flex-start !important;
}

#coach-prejoin {
    background: #111;
    color: #fff;
    /* border-radius: 8px; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
#coach-prejoin .room-title {
    font-size: 20px;
    font-weight: 700;
}

#classroom-left-box {
    width: calc(100% - 920px);
}

.pip-win-jitsi__wrapper {
    background-color: red;
}

.pip-win-jitsi__wrapper .toolbar {
    display: none;
}

.permission-green {
    color: #98ce44; /* classroom-student-online2 */
    font-weight: 500;
    /* max-width: 360px; */
}
.permission-orange {
    color: #ffc107; /* classroom-student-online */
    font-weight: 500;
    /* max-width: 360px; */
}
.permission-red {
    color: #F16D7A; /* classroom-student-disabled-camera */
    font-weight: 500;
    /* max-width: 360px; */
}

/* Основной контейнер карточки */
.student-card-item.modern-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}
.student-card-item.modern-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Блок ОС и браузера */
.tech-info-card {
    background: #f8f9fa; /* светло-серый фон */
    border-radius: 10px;
    font-size: 14px;
    width: fit-content;
}
.tech-info-card .icon-svg {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ссылка на урок */
.short-link__box {
    cursor: pointer;
}
.short-link {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    transition: background 0.2s ease, border 0.2s ease;
}
.short-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.short-link .copy-icon {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.short-link:hover .copy-icon {
    opacity: 1;
}

/* Кнопки */
.btn {
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-primary {
    background-color: #2563eb; /* синий */
    border: none;
    color: #fff;
}
.btn-primary:hover {
    background-color: #1e40af;
}
.btn-outline-secondary {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #374151;
}
.btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #94a3b8;
    color: #374151;
}

/* Статусы разрешений */
.permission-green {
    color: #15803d;
    font-weight: 500;
}
.permission-red {
    color: #dc2626;
    font-weight: 500;
}

/* === Стили для гайдов по настройкам камеры/микрофона === */
.camera-guide-steps {
    list-style: decimal;
    margin: 0;
    padding-left: 18px;
}

.camera-guide__item {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.5;
}

.camera-guide__item strong {
    color: #000;
}

.camera-guide img {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    width: 100%
}

.camera-guide__item img {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    width: 100%
}

/* Заголовки внутри модалок */
.simple-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

/* Текст внизу */
.fs-14 {
    font-size: 14px;
}

.text-muted {
    color: #666;
}

.camera-guide__item.yandex img {
    max-width: 240px;
}

/* --- Адаптивность для смартфонов --- */
@media (max-width: 960px) and (orientation: landscape) {

    .camera-guide-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0;
        margin: 0;
    }
    
    .camera-guide__item {
        position: relative;
        font-size: 14px;
        margin-bottom: 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .simple-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .camera-guide__item img {
        border-radius: 6px;
    }

}

/* Видео в инструкциях */
.camera-guide-video {
    margin: 0 auto 16px auto;
    max-width: 480px;
}

.instruction-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.alert-wait {
    background-color: #fef7ef;
    border-color: #fad5af;
    color: #4f5b62;
}

.avaimg {
    /* width: 20px;
    height: 20px;
     */
    width: 100%;
    height: 100%;
    border-radius: 50%;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
}

.lesson-themes-list {list-style: none; padding: 0;}
.lesson-themes-list li {margin-bottom: 5px;}
.lesson-themes-list li:last-child {margin-bottom: 0;}

.lesson-multy-themes-list {
    list-style-type: disc;
    padding-left: 1rem;
}
.video-preview {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.video-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.video-preview:hover img {
    opacity: 0.9;
}

/* Кнопка Play */
.play-button-register {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f4a858;
    color: #fff;
    border: none;
    outline: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.25s ease;
    z-index: 5;
}

.play-button-register:hover {
    color: #f4a858;
    background-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Внутренние части кнопки */
.play-button-circle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button-triangle {
    width: 0;
    height: 0;
    border-left: 18px solid currentColor;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 3px;
}

#google-btn-container,
#google-btn-container-login {
    display: flex;
    justify-content: center;
}

.payment-buttons__container {
    width: 100%;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
}

.delete-payment__btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.delete-payment__btn svg {
    margin: 0 !important;
}

.language-list {
    display: grid;
    /* Создаем 3 колонки одинаковой ширины. Можете изменить на 2 или 4 */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px; /* Отступ между элементами */
    max-height: 400px; /* Ограничиваем высоту, чтобы не было слишком длинно */
    overflow-y: auto; /* Добавляем скролл, если не помещается */
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 0.375rem;
}

.language-list__item .form-check {
    /* Чтобы текст не переносился на другую строку */
    white-space: nowrap; 
}

.card__wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.currency-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 0.375rem;
}

.currency-list__item .form-check {
    white-space: nowrap; 
}

#generateDescriptionButton svg {
    color: #F16D7A;
}

.reg-success-wrapper {
    padding: 20px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: "Inter", "Roboto", sans-serif;
}

.reg-success-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2E7D32; /* зелёный Chess.Run */
    border-bottom: 2px solid #e0f2f1;
    padding-bottom: 8px;
}

.reg-success-body p {
    margin: 8px 0;
    color: #333;
    font-size: 15px;
}

.reg-login {
    color: #1565C0;
    font-weight: 600;
}

.reg-status.ok {
    color: #388E3C;
    font-weight: 500;
    background: #E8F5E9;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

.reg-email {
    margin-top: 10px;
    background: #E3F2FD;
    color: #1565C0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.reg-mail {
    font-weight: 600;
}

.faq-list-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.school-faq__card-body {
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    /* gap: 32px; */
    cursor: pointer;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    position: relative;
    transition: border-color 0.25s ease-in-out;
}

.school-faq__card-body h5 {
    padding-bottom: 8px;
    /* border-bottom: 1px solid #dee2e6; */
}

.card-edit__box {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.school-faq__card-body:hover .card-edit__box {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.school-faq__card-body:hover {
    border-color: #333;
}

.school-prices-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

#school-coach-top {display: flex; align-items: center; gap: 10px; margin-bottom: 20px;}
#school-coach-top-info {display: flex; gap: 10px; }
#school-coach-top-ava .avaimg { width: 100% !important;}

.cookie-banner__wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffffed;
    border-top: 1px solid #00000018;
    color: #000;
    padding: 15px 20px;
    display: none;
    z-index: 1000;
    font-size: 15px;
}

.cookie-banner__wrapper button {min-width: 150px;}

.cookie-banner__inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content:
    space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.cookie-banner__link {
    color:#4eaaff;
    text-decoration: underline;
}

.cookie-banner__button {
    max-width: 200px;
}

@media screen and (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: center;
    }
    
}

.student-dashboard__title {
    /* d-flex align-items-center justify-content-between mb-4 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

#relatives-inline-container {
    max-width: 600px;
}

#add-relative-inline-btn {
    max-width: 600px;
}

/* student profile  */
@media screen and (max-width: 768px) {
    .mobile-layout {
        display: flex;
        flex-direction: column;
    }

    #bread-crumbs {
        padding-top: 4.25rem !important;
    }

    #user-profile-content {
        width: 100%;
    }
    .student-dashboard__title {
        gap: 12px;
        flex-direction: column;
        justify-content: space-between;
    }

    .student-dashboard__title h1 {
        width: 100%;
        text-align: start;
    }

    .student-menu-box {
        display: flex;
        flex-direction: column;
    }

    .student-menu-item {
        width: 100%;
    }
    
    .modal-col2.modal-col-mob {
        display: block;
    }

    .modal-col-mob .modal-line-mob {
        width: 100%;
    }
}

.security-notice-box.security-minimal {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #495057;
    padding: 14px 20px;
    font-size: 14px;
    margin-bottom: 30px;
}

.security-notice-box.security-minimal i {
    font-size: 18px;
    color: #6c757d;
}

.security-notice-box.security-minimal b {
    color: #212529;
    font-weight: 600;
}
.promo-section-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px auto;
}

.promo-input-group {
    display: flex;
    width: 100%;
    position: relative;
    gap: 10px;
}

.promo-input-group input {
    width: 100%;
    height: 45px;
    border: 1px solid #e2e2e2;
    background: #fff;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 15px;
    transition: 0.3s;
}

.promo-input-group input:focus {
    border-color: var(--color-primary, #1f1f1f); /* Ваш основной цвет */
    outline: none;
}

.promo-input-group button {
    padding: 0 25px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-message {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
}

.promo-message.promo-success { color: #28a745; }
.promo-message.error { color: #dc3545; }

@media (max-width: 480px) {
    .promo-input-group {
        flex-direction: column;
    }
    .promo-input-group button {
        width: 100%;
    }
}


.tariff-price-wrapper {
    text-align: center;
    padding: 15px 0;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-row-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.current-price-big {
    font-size: 32px;
    font-weight: 800;
    color: #212529;
    line-height: 1;
}

.old-price-small {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 16px;
    font-weight: 400;
}

.period-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.total-price-row {
    font-size: 14px;
    color: #6c757d;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e9ecef;
    width: 100%;
}

.total-amount-highlight {
    font-weight: 700;
    color: #212529;
}

.discount-badges {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.badge-pill {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-duration {
    background-color: #e2e6ea;
    color: #495057;
}

.badge-promo {
    background-color: #f5a858;
    color: #fff;
    border: 1px solid #f8d7da;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-side-bar.selected {
    border: 2px solid var(--color-primary, #28a745);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.price-promo-active {
    color: #28a745 !important;
}

.tariffs-top__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-input {
    border: 1px solid #00000028 !important;
}

.school-contact-btn {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}


.form-group .form-control {
    border: 1px solid #00000028;
}

.main-pricing__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.reg-pass-btns__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    gap: 1.5rem;
    width: 300px;
}

.confirm-card {
    max-width: 500px;
    margin: 80px auto;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}
.confirm-card h1 { font-size: 24px; margin-bottom: 10px; color: #2c3e50; }
.confirm-card .user-name { font-size: 28px; font-weight: bold; color: #1a73e8; margin: 20px 0; }
.confirm-card .btns-group { display: flex; gap: 15px; justify-content: center; margin-top: 30px; }

.btn-confirm { 
    background: #28a745; color: white; border: none; padding: 12px 30px; 
    border-radius: 8px; cursor: pointer; font-weight: 600; text-decoration: none;
    display: flex; align-items: center; gap: 8px;
}
.btn-confirm:hover { background: #218838; }

.btn-decline { 
    background: #f8f9fa; color: #dc3545; border: 1px solid #dc3545; padding: 12px 30px; 
    border-radius: 8px; cursor: pointer; text-decoration: none;
}
.btn-decline:hover { background: #fee2e2; }

/* Лоадер */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}
@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.disabled { opacity: 0.6; pointer-events: none; }


.profile-incomplete-box, .profile-inactive-box {
    background-color: #fffcf5; /* Очень легкий, теплый фон */
    border: 1px solid #e8dec8; /* Тонкая песочная граница */
    border-radius: 12px;       /* Скругленные углы для мягкости */
    padding: 20px;
    color: #5a5a5a;            /* Мягкий цвет текста */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); /* Едва заметная тень для объема */
    transition: all 0.3s ease;
}

.profile-incomplete-box:hover {
    border-color: #dcbfa0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.profile-incomplete-box, .profile-inactive-box .warning-icon {
    color: #dfa655; /* Приглушенный золотисто-оранжевый цвет иконки */
}

.profile-incomplete-box, .profile-inactive-box .box-title {
    color: #333;
    font-size: 17px;
    font-weight: 600;
}

.profile-incomplete-box .box-text {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.5;
}

.profile-incomplete-box ul {
    list-style-type: none; /* Убираем стандартные буллеты */
    padding-left: 0;
    margin-bottom: 15px;
}

.profile-incomplete-box ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #c74c4c; /* Мягкий красный цвет для незаполненных полей */
    margin-bottom: 4px;
}

.profile-inactive-box ul {
    list-style-type: disc;
}

/* Кастомный буллет в виде точки */
.profile-incomplete-box ul li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #dfa655;
    font-weight: bold;
}

/* Стили для кнопки, чтобы она сочеталась с блоком */
.btn-profile-action {
    background-color: transparent;
    border: 1px solid #dfa655;
    color: #b37e31;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-profile-action:hover {
    background-color: #dfa655;
    color: #fff;
    border-color: #dfa655;
}

.entity-preview-link__card {
    display: block;
    max-width: 600px;
}

.entity-card-hoverable {
    max-width: 600px;
}

.entity-card-hoverable:hover .remove-educator-btn {
display: block !important;
}

.entity-avatar {
    max-width: 96px;
}

.badge-num-inline {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    padding: 0 4px;
    vertical-align: middle;
}

.bg-warning {
    background-color: #fbc02d; /* Тот самый желтый ChessRun */
    color: #000;
}

.bg-danger {
    background-color: #ff3b30;
    color: #fff;
}

.school-horizontal-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    display: flex;
    gap: 32px;
}
.school-horizontal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.school-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    margin-top: 15px;
}
.school-features-grid .single-include {
    margin-bottom: 0;
}
.school-price-box {
    background: #fcfcfc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 991px) {
    .school-features-grid {
        grid-template-columns: 1fr;
    }
    .school-price-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 1124px) {
    /* Стили для кнопок "Комната ожидания" в шапке */
    .coach-header-quicklesson-btn,
    .coach-wait-link,
    #menu-wait-room {
        /* border-color: transparent !important; */
        background-color: transparent !important;
        padding: 4px 8px !important;
        /* box-shadow: none !important; */
        color: #4f5f77 !important; /* Цвет иконки как у остальных в шапке */
    }

    /* Убираем эффект наведения, чтобы кнопка вела себя просто как иконка */
    .coach-header-quicklesson-btn:hover,
    .coach-wait-link:hover,
    #menu-wait-room:hover {
        background-color: rgba(0, 0, 0, 0.05) !important; /* Легкий фон при наведении, по желанию */
        border-color: transparent !important;
        color: #1d2430 !important;
    }

    /* Скрываем сам текст внутри кнопки */
    .coach-header-quicklesson-btn span, .coach-wait-link span,
    #menu-wait-room span {
        display: none !important;
    }

    /* Выравниваем размер иконки, если необходимо */
    .coach-header-quicklesson-btn svg, .coach-wait-link svg,
    #menu-wait-room svg {
        margin: 0 !important;
        width: 20px;
        height: 20px;
        color: #515151;
    }
}

.short-btns__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btns-box {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btns-box svg {
    color: #454545;
    width: 24px;
    height: 24px;
}

#show-share-qr-btn,
#send-email-link-btn,
#send-telegram-link-btn {
    border: none;
    background-color: inherit;
    transition:transform .2s ease;
}

#show-share-qr-btn {
    min-width: 42px;
    min-height: 42px;
    border-radius: 12px;
    padding: 8px 12px;
    /* background: #eef4ff; */
    color: #3458a1;
    font-weight: 700;
    line-height: 1;
}

#show-share-qr-btn:hover,
#send-email-link-btn:hover {
    opacity: 0.5;
}

#show-share-qr-btn.is-active {
    /* background: #3458a1; */
    color: #fff;
}

#send-telegram-link-btn:hover {
    opacity: 0.5;
}


.share-qr-panel {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #d9e4ff;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.share-qr-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.share-qr-panel__title {
    margin-bottom: 4px;
    color: #24314d;
    font-size: 16px;
    font-weight: 700;
}

.share-qr-panel__text {
    color: #56657f;
    font-size: 13px;
    line-height: 1.45;
}

.share-qr-panel__close {
    border: none;
    background: transparent;
    color: #6c7a91;
    font-size: 32px;
    line-height: 1;
    padding: 0;
}

.share-qr-panel__close:hover {
    opacity: 0.7;
}

.share-qr-panel__image {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.share-qr-panel__image img {
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(52, 88, 161, 0.12);
}

.share-qr-panel__footer {
    text-align: center;
}

.share-qr-panel__link {
    color: #3458a1;
    font-size: 13px;
    text-decoration: underline;
}

.coach-header-btn__wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

@media only screen and (max-width: 768px) {

    .coach-header-btn__wrapper {
        flex-wrap: wrap;
        justify-content: flex-end;
        width: 100%;
    }
}

.coach-wait-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.coach-wait-link--highlight {
    /* border-color: rgba(20, 147, 95, 0.34); */
    border-color: #fff8db;
    /* box-shadow: 0 0 0 4px rgba(20, 147, 95, 0.12); */
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
    animation: coach-wait-link-pulse 2.2s ease-in-out infinite;
}

.coach-wait-link__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff8db;
    /* color: #1d7a42; */
    color: #8a6208;;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.coach-wait-link__badge[hidden] {
    display: none !important;
}

.coach-wait-link-hint {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 99;
    width: min(320px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid rgba(20, 147, 95, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(10, 17, 28, 0.14);
}

.coach-wait-link-hint[hidden] {
    display: none !important;
}

.coach-wait-link-hint__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 32, 51, 0.06);
    color: #5e6f84;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.coach-wait-link-hint__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff8db;
    color: #8a6208;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.coach-wait-link-hint__title {
    margin: 12px 24px 6px 0;
    color: #1d2430;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.coach-wait-link-hint__text {
    margin: 0;
    color: #5e6f84;
    font-size: 14px;
    line-height: 1.5;
}

.teacherwait-intro {
    position: relative;
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(20, 147, 95, 0.14);
    border-radius: 4px;
    /* background: linear-gradient(135deg, rgba(20, 147, 95, 0.08), rgba(46, 103, 199, 0.05)); */
    background: linear-gradient(135deg, #fff7dc 0%, #ffffff 48%, #f6f9ff 100%);
    box-shadow: 0 16px 32px rgba(18, 32, 51, 0.06);
}

.teacherwait-intro[hidden] {
    display: none !important;
}

.teacherwait-intro__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 32, 51, 0.06);
    color: var(--teacher-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.teacherwait-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    /* background: rgba(20, 147, 95, 0.12); */
    background: #fff;
    color: #8a6208;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.teacherwait-intro__title {
    margin: 14px 0 8px;
    color: var(--teacher-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.teacherwait-intro__copy {
    margin: 0;
    max-width: 760px;
    color: var(--teacher-muted);
    font-size: 15px;
    line-height: 1.55;
}

.teacherwait-intro__steps {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.teacherwait-intro__step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--teacher-ink);
    font-size: 14px;
    line-height: 1.45;
}

.teacherwait-intro__step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    /* background: rgba(20, 147, 95, 0.12); */
    background: #fff8db;
    color: #8a6208;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.teacherwait-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.teacherwait-intro__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    background: rgba(18, 32, 51, 0.08);
    color: var(--teacher-ink);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.waitingroom-intro {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(20, 147, 95, 0.14);
    border-radius: 6px;
    /* background: linear-gradient(135deg, rgba(20, 147, 95, 0.08), rgba(46, 103, 199, 0.05)); */
    background: linear-gradient(135deg, #fff7dc 0%, #ffffff 48%, #f6f9ff 100%);
    box-shadow: 0 16px 32px rgba(18, 32, 51, 0.06);
}

.waitingroom-intro[hidden] {
    display: none !important;
}

.waitingroom-intro__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 32, 51, 0.08);
    color: #5e6f84;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.waitingroom-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: #8a6208;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.waitingroom-intro__title {
    margin: 14px 0 8px;
    color: #1d2430;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.waitingroom-intro__text {
    margin: 0 0 18px;
    max-width: 760px;
    color: #5e6f84;
    font-size: 15px;
    line-height: 1.55;
}

.student-wait-link-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}


.waitingroom-intro__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    background: rgba(18, 32, 51, 0.08);
    color: #1d2430;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.student-wait-link-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@keyframes coach-wait-link-pulse {
    0% {
        box-shadow: 0 0 0 2px rgba(253, 208, 29, 0.12);
    }
    25% {
        box-shadow: 0 0 0 4px rgba(252, 213, 58, 0.12);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(252, 224, 112, 0.12);
    }
    75% {
        box-shadow: 0 0 0 8px rgba(252, 228, 133, 0.12);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(255, 248, 219, 0.12);
    }
    
}

.waitingroom-intro {
    padding: 14px 14px 12px;
}

.waitingroom-intro__close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 16px;
}

.waitingroom-intro__title {
    font-size: 18px;
}

.waitingroom-intro__text {
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1124px) {
    .coach-wait-link-hint {
        width: auto;
        left: -32px;
    }
}

@media (max-width: 767px) {

    .header-links__wrapper {
        display: none;
    }
    .coach-header-btn__wrapper {
        gap: 10px;
    }

    .coach-wait-link {
        margin-right: 0 !important;
    }

    .coach-wait-link-hint {
        /* position: static; */
        width: auto;
        margin-top: -2px;
        order: 10;
        left: 0;
    }

    .teacherwait-shell--embedded .teacherwait-intro {
        margin-bottom: 10px;
        padding: 14px 14px 12px;
    }

    .teacherwait-shell--embedded .teacherwait-intro__close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .teacherwait-shell--embedded .teacherwait-intro__eyebrow {
        padding: 5px 9px;
        font-size: 10px;
    }

    .teacherwait-shell--embedded .teacherwait-intro__title {
        margin-top: 12px;
        font-size: 18px;
    }

    .teacherwait-shell--embedded .teacherwait-intro__copy,
    .teacherwait-shell--embedded .teacherwait-intro__step {
        font-size: 13px;
        line-height: 1.4;
    }

    .teacherwait-shell--embedded .teacherwait-intro__actions {
        margin-top: 14px;
    }

    .teacherwait-shell--embedded .teacherwait-intro__dismiss {
        min-height: 38px;
        font-size: 13px;
    }
}
