/* ===== WRAPPER ===== */
.ct-8f2f83d2-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

/* ===== DESKTOP CIRCULAR LAYOUT ===== */
.ct-8f2f83d2-desktop {
    display: flex;
}
.ct-8f2f83d2-mobile {
    display: none;
}

.ct-8f2f83d2-circle {
    position: relative;
    width: 500px;
    height: 500px;
}

.ct-8f2f83d2-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px dashed #E0E0E0;
    pointer-events: none;
}

.ct-8f2f83d2-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.ct-8f2f83d2-center-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.ct-8f2f83d2-center-img.ct-8f2f83d2-masked {
    border-radius: 0;
}

.ct-8f2f83d2-item {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0;
}

.ct-8f2f83d2-node {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #6C63FF;
    border: 3px solid #FFFFFF;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-8f2f83d2-item:hover .ct-8f2f83d2-node {
    transform: scale(1.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.ct-8f2f83d2-label {
    position: absolute;
    background-color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    max-width: 200px;
    white-space: normal;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

/* Position labels based on which side of the circle */
.ct-8f2f83d2-label--right {
    left: calc(100% + 12px);
}

.ct-8f2f83d2-label--left {
    right: calc(100% + 12px);
    text-align: right;
}

.ct-8f2f83d2-label--top.ct-8f2f83d2-label--right,
.ct-8f2f83d2-label--top.ct-8f2f83d2-label--left {
    bottom: 50%;
}

.ct-8f2f83d2-label--bottom.ct-8f2f83d2-label--right,
.ct-8f2f83d2-label--bottom.ct-8f2f83d2-label--left {
    top: 50%;
}

.ct-8f2f83d2-label-title {
    font-size: 14px;
    font-weight: 700;
    color: #2D2D2D;
    line-height: 1.3;
}

.ct-8f2f83d2-label-desc {
    font-size: 12px;
    font-weight: 400;
    color: #777777;
    line-height: 1.4;
}

/* ===== MOBILE VERTICAL TIMELINE LAYOUT ===== */
.ct-8f2f83d2-mobile-header {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.ct-8f2f83d2-mobile-timeline {
    position: relative;
    padding-left: 40px;
    width: 100%;
    max-width: 400px;
}

.ct-8f2f83d2-mobile-line {
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #E0E0E0;
    border-radius: 2px;
}

.ct-8f2f83d2-mobile-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 32px;
}

.ct-8f2f83d2-mobile-item--last {
    padding-bottom: 0;
}

.ct-8f2f83d2-mobile-node-wrap {
    position: absolute;
    left: -40px;
    top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-8f2f83d2-mobile-label {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
}

/* ===== TABLET BREAKPOINT ===== */
@media (max-width: 1024px) and (min-width: 768px) {
    .ct-8f2f83d2-wrapper {
        padding: 60px 20px;
    }
    .ct-8f2f83d2-circle {
        width: 400px;
        height: 400px;
    }
    .ct-8f2f83d2-label {
        min-width: 110px;
        max-width: 160px;
        padding: 8px 12px;
    }
    .ct-8f2f83d2-label-title {
        font-size: 13px;
    }
    .ct-8f2f83d2-label-desc {
        font-size: 11px;
    }
    .ct-8f2f83d2-center-img {
        width: 70px;
        height: 70px;
    }
}

/* ===== MOBILE BREAKPOINT ===== */
@media (max-width: 767px) {
    .ct-8f2f83d2-desktop {
        display: none !important;
    }
    .ct-8f2f83d2-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }
    .ct-8f2f83d2-mobile-label {
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    .ct-8f2f83d2-center-img {
        width: 70px;
        height: 70px;
    }
    .ct-8f2f83d2-label-title {
        font-size: 14px;
    }
    .ct-8f2f83d2-label-desc {
        font-size: 12px;
    }
    .ct-8f2f83d2-node {
        width: 24px;
        height: 24px;
    }
}
