.control {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control__auto-rotate {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.auto-rotate__text {
    font-size: 16px;
    color: #050d33;
    font-weight: 500;
}

.control__divider {
    width: 100%;
    height: 1px;
    background-color: #5c5e661a;
    margin: 8px 0;
    border: none;
}

.control__buttons {
    display: flex;
    flex-direction: column;
}

.buttons__block {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.button {
    color: #050d33;
    font-size: 12px;
    margin: 2px;
    display: flex;
    width: 84px;
    height: 68px;
    padding: 34px 8px 10px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    background-color: rgba(92, 94, 102, 0.06);
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center 30%;
}

.button.tilt-forward {
    background-image: url('./tilt-forward.svg?inline');
}
.button.tilt-back {
    background-image: url('./tilt-back.svg?inline');
}
.button.rotate-left {
    background-image: url('./rotate-left.svg?inline');
}
.button.rotate-right {
    background-image: url('./rotate-right.svg?inline');
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: '';
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--interact-action);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--interact-action);
}

input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}
