body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

.progress-section{
    width: 320px;
    min-height: 568px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 44px 40px 56px;
}

.progress-visual,
#chart-part{
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.progress-section.visual-hidden .progress-visual,
.progress-section.visual-hidden #chart-part{
    opacity: 0;
    visibility: hidden;
}

.progress-section.root-hidden{
    display: none;
}

.background-circle{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
}

@property --angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.outer-circle {
    --angle: 0deg;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        rgba(0, 91, 255) 0deg var(--angle),
        rgba(239, 243, 246) var(--angle) 360deg
    );
    transition: --angle 0.6s ease;
}

.inner-circle{
    background-color: rgba(255, 255, 255);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    position: absolute;
}

.progress-controls,
#api-part{

    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    row-gap: 14px;
}

.input-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 18px;
    width: max-content;
}

.box-text{
    font-size: 16px;
    color: #000;
    display: flex;
    align-items: center;
    font-weight: 500;
    line-height: 1;
}

.input-box input {
    width: 60px;
    height: 36px;
    border-radius: 20px;
    border: 1px solid #000;
    text-align: center;
    font-size: 16px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input-box input:focus {
    border-color: rgba(0, 91, 255, 0.7);
}

.input-box button {
    width: 60px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: #e5e7eb;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease;
}

.input-box button::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    background: white;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.input-box button.active {
    background: rgba(0, 91, 255, 0.9);
}

.input-box button.active::after {
    transform: translateX(24px);
}

@media (min-width: 568px) {
    .progress-section {
        width: 568px;
        min-height: 320px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        column-gap: 48px;
        padding: 40px 48px;
    }

    .progress-visual,
    #chart-part {
        width: 50%;
        min-height: 100%;
    }

    .progress-controls,
    #api-part {
        width: 50%;
        justify-content: center;
    }
}
