@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Stack+Sans+Text:wght@200..700&display=swap');

:root {
    --depth: 2px;
}

html, body {
    overflow: hidden;
}

body {
    background: rgb(44, 44, 44);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    transition: background 0.6s ease-out;
    padding-right: 0;
}

.content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.main {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-direction: column;
}

.wrapper {
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inner {
    height: 300px;
    width: 300px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 0, 0, 0.3);

    transition: transform 1.5s ease-out;
}

.wrapper:hover {
    transform: scale(1.03);
}

.center-circle {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
}

.arrow {
    z-index: 2000;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 50px solid rgb(255, 82, 82);
    position: relative;
    top: 20px;
}

.buttons {
    display: flex;
    flex-direction: column;
}

.wheel-control {
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
}

.btn {
    background-color: rgba(255, 255, 255, 0.3);
    height: 40px;
    width: 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 var(--depth) 0 rgba(200, 200, 200, 0.4),
                0 0 5px rgba(0, 0, 0, 0.3),
                inset 0 0 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.08s ease,
                box-shadow 0.08s ease,
                background-color 0.3s ease,
                color 0.3s ease;
    font-family: 'Stack Sans Text', sans-serif;
    color: rgba(0, 0, 0, 0.15);
    font-size: 30px;
    user-select: none;
    display: flex;
    text-align: center;
    justify-content: center;
    stroke-width: 3;
}

.btn svg {
    stroke-width: 2.25;
}

.min-subtract {
    height: 30px;
    width: 30px;
}

.max-add {
    height: 30px;
    width: 30px;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.btn:active {
    transform: translateY(var(--depth));
    box-shadow: 0 0 0 grey;
}

.subtract:active {
    background-color: rgb(255, 128, 128);
    color: rgb(196, 100, 100);
}

.min-subtract:active {
    background-color: rgb(255, 128, 128);
    color: rgb(196, 100, 100);
}

.add:active {
    background-color: rgb(124, 194, 124);
    color: rgb(103, 161, 103);
}

.max-add:active {
    background-color: rgb(124, 194, 124);
    color: rgb(103, 161, 103);
}

.amount {
    background-color: rgba(255, 255, 255, 0.25);
    height: 40px;
    width: 40px;
    border: none;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.1s ease,
                color 0.1s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3),
                inset 0 0 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 25px;
    font-family: 'Stack Sans Text', sans-serif;
    color: rgba(0, 0, 0, 0.2);
}

.amount:focus {
    outline: none;
    border: none;
}

.log-wrapper {
    height: 225px;
    width: 150px;
    background: white;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3),
                inset 0 0 7px rgba(0, 0, 0, 0.3);
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.log-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.log-title {
    text-align: center;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Stack Sans Text', sans-serif;
    font-size: 15px;
    margin-bottom: 2px;
}

.log-header svg {
    stroke-width: 2;
    position: absolute;
    height: 20px;
    top: 4px;
    right: 4px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.5s ease,
                opacity 0.3s ease;
    cursor: pointer;
}

.log-header svg:hover {
    opacity: 0.8;
}

.log-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
}

.log-inner div {
    transition: opacity 0.5s ease;
}

.spin {
    display: flex;
    height: 15px;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.bullet-color {
    height: 15px;
    width: 15px;
    border-radius: 50%;
}

.color-code {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Stack Sans Text', sans-serif;
    font-size: 12px;
    user-select: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.toggle-static-background {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 26px;
    transition: 0.3s;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.6),
                0 0 5px rgba(0, 0, 0, 0.3);
}

.slider::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: 0.3s;
}

.toggle input:checked + .slider {
    background-color: rgba(0, 0, 0, 0.2);
}

.toggle input:checked + .slider::before {
    transform: translateX(18px);
}

.toggle-text {
    font-family: 'Stack Sans Text';
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
}

.toast {
    position: absolute;
    bottom: -50px;
    right: 20px;
    height: 50px;
    display: flex;
    border-radius: 10px;
    padding-right: 10px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.4),
                0 0 5px rgba(0, 0, 0, 0.4);
    transition: opacity 0.2s ease,
                transform 0.5s ease;
}

.toast svg {
    opacity: 0.8;
    scale: 0.5;
    stroke-width: 2;
}

.toast h4 {
    font-family: 'Stack Sans Text', sans-serif;
    font-size: 13px;
    opacity: 0.8;
}

.copy-notification {
    background-color: rgba(255, 255, 255, 0.4);
}

.warning-toast {
    background-color: rgba(255, 68, 68, 0.48);
}

.adv-btn svg {
    position: absolute;
    top: 5px;
    left: 5px;
    height: 30px;
    width: 30px;
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 0.3s ease,
                transform 0.15s ease;
    cursor: pointer;
}

.adv-btn svg:hover {
    opacity: 0.8;
}

.adv-btn svg:active {
    transform: scale(0.9);
}

.adv-menu {
    position: absolute;
    top: 50px;
    left: 10px;
    width: 230px;
    padding: 10px 12px;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);

    box-shadow:
        0 0 12px rgba(0, 0, 0, 0.6),
        inset 0 0 6px rgba(0, 0, 0, 0.4);

    font-family: 'Stack Sans Text', sans-serif;
    transform: scale(0.95) translateY(-5px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    opacity: 0;
    display: none;
}

.adv-menu h4 {
    text-align: center;
    margin: 4px 0 10px;
    font-size: 25px;
    letter-spacing: 1px;
}

.setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 15px;
}

.setting h5 {
    margin: 10px;
}

.setting-input {
    height: 24px;
    width: 48px;
    border-radius: 8px;
    border: none;
    outline: none;
    text-align: center;

    font-family: inherit;
    font-size: 14px;

    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 4px rgba(0, 0, 0, 0.4),
        inset 0 0 3px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: rgba(225, 225, 225, 0.6);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}