﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --hue: 0;
    --sat: 20%;
    --drk: 20%;
    --mdm: 45%;
    --lgt: 95%;
    --btn-primary-bg: hsl(var(--hue), var(--sat), var(--drk));
    --btn-primary-fg: hsl(var(--hue), 20%, var(--lgt));
    scrollbar-color: hsl(var(--hue), var(--sat), 90%) transparent;
}

html {
    scroll-behavior: auto !important;
}

body {
    background: hsl(var(--hue), var(--sat), var(--lgt));
    font-family: "Geist", sans-serif;
    font-size: 16px;
}

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
}

.sbc-button {
    border-radius: 9999px !important;
    padding-inline: 1.5rem !important;
    font-size: 16px !important;
}

.g05 {gap:0.5rem}
.bold{font-weight:bold !important}
.ta-center{text-align:center !important}
.ta-right{text-align:right !important}

.sbc-pills {
    & button:hover {
        background-color: hsl(var(--hue), var(--sat), var(--mdm)) !important;
    }

    & button.active {
        background-color: hsl(var(--hue), var(--sat), var(--mdm)) !important;
        color: hsl(var(--hue), 20%, var(--lgt)) !important;
    }
}
.sbc-table {
    margin-inline: -1rem;
    width: calc(100% + 2rem) !important;
}

button {
    cursor: pointer;
    padding: 0.65rem 1.3rem;
    font-weight: 600;
    border: none;
    background-color: hsl(var(--hue), var(--sat), var(--mdm));
    color: hsl(var(--hue), 20%, var(--lgt));
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s ease-in-out;

    &:hover {
        opacity: 0.8;
        background-color: hsl(var(--hue), var(--sat), var(--mdm)) !important;
        color: hsl(var(--hue), 20%, var(--lgt)) !important;
        transition: 0.3s ease-in-out;

        & svg {
            fill: hsl(var(--hue), 20%, var(--lgt)) !important;
        }
    }
}

.profile-img {
    border-radius: 100%;
    object-fit: cover;
    width: 150px;
    height: 150px;
    border: 8px solid #fff9;
    box-shadow: 0 0 5px 10px hsl(var(--hue), var(--sat), 85%);
    margin-block: 0.5rem;
}

svg {
    width: 24px;
    height: 24px;
    fill: hsl(var(--hue), var(--sat), 85%);
}

.container {
    color: hsl(var(--hue), var(--sat), var(--drk));
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    & header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        align-items: flex-start;
        color: white;
        background: hsl(var(--hue), var(--sat), var(--drk));
        padding: 1rem;

        & div {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
        }

        & h1 {
            transition: all 0.3s ease-in-out;
        }
    }

    & main {
        max-width: 800px;
        width: 100%;
        margin: auto;
        padding: 1rem;
        padding-bottom: 5rem;
        padding-inline: max(1rem, env(safe-area-inset-left));
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow: auto;

        & .profile {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: center;

            & .profile-details {
                font-size: 14px;
                display: flex;
                flex-direction: column;
                width: 100%;

                & div {
                    padding: 0.75rem;
                    border-block: 1px solid hsl(var(--hue), var(--sat), 90%);
                }

                & p > span {
                    margin-inline: 1rem;
                }
            }
        }
    }

    & footer {
        padding: 1rem;
        font-size: 12px;
        text-align: center;
        color: hsl(var(--hue), var(--sat), 70%);
    }
}

.option-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
    color: hsl(var(--hue), var(--sat), var(--mdm));
}

.options {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;

    & button {
        background-color: hsl(var(--hue), var(--sat), 90%);
        color: hsl(var(--hue), var(--sat), var(--mdm));
        max-width: 150px;
        width: 100%;
        height: 100px;
        flex-direction: column;
        border-radius: 1rem;
        font-size: 12px;
        font-weight: normal;

        & svg {
            fill: hsl(var(--hue), var(--sat), var(--mdm));
            width: 50px;
            height: 40px;
        }
    }
}

.filled_icon {
    background: hsl(var(--hue), var(--sat), 90%);
    color: hsl(var(--hue), var(--sat), var(--drk)) !important;
    padding: 0.25rem;
    border-radius: 50%;
}
