﻿$bg-color: rgba(0, 0, 0, 0.6);

CustomizationLayout {
    width: 100%;
    height: 100%;
    background-color: transparent;
    pointer-events: all;
    opacity: 0;
    transition: opacity 0.2s;

    .exit-prompt {
        width: 100%;
        height: 100%;
        color: white;
        justify-content: center;

        .prompt {
            bottom: 20px;
            left: 20px;
            position: absolute;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 40px;
            font-family: "Balsamiq Sans";

            inputglyph {
                background-size: contain;
                background-color: rgba(0,0,0, 0.8);
                border-radius: 12px;
                width: 60px;
                height: 60px;

                &.pressed {
                    transform: scale(0.85);
                    opacity: 0.8;
                }
            }
        }
    }

    &.show {
        opacity: 1;
    }

    .header {
        position: absolute;
        width: 700px;
        height: 96px;
        border-radius: 100%;
        background-color: $bg-color;
        left: -120px;
        top: 36px;
        align-items: center;
        justify-content: center;

        > label {
            margin-top: 4px;
            margin-left: 120px;
            font-size: 72px;
            font-weight: bold;
            text-shadow: 4px 4px 2px $bg-color;
            color: white;
            align-items: center;
        }
    }

    .menu {
        position: absolute;
        width: 220px;
        align-self: center;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.6);
        gap: 4px;
        padding: 12px;
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
        backdrop-filter: blur(32px);

        .category-title {
            font-size: 16px;
            font-weight: bold;
            color: white;
            text-shadow: 1px 1px 1px black;
            padding-top: 6px;
        }

        .category {
            gap: 4px;
            flex-direction: column;
            padding-bottom: 6px;
        }

        .tab-button {
            margin-left: 1px;
            font-size: 24px;
            color: white;
            text-shadow: 1px 1px 1px black;

            &.active {
                color: lighten(lightblue, 30%);
            }

            &:hover:not(.active) {
                margin-left: 3px;
            }
        }
    }

    .selected-tab {
        position: absolute;
        left: 256px;
        align-self: center;
    }
}

.tab {
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  align-items: center;
  padding: 8px 16px;
  border-radius: 16px;

  > .title {
    padding: 8px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 2px black;
  }
}