:root{
    --index: calc(1vh + 1vw);
}

*{  box-sizing: border-box;
    margin:0;
    padding:0;
}
a{
    text-decoration: none;
    cursor: pointer;
}


@font-face {
  font-family: 'Wadik';
  src: url('../fonts/Wadik.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}
header{
    display: flex;
    justify-content: space-between;
    background-color: rgba(47, 47, 47, 1);
    position: relative;
    overflow: visible;
}

.header-garland {
    position: absolute;
    top: -7px;
    left: 0;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 100;
    pointer-events: none;
    overflow: visible;
}

.header-garland-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
    animation: headerGarlandWave 4s ease-in-out infinite;
}

.header-garland-path {
    animation: headerGarlandPulse 3s ease-in-out infinite;
}

@keyframes headerGarlandWave {
    0%, 100% {
        transform: translateY(0) scaleY(1);
    }
    25% {
        transform: translateY(-1px) scaleY(1.02);
    }
    50% {
        transform: translateY(-2px) scaleY(1.05);
    }
    75% {
        transform: translateY(-1px) scaleY(1.02);
    }
}

@keyframes headerGarlandPulse {
    0%, 100% {
        opacity: 0.6;
        stroke-width: 1.5;
    }
    50% {
        opacity: 0.9;
        stroke-width: 2;
    }
}

.header-garland-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-light {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 
        0 0 8px currentColor,
        0 0 16px currentColor,
        inset -2px -2px 5px rgba(255, 255, 255, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    animation: headerLightBlink 2s ease-in-out infinite;
    z-index: 101;
}

.header-light::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 3px;
    height: 6px;
    background: linear-gradient(180deg, rgba(150, 150, 150, 0.6) 0%, rgba(100, 100, 100, 0.4) 100%);
    border-radius: 1px 1px 0 0;
}

.header-light::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes headerLightBlink {
    0%, 100% {
        opacity: 0.4;
        transform: rotate(-45deg) scale(0.85);
        filter: brightness(0.7);
    }
    50% {
        opacity: 1;
        transform: rotate(-45deg) scale(1.1);
        filter: brightness(1.2);
    }
}

/* Позиционирование лампочек на гирлянде шапки - точно на волнистой линии с небольшими смещениями */
/* Путь: M 0 10 Q 15 6, 30 10 Q 45 14, 60 10 Q 75 6, 90 10 Q 100 12, 100 10 */
/* Рассчитаны координаты для волнистой линии с учетом высоты волн и небольшими случайными смещениями */
.header-light-1 { left: 1.5%; top: calc(10px - 2px + 0.3px); background: linear-gradient(135deg, #FFD700, #FFA500); color: #FFD700; animation-delay: 0s; }
.header-light-2 { left: 4.2%; top: calc(10px - 3px - 0.2px); background: linear-gradient(135deg, #FF6B6B, #FF4757); color: #FF6B6B; animation-delay: 0.07s; }
.header-light-3 { left: 7.1%; top: calc(10px - 3.5px + 0.4px); background: linear-gradient(135deg, #4ECDC4, #44A08D); color: #4ECDC4; animation-delay: 0.14s; }
.header-light-4 { left: 10.3%; top: calc(10px - 3.8px - 0.1px); background: linear-gradient(135deg, #45B7D1, #96C93D); color: #45B7D1; animation-delay: 0.21s; }
.header-light-5 { left: 13.6%; top: calc(10px - 3.9px + 0.2px); background: linear-gradient(135deg, #FFD93D, #F6C23E); color: #FFD93D; animation-delay: 0.28s; }
.header-light-6 { left: 16.8%; top: calc(10px - 3.7px - 0.3px); background: linear-gradient(135deg, #A8E6CF, #88D8A3); color: #A8E6CF; animation-delay: 0.35s; }
.header-light-7 { left: 20.1%; top: calc(10px - 3.2px + 0.1px); background: linear-gradient(135deg, #FF9FF3, #F368E0); color: #FF9FF3; animation-delay: 0.42s; }
.header-light-8 { left: 23.4%; top: calc(10px - 2.5px - 0.2px); background: linear-gradient(135deg, #54A0FF, #2E86DE); color: #54A0FF; animation-delay: 0.49s; }
.header-light-9 { left: 26.7%; top: calc(10px - 1.5px + 0.3px); background: linear-gradient(135deg, #5F27CD, #341F97); color: #5F27CD; animation-delay: 0.56s; }
.header-light-10 { left: 30%; top: calc(10px - 0.3px - 0.1px); background: linear-gradient(135deg, #00D2D3, #01A3A4); color: #00D2D3; animation-delay: 0.63s; }
.header-light-11 { left: 33.2%; top: calc(10px + 0.8px + 0.2px); background: linear-gradient(135deg, #FF6348, #FF4757); color: #FF6348; animation-delay: 0.7s; }
.header-light-12 { left: 36.5%; top: calc(10px + 1.5px - 0.2px); background: linear-gradient(135deg, #FFA502, #FF6348); color: #FFA502; animation-delay: 0.77s; }
.header-light-13 { left: 39.8%; top: calc(10px + 1.8px + 0.1px); background: linear-gradient(135deg, #FFD700, #FFA500); color: #FFD700; animation-delay: 0.84s; }
.header-light-14 { left: 43.1%; top: calc(10px + 1.7px - 0.3px); background: linear-gradient(135deg, #32FF7E, #18D26E); color: #32FF7E; animation-delay: 0.91s; }
.header-light-15 { left: 46.4%; top: calc(10px + 1.2px + 0.2px); background: linear-gradient(135deg, #7BED9F, #5F27CD); color: #7BED9F; animation-delay: 0.98s; }
.header-light-16 { left: 49.7%; top: calc(10px + 0.4px - 0.1px); background: linear-gradient(135deg, #70A1FF, #5352ED); color: #70A1FF; animation-delay: 1.05s; }
.header-light-17 { left: 53%; top: calc(10px - 0.5px + 0.3px); background: linear-gradient(135deg, #FF6B9D, #C44569); color: #FF6B9D; animation-delay: 1.12s; }
.header-light-18 { left: 56.3%; top: calc(10px - 1.3px - 0.2px); background: linear-gradient(135deg, #F8B500, #F97F51); color: #F8B500; animation-delay: 1.19s; }
.header-light-19 { left: 59.6%; top: calc(10px - 2px + 0.1px); background: linear-gradient(135deg, #C44569, #6A2C70); color: #C44569; animation-delay: 1.26s; }
.header-light-20 { left: 62.9%; top: calc(10px - 2.5px - 0.3px); background: linear-gradient(135deg, #A8E6CF, #3FC1C9); color: #A8E6CF; animation-delay: 1.33s; }
.header-light-21 { left: 66.2%; top: calc(10px - 2.7px + 0.2px); background: linear-gradient(135deg, #FFD93D, #FF6B6B); color: #FFD93D; animation-delay: 1.4s; }
.header-light-22 { left: 69.5%; top: calc(10px - 2.6px - 0.1px); background: linear-gradient(135deg, #4ECDC4, #44A08D); color: #4ECDC4; animation-delay: 1.47s; }
.header-light-23 { left: 72.8%; top: calc(10px - 2.2px + 0.3px); background: linear-gradient(135deg, #45B7D1, #96C93D); color: #45B7D1; animation-delay: 1.54s; }
.header-light-24 { left: 76.1%; top: calc(10px - 1.5px - 0.2px); background: linear-gradient(135deg, #FF9FF3, #F368E0); color: #FF9FF3; animation-delay: 1.61s; }
.header-light-25 { left: 79.4%; top: calc(10px - 0.6px + 0.1px); background: linear-gradient(135deg, #FFD700, #FFA500); color: #FFD700; animation-delay: 1.68s; }
.header-light-26 { left: 82.7%; top: calc(10px + 0.4px - 0.3px); background: linear-gradient(135deg, #FF6B6B, #FF4757); color: #FF6B6B; animation-delay: 1.75s; }
.header-light-27 { left: 86%; top: calc(10px + 1.2px + 0.2px); background: linear-gradient(135deg, #4ECDC4, #44A08D); color: #4ECDC4; animation-delay: 1.82s; }
.header-light-28 { left: 89.3%; top: calc(10px + 1.6px - 0.1px); background: linear-gradient(135deg, #45B7D1, #96C93D); color: #45B7D1; animation-delay: 1.89s; }
.header-light-29 { left: 92.6%; top: calc(10px + 1.7px + 0.3px); background: linear-gradient(135deg, #FFD93D, #F6C23E); color: #FFD93D; animation-delay: 1.96s; }
.header-light-30 { left: 95.9%; top: calc(10px + 1.4px - 0.2px); background: linear-gradient(135deg, #A8E6CF, #88D8A3); color: #A8E6CF; animation-delay: 2.03s; }

@media (max-width: 768px) {
    .header-garland {
        height: 25px;
    }
    
    .header-light {
        width: 8px;
        height: 8px;
    }
    
    /* Адаптируем позиционирование для меньшей высоты */
    .header-light-1 { top: calc(12.5px - 2px + 0.3px) !important; }
    .header-light-2 { top: calc(12.5px - 3px - 0.2px) !important; }
    .header-light-3 { top: calc(12.5px - 3.5px + 0.4px) !important; }
    .header-light-4 { top: calc(12.5px - 3.8px - 0.1px) !important; }
    .header-light-5 { top: calc(12.5px - 3.9px + 0.2px) !important; }
    .header-light-6 { top: calc(12.5px - 3.7px - 0.3px) !important; }
    .header-light-7 { top: calc(12.5px - 3.2px + 0.1px) !important; }
    .header-light-8 { top: calc(12.5px - 2.5px - 0.2px) !important; }
    .header-light-9 { top: calc(12.5px - 1.5px + 0.3px) !important; }
    .header-light-10 { top: calc(12.5px - 0.3px - 0.1px) !important; }
    .header-light-11 { top: calc(12.5px + 0.8px + 0.2px) !important; }
    .header-light-12 { top: calc(12.5px + 1.5px - 0.2px) !important; }
    .header-light-13 { top: calc(12.5px + 1.8px + 0.1px) !important; }
    .header-light-14 { top: calc(12.5px + 1.7px - 0.3px) !important; }
    .header-light-15 { top: calc(12.5px + 1.2px + 0.2px) !important; }
    .header-light-16 { top: calc(12.5px + 0.4px - 0.1px) !important; }
    .header-light-17 { top: calc(12.5px - 0.5px + 0.3px) !important; }
    .header-light-18 { top: calc(12.5px - 1.3px - 0.2px) !important; }
    .header-light-19 { top: calc(12.5px - 2px + 0.1px) !important; }
    .header-light-20 { top: calc(12.5px - 2.5px - 0.3px) !important; }
    .header-light-21 { top: calc(12.5px - 2.7px + 0.2px) !important; }
    .header-light-22 { top: calc(12.5px - 2.6px - 0.1px) !important; }
    .header-light-23 { top: calc(12.5px - 2.2px + 0.3px) !important; }
    .header-light-24 { top: calc(12.5px - 1.5px - 0.2px) !important; }
    .header-light-25 { top: calc(12.5px - 0.6px + 0.1px) !important; }
    .header-light-26 { top: calc(12.5px + 0.4px - 0.3px) !important; }
    .header-light-27 { top: calc(12.5px + 1.2px + 0.2px) !important; }
    .header-light-28 { top: calc(12.5px + 1.6px - 0.1px) !important; }
    .header-light-29 { top: calc(12.5px + 1.7px + 0.3px) !important; }
    .header-light-30 { top: calc(12.5px + 1.4px - 0.2px) !important; }
}

@media (max-width: 576px) {
    .header-garland {
        height: 20px;
    }
    
    .header-light {
        width: 6px;
        height: 6px;
    }
    
    .header-garland-path {
        stroke-width: 1.5;
    }
    
    /* Адаптируем позиционирование для меньшей высоты */
    .header-light-1 { top: calc(10px - 1.5px + 0.2px) !important; }
    .header-light-2 { top: calc(10px - 2.2px - 0.1px) !important; }
    .header-light-3 { top: calc(10px - 2.6px + 0.3px) !important; }
    .header-light-4 { top: calc(10px - 2.8px - 0.1px) !important; }
    .header-light-5 { top: calc(10px - 2.9px + 0.1px) !important; }
    .header-light-6 { top: calc(10px - 2.7px - 0.2px) !important; }
    .header-light-7 { top: calc(10px - 2.4px + 0.1px) !important; }
    .header-light-8 { top: calc(10px - 1.9px - 0.1px) !important; }
    .header-light-9 { top: calc(10px - 1.1px + 0.2px) !important; }
    .header-light-10 { top: calc(10px - 0.2px - 0.1px) !important; }
    .header-light-11 { top: calc(10px + 0.6px + 0.1px) !important; }
    .header-light-12 { top: calc(10px + 1.1px - 0.1px) !important; }
    .header-light-13 { top: calc(10px + 1.3px + 0.1px) !important; }
    .header-light-14 { top: calc(10px + 1.3px - 0.2px) !important; }
    .header-light-15 { top: calc(10px + 0.9px + 0.1px) !important; }
    .header-light-16 { top: calc(10px + 0.3px - 0.1px) !important; }
    .header-light-17 { top: calc(10px - 0.4px + 0.2px) !important; }
    .header-light-18 { top: calc(10px - 1px - 0.1px) !important; }
    .header-light-19 { top: calc(10px - 1.5px + 0.1px) !important; }
    .header-light-20 { top: calc(10px - 1.9px - 0.2px) !important; }
    .header-light-21 { top: calc(10px - 2px + 0.1px) !important; }
    .header-light-22 { top: calc(10px - 1.9px - 0.1px) !important; }
    .header-light-23 { top: calc(10px - 1.6px + 0.2px) !important; }
    .header-light-24 { top: calc(10px - 1.1px - 0.1px) !important; }
    .header-light-25 { top: calc(10px - 0.4px + 0.1px) !important; }
    .header-light-26 { top: calc(10px + 0.3px - 0.2px) !important; }
    .header-light-27 { top: calc(10px + 0.9px + 0.1px) !important; }
    .header-light-28 { top: calc(10px + 1.2px - 0.1px) !important; }
    .header-light-29 { top: calc(10px + 1.3px + 0.2px) !important; }
    .header-light-30 { top: calc(10px + 1px - 0.1px) !important; }
}
.header-title{
    background-color: rgba(47, 47, 47, 1);
    min-width: 230px;
    text-align: center;
}
.header-title a {
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.header-title svg{
    width: 33px;
    height: 33px;
}
.header-right{
    display: flex;
    margin-right:40px;
    gap:16px;
    align-items: center;
    color:white;
}
.free-work-access{
    border: 1px solid #a200ff;
    border-radius: 12px;
    padding: 12px 14px;
    background: #f5efff;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.header-right_balance{
    padding:8px 24px;
    display: flex;
    border-radius:16px;
    gap:8px;
    background: linear-gradient(90deg, #8000FF 0%, #3E00BA 100%);

}
.header-right_balance-p{
    font-family: 'Rubik';
    font-size: 18px;
    font-weight: 500;
    color: white;
}
.header-right_balance a{
    color: white;
}
.empty-title{
    font-family: 'Rubik';
    font-size: 16px;
    color: #A3A3A3;
    line-height: 140%;
}
.header-username{
    font-family: "Inter";
    font-size: 16px;
}
.header-username-mobile{
    font-family: "Inter";
    font-size: 16px;
    display: none;
}
.header-username-block{
    transition: 0.2s;
}
.header-username-block:hover{
    opacity: 0.5;
}
.header-right_userName svg{
    transform: translateY(-5px);
}
.header-title_text{
    font-family: 'Wadik';
    font-weight: 400;
    font-size: 22px;
    margin: 19px 8px;
    color:rgba(255, 255, 255, 1);
}

.header-title_text-purple,.footer-title_text-purple{
    color:rgba(128, 0, 255, 1);
}
footer{
    padding-top:40px;
    padding-bottom:40px;
    display: flex;
    gap:30px;
    color:white;
    background-color:rgba(47, 47, 47, 1);
    flex-direction: column;
    align-items:center ;
    justify-content: center;
}
.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.footer-logo svg{
    width: 61px;
    height: 61px;
}
.footer-menu{
    display: flex;
    list-style: none;
    gap:30px;
    font-size: 21px;
}
.footer-menu li a{
    color:white;
    font-family: "Rubik";
}
.footer-title_text{
    font-size: 40px;
    font-weight: 400;
    font-family: "Wadik";
    margin-left: 15px;
}
.footer-copyrigh{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: #b5b5b5;
    gap: 6px;
}

.footer-copyrigh p{
    font-family: "Rubik";
    font-size: 18px;
}

.main-left_menu{
    min-width: 270px;
    padding-top:32px;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    gap:16px;

}
.main-left_menu button{
    font-family: 'Montserrat';
    font-weight:500;
}
.main-left_menu-logo {
    display: none;
}
.left-menu-active{
    background: linear-gradient(90deg, #8000FF 0%, #3E00BA 100%);
    border-radius:12px;
    padding: 13.5px 42px;
    border: none;
    box-shadow: 0px 0px 43.71px 0px rgba(128, 0, 255, 0.3);
    color: white;
}
.main-left_menu-secondButton{
     background-color: rgba(244, 234, 255, 1);
     border-radius: 12px;
     cursor: pointer;
     padding: 13.5px 42px;
     border:none;
}
.app-main-container{
    display: flex;
    margin: 0 auto;
}
#btn-copy-token, #btn-copy-ref{
    background-color: transparent;
    border: none;
    cursor: pointer;
}
#btn-copy-token{
    margin-right: 7px;
}
.main-left_menu-ordinaryButton{
    transition: 0.3s;
    border: none;
    padding: 13.5px 42px;
    cursor: pointer;
    background-color: unset;
}
.main-left_menu-ordinaryButton:hover{
    background-color: rgba(244, 234, 255, 1);
    border-radius: 12px;
    cursor: pointer;
    padding: 13.5px 42px;
    border:none;
}
.main-left_menu-container{
    width:270px;
    min-height: 750px;
    border-right: 1px solid rgba(222, 222, 222, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.copy-ref-header-btn{
    background: linear-gradient(90deg, #8000FF 0%, #3E00BA 100%);
    box-shadow: 0px 0px 40px rgba(128, 0, 255, 0.3);
    height: 36px;
    width: 36px;
    border: none;
    outline: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}
.copy-ref-header-btn img{
    width: 20px;
    height: 14px;
}
.ref-banner img{
    margin-top: 8px;
    width: 100%;
    max-width: 351px;
}
.profile-ref-content{
    font-family: "Rubik";
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}
.ref-banner-text{
    color: #666666;
    line-height: 150%;
}

.ref-input-box {
    position: relative;
    cursor: pointer;
}
.copy-ref-box{
    position: absolute;
    top: 0;
    right: 0;
    height: 42px;
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ref-link{
    cursor: pointer;
}
.ref-input-box input{
    padding: 12px 46px 12px 14px;
    width: 100%;
    height: 100%;
    border: 1px solid #a200ff;
    border-radius: 12px;
    background-color: #F8F2FF;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
    color: #7D7D7D;
}
.ref-link-header{
    margin-bottom: 8px;
}
.ref-alert-rules{
    font-size: 16px;
    line-height: 160%;
    background-color: #D5D0FF;
    color: #7169C0;
    padding: 12px;
    text-align: left;
    border-radius: 8px;
}
.main-left_menu-bottom{
    padding-top:42px;
    padding-bottom:42px;
    border-top: 1px solid rgba(222, 222, 222, 1);
    display: flex;
    flex-direction: column;
    gap:16px;
    justify-content: center;
    align-items: center;

}
.main-left_menu-bottom button{
    color:rgba(120, 120, 120, 1);
    border:none;
    background:unset;
}

.main-left_menu-bottom{
    list-style:none;

}
.main-left_menu-bottom li a{
    font-family: 'Rubik';
    font-weight:400;
    color: rgba(120, 120, 120, 1);
}
.form-container{
    width:100%;
}
.open-maker-form{
    width: 100%;
    margin-top:var(--index);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#form-step-1, #form-step-2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#form-step-1.hiding, #form-step-2.hiding {
    opacity: 0;
}

.open-maker-form input.validation-error,
.open-maker-form textarea.validation-error {
    border-color: #ff3e3e !important;
    background-color: #fff5f5;
    animation: shake 0.4s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.profile-main {
    display: flex;
    height: 828px;
}
.main-right_container{
    padding:32px;
    width:100%;
    overflow: auto;
    max-width: 1140px;
    margin-bottom: 32px;
}
#header-copy-ref{
    cursor: pointer;
}
.profile-card {
    border: 8px solid rgba(251, 248, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: calc(var(--index) * 0.8);
    border-radius: 25px;
    box-shadow: 0px 4px 15px 0px rgba(128, 0, 255, 0.2);
    width: 50%;
    text-align: center;
    max-height: 535px;
}
.main-right-block {
    width: 50%;
    font-family: "Montserrat";
    min-height: 70vh;
}
.right-block-item {
}
.right-block-item h2 {
    font-size: 28px;
    font-weight: 600;
}
.right-block-item:nth-child(2) h2 {
    margin-top: 26px;
}
.right-block-item p {
    font-size: 18px;
    font-weight: 400;
    margin-top: 22px;
    line-height: 150%;
}
.main-right_container-block  {
    border: 8px solid rgba(251, 248, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: calc(var(--index) * 0.8);
    border-radius: 12px;
    box-shadow: 0px 4px 15px 0px rgba(128, 0, 255, 0.2);
    width: 50%;
    text-align: center;
}
.referral-action{
    font-family: 'Rubik';
    border: 8px solid rgba(251, 248, 255, 1);
    background: white;
    padding: calc(var(--index) * 0.8);
    border-radius: 12px;
    box-shadow: 0px 4px 15px 0px rgba(128, 0, 255, 0.2);
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.referral-action-header{
    font-size: 24px;
}
.referral-action-subheader{
    color: #616161;
    margin-top: 8px;
    font-size: 18px;
}
.referral-action-btn{
    border: 1px solid #8000FF;
    color: #000000;
    padding: 12px 36px;
    border-radius: 8px;
    background-color: #FBF8FF;
    transition: 0.2s;
}
.referral-action-btn:hover{
    transform: scale(0.95);
    opacity: 0.7;
}
.form-group{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.open-maker-form input {
    font-family: 'Rubik';
    padding: 12px 14px;
    width: 100%;
    height: auto;
    border: 1px solid #a200ff;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.open-maker-form input:focus {
    border-color: #7a00cc;
    box-shadow: 0px 0px 8px rgba(128, 0, 255, 0.2);
}

.open-maker-form input:hover {
    border-color: #8000FF;
}

.field-error input {
    border-color: #ff3e3e !important;
    background-color: #fff5f5;
}

.field-error input:focus {
    border-color: #ff3e3e !important;
    box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.1);
}

.open-maker-form textarea {
    font-family: 'Rubik';
    padding: 12px 14px;
    width: 100%;
    height: auto;
    border: 1px solid #a200ff;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
    line-height: 1.5;
    box-sizing: border-box;
}

.open-maker-form textarea:focus {
    border-color: #7a00cc;
    box-shadow: 0px 0px 8px rgba(128, 0, 255, 0.2);
}

.open-maker-form textarea:hover {
    border-color: #8000FF;
}

.field-error textarea {
    border-color: #ff3e3e !important;
    background-color: #fff5f5;
}

.field-error textarea:focus {
    border-color: #ff3e3e !important;
    box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.1);
}

.custom-select {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    cursor: pointer;
    width: 100%;
    height: 100%;
    padding-right: 45px;
    font-family: 'Rubik';
    font-size: 14px;
    border: 1px solid #a200ff;
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
    transition: 0.3s;
}

.custom-select .arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.custom-select select:focus {
    border-color: #7a00cc;
    box-shadow: 0px 0px 8px rgba(128, 0, 255, 0.2);
}

.custom-select select:hover {
    border-color: #8000FF;
}

.custom-select select:disabled {
    background-color: #f5f5f5;
    border-color: #dedede;
    color: #999;
    cursor: not-allowed;
}

.custom-select select option {
    padding: 10px;
    font-family: 'Rubik';
    background-color: white;
}

.custom-select select::-ms-expand {
    display: none;
}

.field-error .custom-select select {
    border-color: #ff3e3e !important;
    background-color: #fff5f5;
}

.field-error .custom-select select:focus {
    border-color: #ff3e3e !important;
    box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.1);
}

.maker-btn-icon{
    max-width: 26px;
    margin-top: -3px;
    margin-right: 8px;
}
input::placeholder, textarea::placeholder {
    color: #b5b5b5;
}

.block-info-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.item-profile {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.item-profile span {
    font-family: "Rubik";
    font-size: 14px;
}
.item-profile span strong {
    font-size: 16px;
    font-weight: 500;
    margin-right: 4px;
}
.line-profile {
    width: 100%;
    height: 1px;
    background: #8000FF;
    border-radius: 1px;
    margin-top: 13px;
    margin-bottom: 13px;
}

input:focus, select:focus {
    outline: none;
    border-color: #8000FF;
}

.free-generation-notice {
    padding: 10px 15px;
    background: rgba(46, 206, 122, 0.1);
    border-radius: 8px;
    border-left: 3px solid #2ECE7A;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #22af65;
    font-weight: 500;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #8000FF 0%, #3E00BA 100%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 60px 0px rgba(128, 0, 255, 0.3);
    transition: 0.2s;
    font-family: 'Montserrat';
    font-weight: 500;
}
.btns-balance-tg {
    width: 100%;
    padding: 12px;
    background: #8000FF;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-family: 'Rubik';
    font-weight: 400;
}
.btns-balance-tg:hover {
    opacity: .85;
}
.btns-balance-tg:nth-child(1) {
    margin-top: 37px;
}
.form-container a:nth-child(4) > button {
    margin-top: 15px !important;
    margin-bottom: 8px;
}
.profile-card-header, .form-container h1{
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 24px;
}
.profile-card-ref-header{
    display: flex;
    align-items: center;
    text-align: center;
}
.submit-btn:hover {
    opacity: .85;
}
.icon {
    font-size: 18px;
}
.main-right_container-1stRaw{
    display: flex;
    gap: 32px;
}
.main-right-container-1stRaw {
    max-width: 1140px;
    display: flex;
    gap: 32px;
}
.main-right_container-1stBlock_2-header{
    margin-bottom: 21px;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 24px;
}
.main-right_container-1stBlock_2-taskContainer{
    display: flex;
    flex-direction: column;
    gap: calc(var(--index) * 0.6 );
    width: 100%;
    overflow-y: auto;
}
.main-right_container-1stBlock_2-taskContainer::-webkit-scrollbar {
    width: 8px;
    background-color: #f5f5f5;
}

.main-right_container-1stBlock_2-taskContainer::-webkit-scrollbar-thumb {
    background-color: #cfcfcf;
    border-radius: 4px;
}

.main-right_container-1stBlock_2-taskContainer::-webkit-scrollbar-thumb:hover {
    background-color: #a3a3a3;
}
.open-maker-form label{
    display: none;
}
.main-right_container-2ndRaw{
    display: flex;
    margin-top:20px;
}
.main-right_container-2ndRaw-block_header{
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
}
.main-right_container-2ndRaw-block {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.finished-works-scroller{
    overflow-y: hidden;
    overflow-x: auto;
    width: 100%;
    padding-top: 24px;
}
.main-right_container-2ndRaw-block_works-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.finished-works-scroller::-webkit-scrollbar {
    height: 8px;
    background-color: #f5f5f5;
}

.finished-works-scroller::-webkit-scrollbar-thumb {
    background-color: #cfcfcf;
    border-radius: 4px;
}

.finished-works-scroller::-webkit-scrollbar-thumb:hover {
    background-color: #a3a3a3;
}

.finished-work-btn {
    display: inline-block;
    min-width: 110px;
    width: 110px;
    gap: 5px;
    transition: 0.2s;
    flex-shrink: 0;
    margin: 0 3px 10px 3px;
}
.finished-work-btn:hover{
    opacity: 0.5;
}
#main-right_container-2ndRaw-block{
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.main-right_container-1stBlock_2-task{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(128, 0, 255, 1);
    background:rgba(252, 252, 252, 1);
    box-shadow: 0px 4px 15px 0px rgba(128, 0, 255, 0.2);
    padding:14px 18px;
    cursor: pointer;
    transition: 0.2s;
}
.main-right_container-1stBlock_2-task:hover{
    opacity: 0.6;
    transform: scale(0.98);
}
.main-right_container-1stBlock_2-taskDescr{
    text-align: start;
    width: 60%;
}
.main-right_container-1stBlock_2-taskDescr-1stline,
.main-right_container-1stBlock_2-task_status,
.main-right_container-1stBlock_2-taskDescr-2ndline,
.doc-link-subname{
    font-family: 'Rubik';
}
.main-right_container-1stBlock_2-taskDescr-1stline{
    font-weight: 500;
    font-size: 16px;
}
.free-work-access{
    font-family: "Inter";
    font-size: 14px;
    color: #44008d;
}
.btn-help, .btn-prev{
    font-family: "Inter";
    font-size: 14px;
    color: #44008d;
    border: 1px solid #a200ff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 16px;
    background: #ffffff;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition:0.2s;
    cursor: pointer;
}
.btn-help:hover, .btn-prev:hover{
    opacity: 0.5;
}
.main-right_container-1stBlock_2-task_status{
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.main-right_container-1stBlock_2-taskDescr-2ndline{
    font-size: 14px;
}
.doc-link-subname{
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-size: 12px;
    color:rgba(116, 1, 243, 1);
    font-weight: 500;
    line-height: 1.2;
    max-height: 6em;
    word-wrap: break-word;
    white-space: normal;
}
@media (max-width: 1400px) {
    .main-right_container {
      padding: 20px;
    }
  }

@media (max-width: 1024px) {
    .main-right_container-2ndRaw, .main-right_container-1stRaw{
        width: unset;
    }
    .form-group{
        width: 100%;
    }
    .finished-work-btn{
        width:62px;
    }
    .submit-btn{
        font-size:14px;
    }
    .footer-title_text{
        font-size: clamp(28px, calc(var(--index)* 2.5), 44px);
    }
    footer{
        padding-top:30px;
        padding-bottom:30px;
        gap:20px;
    }
  }
@media (max-width: 883px) {
    .footer-menu {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    .main-right_container-1stRaw{
        flex-direction: column;
    }
    .main-right_container-1stRaw{
        height: unset;
        width:100%;
    }
     .main-right_container-block{
        width: 100%;
    }
    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .main-right-container-1stRaw {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    .profile-card {
        width: 450px;
    }
    .main-right-block {
        width: 100%;
    }
    .main-right-block {
        min-height: 42vh;
    }
    .item-profile:nth-child(9) span {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }
    .item-profile span {
        text-align: left;
    }
}
@media (max-width: 992px) {
    .header-title-login a {
        margin-left: 0px !important;
    }
    .header-title a {
        margin-left: 55px;
    }
.main-left_menu-container {
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgba(47, 47, 47, 1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    height: 100vh;
    width: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: hidden;
  }
  .main-left_menu-container.active {
    transform: translate(0px, -62px);
  }
  .main-left_menu-logo {
    display: none;
  }
  .burger-icon {
    position: absolute;
    top: -42px;
    left: 10px;
    z-index: 1000;
    cursor: pointer;
    width: 30px;
    height: 23px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    transition: all 0.3s ease-in-out;
  }
  .burger-icon > active {
    top: 35px;
  }
  .burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: rgba(128, 0, 255, 1);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
  }


  .burger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

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

  .burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .main-left_menu-container{
    padding:unset;
  }
  .header-right_balance{
    font-size:16px;
  }
  .main-left_menu-ordinaryButton{
    color: white;
  }
  .header-right_balance-p{
    font-size: 16px;
  }
  .header-title{
    min-width: 268px;
  }
  .header-right_userName p{
    font-family: 'Inter';
    font-size:16px;
  }
  .header-right_balance{
    padding:5px 11px;
  }
  footer{
    padding-top:20px;
    padding-bottom:20px;
  }
  .main-left_menu {
    padding-top: 32px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
  }
  .main-left_menu-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-top: 20px;
  }
  .main-left_menu-logo svg {
    width: 40px;
    height: 40px;
  }
  .main-left_menu-logo p {
    font-family: 'Wadik';
    font-weight: 400;
    font-size: 22px;
    margin-left: 8px;
    color: white;
  }
}
@media (max-width: 576px) {
    .header-username {
        display: none;
    }
    .header-username-mobile {
        display: inline !important;
    }
    .referral-action{
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .referral-action-header{
        font-size: 20px;
    }
    .referral-action-subheader{
        font-size: 16px;
    }
    .referral-action-btn{
        padding: 8px 28px;
    }
    .app-main-container{
        height:unset;
    }
    .main-right_container{
        height: 100%;
    }
    .header-title{
        min-width: 143px;
    }
    .header-right_balance svg{
        display: none;
    }
    .main-left_menu-container{
        width: 100%;
        height: 100vh;
        border-right: unset;
    }
    .main-left_menu {
        width: 100%;
        align-items: center;
        padding-top: 10px;
        max-height: 70vh;
    }
    .main-left_menu-logo {
        margin-bottom: 30px;
    }
    .main-left_menu-bottom {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    .main-left_menu a {
        width: 80%;
    }
    .main-left_menu-ordinaryButton {
        width: 100%;
        font-size: 16px;
    }
    .header-title_text{
        font-size: 22px;
    }
    .footer-copyrigh p{
        color: #888888;
        font-size: 16px;
    }
    .footer-menu li a {
        font-size: 16px;
    }
    .footer-copyrigh {
        margin-top: 3px;
    }
    .footer-title_text {
        font-size: 26px;
    }
    .footer-logo svg {
        width: 43px;
        height: 48px;
    }
    .profile-card {
        width: 100%;
    }
    .profile-card-header, .form-container h1 {
        font-size: 20px
    }
    .item-profile span {
        font-size: 13px;
    }
    .item-profile span strong {
        font-size: 14px;
    }
    .item-profile svg {
        width: 28px;
        height: 28px;
    }
    .item-profile:nth-child(9) svg {
        width: 18px;
        height: 18px;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }
    .item-profile button {
        margin-right: 5px !important;
    }
    .btns-balance-tg {
        font-size: 16px;
    }
    .right-block-item h2 {
        font-size: 22px;
        text-align: center;
    }
    .right-block-item p {
        font-size: 14px;
        margin-top: 10px;
        text-align: center;
    }
    .right-block-item:nth-child(2) h2 {
        margin-top: 20px;
    }
    .main-right-block {
        min-height: 33vh;
    }
    .header-username {
        font-size: 14px;
    }
    .header-title_text {
        font-size: 20px;
    }
    .header-title svg {
        width: 30px;
        height: 30px;
    }
}
@media (max-width: 440px) {
    .main-right_container-1stBlock_2-taskDescr{
        width: 50%;
    }
    .header-app .header-title_text {
        display: none;
    }
    .header-title svg {
        margin: 16px 0px 16px 0px;
    }
    .header-logo-block {
        display: block !important;
    }
}
@media (max-width: 401px) {
    .header-logo-block {
        font-size: 20px !important;
    }
    .header-right {
        margin-right: 15px;
    }
    .right-block-item:nth-child(2) h2 {
        margin-top: 12px;
    }
}
@media (max-width: 347px) {
    .header-right {
        margin-right: 10px;
    }
}
@media (max-width: 340px) {
    .profile-card {
        width: 93%;
    }
    .header-title_text {
        font-size: 14px;
    }
    .header-right_userName svg {
        transform: translateY(-3px);
    }
}
/* Стили для прелоадера */
.loader {
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Bounce animation for copy actions */
@keyframes bounceClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-click {
    animation: bounceClick 0.3s ease-in-out;
}

/* Удаляем анимацию для body */
body {
    opacity: 1;
}

/* Анимация плавного появления для элементов main */
main {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Стили для желтого прелоадера (task-data) */
.loader-yellow {
    width: 16px;
    height: 16px;
    border: 2px solid #FFD700;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

/* Стили для зеленого прелоадера (task-status) */
.loader-green {
    width: 16px;
    height: 16px;
    border: 2px solid #4CAF50;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

/* Анимация прыгания */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-8px); }
}

.bounce-animation {
    animation: bounce 0.8s ease-in-out;
}

.ai-networks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.ai-network-tile {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 200px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0px 4px 15px 0px rgba(128, 0, 255, 0.2);
    border: 1px solid rgba(222, 222, 222, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.ai-network-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px 0px rgba(128, 0, 255, 0.3);
}

.ai-network-title {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 18px;
    color: rgba(128, 0, 255, 1);
    margin-bottom: 8px;
}

.ai-network-description {
    font-family: 'Rubik';
    font-size: 14px;
    color: rgba(120, 120, 120, 1);
    line-height: 1.4;
}

@media (min-width:992px) and (max-width: 1100px){
    .main-right_container-1stBlock_2-taskDescr{
        width:50%;
    }
}

@media (max-width: 992px) {
    .ai-network-tile {
        flex: 1 1 calc(50% - 16px);
    }
    .header-right{
        margin-right: 20px;
    }
}

@media (max-width: 576px) {
    .ai-network-tile {
        flex: 1 1 100%;
    }
    .main-right_container{
        padding: 12px;
    }
    .main-right_container-1stBlock_2-header, .main-right_container-2ndRaw-block_header {
        font-size: 20px;
        width: 100%;
    }
    .empty-title{
        font-size: 14px;
        width: 100%;
    }
}

/* Стили для выпадающего меню */
.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: rgba(47, 47, 47, 1);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.dropdown-menu li {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.dropdown-menu li:hover {
    background-color: rgba(128, 0, 255, 0.2);
}

.dropdown-menu a {
    color: white;
    font-family: 'Rubik';
    font-size: 14px;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(128, 0, 255, 0.3);
}

/* Стили для ошибок валидации */
.error-message {
    color: #ff3e3e;
    font-family: 'Rubik';
    font-size: 12px;
    margin-top: 4px;
    padding-left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.error-message::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff3e3e'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
    background-size: contain;
}

.field-error input, .field-error select {
    border-color: #ff3e3e !important;
    background-color: #fff5f5;
}

.field-error input:focus, .field-error select:focus {
    border-color: #ff3e3e !important;
    box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.1);
}

/* Анимация появления ошибки */
@keyframes errorAppear {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    animation: errorAppear 0.2s ease-out forwards;
}

/* Стили для страницы цен */
.prices-container {
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prices-container h1 {
    font-family: 'Montserrat';
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    color: #333;
}

/* Стили для выпадающих блоков */
.prices-dropdown-container {
    width: 80%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prices-dropdown {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 15px 0px rgba(128, 0, 255, 0.2);
    border: 1px solid rgba(222, 222, 222, 1);
    transition: box-shadow 0.3s ease;
}

.prices-dropdown:hover {
    box-shadow: 0px 8px 25px 0px rgba(128, 0, 255, 0.3);
}

.prices-dropdown-header {
    background: linear-gradient(90deg, #8000FF 0%, #3E00BA 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.prices-dropdown-header h2 {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.prices-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.prices-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.prices-dropdown.active .prices-dropdown-content {
    max-height: 500px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rubik';
}

.prices-table th {
    background: #F4EAFF;
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
    text-align: left;
}

.prices-table tr:nth-child(even) {
    background-color: #F9F5FF;
}

.prices-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #DEDEDE;
}

.prices-table td:last-child {
    font-weight: 500;
}

.prices-empty {
    text-align: center;
    padding: 30px;
    font-family: 'Rubik';
    color: #666;
    border-radius: 12px;
    background-color: #F4EAFF;
}

.btn-tech-works {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Rubik";
    font-size: 16px !important;
    color: white;
    background: linear-gradient(90deg, #8000FF 0%, #3E00BA 100%);
    width: 169px !important;
    height: 43px;
    border-radius: 9px;
    margin-top: 18px;
    box-shadow: 0px 0px 21px 5px #8000FF4D;
}

.full-width {
    width: 100% !important;
}

.tech-works-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 139px;
    margin-bottom: 139px;
    text-align: center;
}

.text-tech-works {
    color: #919191;
    font-size: 14px;
    font-family: "Montserrat";
    font-weight: 500;
    margin-top: 10px;
    line-height: 22px;
}

.tech-works-payment > .tech-works-block {
    margin-top: 52px;
    margin-bottom: 25px;
}
.tech-works-payment a{
    color: white;
    margin-top: 20px;
}
.tech-works-payment h2 {
    margin-block-start: 0px;
}
.tech-works-payment > .tech-works-block > .text-tech-works {
    margin-top: 10px;
}
.title-tech-works {
    font-family: "Montserrat";
    font-size: 22px;
    font-weight: 500;
    color: black;
    line-height: 28px;
}

.tech-works-auth {
    width: 577px;
}
.tech-works-auth h2 {
    margin-block-start: 0px;
    font-size: 22px;
    margin-block-end: 0px;
}

.tech-works-auth > .tech-works-block {
    margin-top: 52px;
    margin-bottom: 52px;
}

.tech-works-auth > .tech-works-block > .text-tech-works {
    margin-top: 16px;
}

.tech-works-payment a {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .prices-dropdown-container {
        width: 95%;
    }
    
    .prices-table th,
    .prices-table td {
        padding: 12px 10px;
    }
    
    .prices-dropdown-header h2 {
        font-size: 16px;
    }
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 450px;
    max-width: 80%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    font-family: 'Rubik';
    font-size: 20px;
    margin-bottom: 15px;
}

.modal-content ol {
    padding-left: 20px;
    line-height: 1.6;
    font-family: 'Rubik';
    margin-bottom: 20px;
}

.modal-content a {
    color: #A47DFF;
    text-decoration: none;
}

@media (max-width: 576px) {
    .modal-content {
        width: 90%;
        margin: 30% auto;
        padding: 15px;
    }
    
    .modal-content h2 {
        font-size: 18px;
    }
    
    .modal-content ol {
        font-size: 14px;
    }
}