/* Стили для кнопки */
body {background-color: #FFFFFF!important;}
.
.sticky-btn-bottom {
    position: fixed;
    bottom: 20px;
    /*right: 20px;*/
    z-index: 1000;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%; /* Скругление для круглой кнопки */
    cursor: pointer;
    font-size: 16px;
}

.sticky-btn-bottom.scrolled {
    display: none;
}

table td {font-size: 20px;line-height: 25px; color: #435065;}
table th {font-weight: bold; font-size: 20px;line-height: 25px;}
table {margin-bottom: 20px;}
.person-lesson h2,.person-lesson h3,.person-lesson h4 {padding-top: 20px;}
.form-control { border: 1px solid #cdcdcd!important;}
/*ADD NEW MATERIAL*/
.material-form-wr {}

.after-post-new_title_wr {padding: 30px 20px;}
.onboarding-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.onboarding-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #2C374A;
}

.onboarding-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='20' rx='10' fill='%234680C2'/%3E%3Crect x='5' y='5' width='10' height='10' rx='5' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Альтернативный вариант с inline SVG */
.onboarding-list-alt li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-list-alt li::after {
    content: '?';
    position: absolute;
    left: 7px;
    top: 2px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}
.add-service-main {font-family: 'Inter'; font-size: 16px;}
.after-post-new {padding-left: 15px;}
.add-service-left {border: 1px solid #4680C2; border-radius: 16px; padding: 30px 15px; font-family: 'Inter';font-size: 16px;}
.add-service-left ul, .add-service-left p {margin-bottom: 0; margin-top: 10px;}
.add-service-left_title {font-weight: 600; font-size: 22px; line-height: 27px; color: #2C374A;}
.add-service-left_subtitle {padding: 20px 0 0;}
.add-service-left p, .add-service-left li {font-weight: 400; font-size: 16px; line-height: 110%;}
/*person progressbar*/

.person-progress-stepper {
    border: 1px solid #4680C2;  border-radius: 16px;
    padding: 20px 30px;
    font-family: Inter;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.progress-text {

    font-size: 16px;
    color: var(--Color-HR-bright, #4680C2);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    width: 31%;
}
.progress-text span {color: #2c3e50;}

.progress-text u {
    text-decoration: underline;
    cursor: pointer;
    color: #495057;
}

.stepper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 69%;
}
.stepper-container::before {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #28a745, #28a745);
    z-index: 0;
}
/*
.step-connector {
    flex: 1;
    height: 3px;
    background-color: #28a745;
    margin: 0 5px;
    position: relative;
    z-index: 1;
}
.step-connector.incomplete {
    background-color: #28a745;
    opacity: 0.5;
}
*/
.step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-decoration: none;
}

.step.completed {
    background-color: #28a745;
    color: white;
    border: 2px solid #28a745;
}

.step.active {
    background-color: #28a745;
    color: white;
    border: 2px solid #28a745;
}

.step.pending {
    background-color: white;
    color: #6c757d;
    border: 2px solid #28a745;
}





@media (max-width: 768px) {
    .step {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .person-progress-stepper {
        padding: 15px;
    }
}


/* --- TOOLTIP STYLING (Matches the screenshot) --- */
.step::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50px; /* Positions it below the circle */
    left: 50%;
    transform: translateX(-50%);

    /* Visuals */
    color: rgba(44, 55, 74, 0.80);
    padding: 5px 15px;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    white-space: nowrap;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.05); !* Slight shadow *!*/

    /* Visibility */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 10;

    border-radius: 20px;
    border: 1px solid rgba(44, 55, 74, 0.80);
    background: #FFF;
}

/* Show tooltip on hover */
.step:hover::after {
    opacity: 1;
    visibility: visible;
    top: 45px; /* Slight slide-up animation */
}
