.modules-btn_profile {
    display: none;
}

.progress-bar__container {
    width: 100%;
    height: 24px;
    display: flex;
    flex-direction: row;
    overflow: visible;
}

.progress-bar-profile {
    height: 24px;
    background-color: #20CAD3;
    ;
    border-radius: 5px;
    width: 0;
    transition: width 0.3s ease;
    z-index: 1;
    line-height: var(--Font-Line-height-display, 68px);
}

.progress-bar__decor {
    position: relative;
    top: -12px;
    width: 12px;
    height: 12px;
    background-color: #20CAD3;
    ;
    border-radius: 2px;
    z-index: 2;
    margin: 0 4px;
    flex-shrink: 0;
}

.progress-bar__empty {
    width: 100%;
    height: 24px;
    background-color: #D1D1E0;
    border-radius: 4px;
    z-index: 0;
}

.plugins-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    padding: 0 32px;
    margin-top: 62px;
}

.plugin {
    display: flex;
    height: 338px;
    padding: 36px 32px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 40px;
    background: #E9F1F1;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    flex-basis: 0;
}

.plugin-content {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.plugin-title {
    color: var(--controls-text-icon-primary-default, #242429);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    /* 125% */
}

.plugin-description {
    color: var(--controls-text-icon-primary-default, #242429);
    font-size: var(--Font-Size-action, 17px);
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-action, 20px);
    /* 117.647% */
}

.lessons-count {
    color: var(--text-icon-secondary, #8F8FA3);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}

.progress-description {
    font-size: 14px;
    opacity: 0.9;
}

.plugin-button {
    display: flex;
    width: 135px;
    height: 52px;
    padding: var(--SPx1, 4px) var(--SPx6, 24px);
    justify-content: center;
    align-items: center;
    gap: var(--SPx2, 8px);
    border-radius: var(--BRx10, 40px);
    background: #FF5CF0;
    border: none;
    margin-top: 31px;
    color: #000;
    text-align: center;
    font-family: var(--Font-family, "Inter") !important;
    font-size: var(--Font-Size-action, 17px);
    font-weight: 550;
    line-height: var(--Font-Line-height-action, 20px);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 5;
}

.plugin-button:hover {
    background: #FF2FEC;
}

.plugin-img_desktop {
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(21.563rem, 18.325rem + 13.18vw, 30.188rem);
    object-fit: cover;
    object-position: center;
}

.plugin-img_mobile {
    display: none;
}

.progress-container-profile {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3px;
}

.progress-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.progress-count {
    color: var(--controls-text-icon-primary-default, #242429);
    font-size: var(--Font-Size-action, 17px);
    font-weight: var(--Font-Font-Weight-regular, 450);
    line-height: var(--Font-Line-height-action, 20px);
    /* 117.647% */
    align-self: end;
    margin-bottom: 12px;
}

.progress-percentage {
    color: #20CAD3;
    text-align: right;
    font-size: clamp(3rem, 2.437rem + 2.29vw, 4.5rem);
    font-weight: 400;
    line-height: var(--Font-Line-height-display, 68px);
    /* 94.444% */
    letter-spacing: -3px;
    margin-bottom: 5px;
}

.userInfo__content {
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.userInfo__content_active {
    display: flex;
}

.userInfo__name {
    overflow: hidden;
    color: var(--controls-text-icon-primary-default, #242429);
    font-feature-settings: 'liga'off, 'clig'off;
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    /* 125% */
}

.userInfo__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0;
    padding-left: 0;
}

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

.userInfo__description {
    overflow: hidden;
    color: var(--text-icon-secondary, #8F8FA3);
    font-feature-settings: 'liga'off, 'clig'off;
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 117.647% */
}

.userInfo__img {
    width: 20px;
    height: 20px;
}


/* Стили окна анкеты */
.survey-overlay {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    display: none;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    width: fit-content;
}

.survey-panel {
    display: flex;
    position: relative;
    width: 471px;
    height: 100vh;
    padding: 48px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex-shrink: 0;
    border-radius: 24px 0 0 24px;
    background: #FFF;
    box-shadow: 0 4px 16px 0 rgba(23, 23, 28, 0.10);
    animation: slideIn 0.3s ease;
    overflow-y: auto;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.survey-header {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.info-icon {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.tooltip-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    width: 344px;
}

.tooltip-arrow{
    width: 20px;
    height: 7px;
    display: flex;  
}

.tooltip-content{
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    border-radius: var(--CRx3, 12px);
    background: #46464D;
    border: none;
    margin-top: -1px;
}

.tooltip-text{
    color: var(--tooltip-content, #F6F6F9);
    font-family: var(--Font-family, "ALS Hauss") !important;
    font-size: var(--Font-Size-description, 13px);
    font-weight: var(--Font-Font-Weight-regular, 400);
    line-height: var(--Font-Line-height-description, 17px); 
    margin: 0;
}

.info-icon:hover .tooltip-container {
    display: inline-flex;
}

.survey-data--contant {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: -16px;
}

.survey-data--text {
    margin: 0;
    color: var(--controls-text-icon-primary-default, #242429);
    font-family: Inter;
    font-size: 15px;
    font-weight: var(--Font-Font-Weight-regular, 400);
    line-height: var(--Font-Line-height-action, 20px); 
}

.survey-data--icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.survey-title {
    font-size: 24px;
    font-weight: 600;
    color: #0E1015;
    margin: 0;
}

.survey-close {
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: var(--SPx1, 4px) 14px;
    position: absolute;
    right: 24px;
    top: 24px;
    width: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.survey-close:hover {
    color: #333;
}

.survey-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    border-radius: var(--Input-Total-radius, 20px);
    border: 1px solid var(--filledArea-stroke-defaultOff, #F6F6F9);
    background: var(--filledArea-bg-default, #F6F6F9);
}

.form-input:focus {
    outline: none;
    border-color: #8F8FA3;
}

.survey-footer {
    width: 100%;
}

.date-picker-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.save-button {
    display: flex;
    min-height: 52px;
    padding: var(--SPx1, 4px) var(--SPx6, 24px);
    justify-content: center;
    align-items: center;
    gap: var(--SPx2, 8px);
    flex: 1 0 0;
    border: none;
    border-radius: var(--BRx10, 40px);
    background: #FF5CF0;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    color: #000;
    text-align: center;
    font-feature-settings: 'liga'off, 'clig'off;
    font-size: var(--Font-Size-action, 17px);
    font-style: normal;
    font-weight: 550;
    line-height: var(--Font-Line-height-action, 20px);
}

.save-button:hover {
    background: #FF2FEC;
}

.edit-profile__button {
    position: absolute;
    right: 32px;
    top: 32px;
    border: none;
    background-color: transparent;
}

/* Адаптивность */
@media (max-width: 768px) {
    .plugins-container {
        flex-direction: column;
        margin-bottom: 31px;
    }

    .plugin {
        height: auto;
        min-height: 280px;
        padding: 32px;
    }

    .progress-plugin {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 520px) {
    .survey-overlay {
        background: rgba(0, 0, 0, 0.24);
        backdrop-filter: blur(12px);
    }

    .modules-btn_profile {
        width: min-content;
        display: inline-flex;
        height: 48px;
        padding: 21px 34px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        border-radius: 100px;
        background: rgba(71, 210, 224, 0.50);
        color: var(--controls-text-icon-primary-default, #242429);
        font-feature-settings: 'liga'off, 'clig'off;
        font-family: Inter;
        font-size: var(--Font-Size-action, 17px);
        font-style: normal;
        font-weight: var(--Font-Font-Weight-regular, 400);
        line-height: var(--Font-Line-height-action, 20px);
        /* 117.647% */
    }
}

@media (max-width: 520px) {
    .userInfo__list {
        margin-top: 80px;
    }

    .plugins-container {
        padding: 32px 16px 31px 16px;
        margin-top: 0;
    }

    .plugin {
        padding: 24px;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto;
    }

    .plugin_userInfo {
        flex-grow: 1;
    }

    .plugin-img_desktop {
        display: none;
    }

    .plugin-img_mobile {
        display: block;
        margin-left: -19px;
        margin-right: -13px;
        margin-bottom: -24px;
        max-width: 110%;
    }

    .survey-panel {
        border-radius: 32px 32px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 32px;
        height: min-content;
        width: 100%;
    }

    .survey-content {
        gap: 16px;
    }

    .edit-profile__button {
        right: 24px;
        top: 24px;
    }
}

/* Стили для уведомления об успехе */
.snackbar-success {
  position: fixed;
  top: 110px;
  right: 20px;
  display: flex;
  width: 252px;
  padding: 12px 12px 12px 16px;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #46464D;
  z-index: 10000;
  animation: slideIn 0.3s ease-out;
}

.snackbar-icon {
  display: flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.snackbar-close {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.snackbar-text {
  color: #F6F6F9;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: var(--Font-family, "ALS Hauss VF");
  font-size: var(--Font-Size-body, 15px);
  font-style: normal;
  font-weight: var(--Font-Font-Weight-regular, 450);
  line-height: var(--Font-Line-height-body, 20px);
  margin: 0;
  flex: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}