@import "colors.css";

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;

    height: 100%;
}

body {

    overflow-x: hidden;
    overflow-y: scroll;
    background: #e3e9f0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    min-height: 100vh;
    line-height: 1.5;
    font-family: "Roboto Condensed", sans-serif !important;
    font-weight: 300 !important;


}

body,
html {
    position: relative;
    scroll-behavior: smooth;

    margin: 0 !important;
    padding: 0 !important;
}

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}
output {
    width: 100%;
}

#all-songs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    li {
        cursor: pointer;
    }
}
#status {

    font-size: 50px;
    border-radius: 50%;
    box-shadow: 5px 5px 10px #fff, -5px -5px 10px #fff;
    aspect-ratio: 1 /1;
    width: 100px;
    border: none;

    .fa-play {
        display: none
    }

    .fa-pause {
        display: block
    }

    &.active {
        .fa-play {
            display: block
        }

        .fa-pause {
            display: none
        }

    }
}

.controller, .control-btn {
    cursor: pointer;
    background: #e3e9f0;
    border-radius: 20px;
    box-shadow: 8px 8px 16px #b8bec7, -8px -8px 16px #ffffff;
    padding: 16px 20px;
    color: #333;
    transition: all 0.2s ease;

    color: #5A6B85;


    &:active {
        box-shadow: inset 8px 8px 16px #b8bec7, inset -8px -8px 16px #ffffff;
    }

    label {
        width: 100%;
        text-align: center;


        input {
            width: 100%;
            margin: 30px 0 0;
        }
    }


}

.float-btn {

    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e3e9f0;
    box-shadow: 10px 10px 20px rgba(120, 130, 150, 0.55),
    -10px -10px 20px rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;

    text-decoration: none;

    &:hover {
        transform: scale(1.06);
    }


    &:active {
        box-shadow: inset 6px 6px 12px rgba(120, 130, 150, 0.55),
        inset -6px -6px 12px rgba(255, 255, 255, 1);
    }

    i {
        font-size: 28px;
        color: #4a90e2;
    }
}

.remote-holder {
    min-height: 100vh;
    align-items: start;
    flex-direction: column;
    gap: 30px;


}

dialog {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    background-color: #e3e9f0;
    min-width: 100%;

    .close-modal {

        top: 5vh;
        right: 2vw;
        border: none;
        z-index: 9999;
    }
}
#playlist-content {
    div.btn {
        width: 100%;

        display: flex;
        justify-content: unset;
        align-items: center;

        label {
            width: 100%;
            padding: 20px;
            cursor: pointer;
        }

        i {
            width: 50px;
            display: flex;
            margin-right: 20px;
            align-items: center;
            aspect-ratio: 1 / 1;
            color: #1C160F;
            font-weight: 600;
            padding: 6px 12px;
            border-radius: 10px;
            background: #e3e9f0;
            box-shadow:
                    4px 4px 8px rgba(184, 190, 199, 0.8),
                    -4px -4px 8px rgba(255, 255, 255, 0.9);
            justify-content: center;
            font-size: 30px;

        }


    }

    div.btn:has(input:checked) {
        label {
            background-color: #1C160F;
            color: #fff;
        }
    }
}

#refresher {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.btn-holder {
    justify-content: center;
    flex-direction: column;

    .control-btn {

        margin: 10px 0;
    }
}


h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

h1, h2,
h3, h4 {
    text-wrap: balance;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

textarea:not([rows]) {
    min-height: 10em;
}


.base-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 25vh;

    input {
        border: 1px solid var(--second);

    }

    button {
        background-color: var(--second);
    }


}

.volume-control {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e3e9f0;
    box-shadow: inset 4px 4px 8px rgba(150, 160, 175, 0.55),
    inset -4px -4px 8px rgba(255, 255, 255, 0.95);
    outline: none;
}

.volume-control::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background: #e3e9f0;
    box-shadow: inset 4px 4px 8px rgba(150, 160, 175, 0.55),
    inset -4px -4px 8px rgba(255, 255, 255, 0.95);
}

.volume-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #d9dee7;
    box-shadow: 8px 8px 16px rgba(150, 160, 175, 0.55),
    -8px -8px 16px rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
}

.volume-control::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #d9dee7;
    box-shadow: 8px 8px 16px rgba(150, 160, 175, 0.55),
    -8px -8px 16px rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
}

.volume-control::-webkit-slider-thumb:hover,
.volume-control::-moz-range-thumb:hover {
    transform: scale(1.06);
}

.volume-control::-webkit-slider-thumb:active,
.volume-control::-moz-range-thumb:active {
    box-shadow: inset 4px 4px 8px rgba(150, 160, 175, 0.55),
    inset -4px -4px 8px rgba(255, 255, 255, 0.95);
}

#installBtn {
    width: 50px;
    height: 50px;
    position: fixed;
    left: 10px;
    bottom: 10px;
}

.machine-rule {

    .controller:has(.forbiden) {
        pointer-events: none;

        background: #9A0101  !important;

        label,
        i {
            color: #fff !important
        }
    }
}