body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f5f8;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.layout-helper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    width: 100%;
    margin: auto;
    padding: 1rem;
    gap: 3rem;
}

.main-title {
    font-size: 18px;
    font-weight: bold;
    margin: 1rem;
}

.progress-wrapper {
    width: 160px;
    height: 160px;
    margin: 20px;
    position: relative;
}

.progress-wrapper.animated {
    animation: spin 3s linear infinite;
}

#progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

circle.bg {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 14;
    stroke-linecap: round;
}

circle.progress {
    fill: none;
    stroke: #007BFF;
    stroke-width: 14;
    stroke-dasharray: 100.2;
    stroke-dashoffset: 100.2;
    stroke-linecap: butt;
    transition: stroke-dashoffset 0.4s ease;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

input[type="number"] {
    width: 50px;
    height: 26px;
    border: 1px solid black;
    border-radius: 26px;
    background: white;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch {
    position: relative;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.slider {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 26px;
    transition: background-color 0.2s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .slider {
    background-color: #007BFF;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(24px);
}

@media (orientation: landscape) {
    .layout-helper {
        flex-direction: row;
        max-width: 600px;
        justify-content: center;
        align-items: center;
        gap:3rem;
    }

    .controls {
        gap: 1.25rem;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
