﻿:root {
    --ui_background: #c5b7a5fa;
    --toolbar_background: #00000077;

    --ui_background: #5b63336b;
    --toolbar_background: #000000;
    --slide_menu_background: #adada6;
    --ui_full_width_threshold: 960px;
    --pj_button_padding: 10px 20px;
    --ui_small_margin: 0.5em;
    --ui_big_margin: 1em;
    --content_background: #ffffff99;
    --shadow_full_high: 0px 0px 6px 6px rgba(0, 0, 0, 0.33);
}

html {
    box-sizing: border-box;
    overflow: hidden;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.emoji {
    font-style: normal !important;
}

.pj_raised_high {
    box-shadow: var(--shadow_full_high);
}

.pj_content {
    background-color: var(--content_background);
}

    .pj_content.pj_content_top {
        background-color: white;
        border-radius: 4px;
    }

    .pj_fill {
        height: 100%;
    }

.pj_grid_fill {
    grid-column: 1 / -1;
}

.pj_mtop {
    margin-top: var(--ui_small_margin);
}

.pj_ptop {
    padding-top: var(--ui_small_margin);
}

.pj_disabled {
    pointer-events: none !important;
}

.pj_invisible {
    visibility: hidden;
}

.pj_textareadiv {
    width: 100%;
    min-height: 1em; /* Starts at one line */
    overflow: hidden; /* Prevents scrollbars */
    outline: none; /* Removes focus outline */
    white-space: pre-wrap; /* Preserves new lines */
    word-wrap: break-word; /* Ensures words break properly */
    display: block; /* Ensures it behaves like a block element */
    cursor: text; /* Shows text cursor */
}

input,
textarea,
.pj_textareadiv {
    font: inherit;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}

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

form {
    width: 100%;
}

img {
    width: 100%;
}

a, .a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 0.7em;
}

a {
    font-style: italic;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100dvh;
    display: flex;
    justify-content: center;
    background-color: var(--ui_background);
}

.pj_grid_cell_vcentre {
    place-content: center;
}

.pj_circle_image {
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1;
}

.pj_hand {
    cursor: pointer;
}

.pj_end {
    justify-self: end;
}

.pj_login_container .pj_busy {
    width: 64px;
}

.pj_fold_up {
    display: none;
}

.pj_hidden {
    display: none;
}

.pj_padded_content {
    padding-left: 10px;
    padding-right: 10px;
}

.pj_dialog {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.pj_login_container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin: 0 auto;
    max-width: 400px;
}


    .pj_login_container h2 {
        margin: 0;
        text-align: center;
    }

.pj_separator {
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
}

.pj_login_container .pj_input_container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    column-gap: 10px;
}

    .pj_login_container .pj_input_container.pj_hidden {
        display: none;
    }

    .pj_login_container .pj_input_container div {
        display: grid;
        gap: 1em;
    }

.pj_login_container .pj_button {
    margin-left: auto;
}



.pj_input_container img {
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    align-self: start;
    display: none;
}

.pj_button {
    justify-self: end;
    padding: var(--pj_button_padding);
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

    .pj_button.pj_disabled,
    .pj_button.pj_disabled:hover {
        background: gray;
        cursor: initial;
        opacity: 0.3;
    }



.pj_button:hover {
    background-color: #45a049;
}

.pj_dialog_alternate_option {
    text-align: right;
}

.pj_login_social_options{
    display: grid;
    grid-template-columns: 1fr 16px 16px 16px;
    gap: 0.5em;
}

.pj_under_dialog {
    justify-self: end;
    margin-top: 0.5em;
}

.pj_fab {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .pj_fab:hover {
        background-color: #45a049;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    }

    .pj_fab img {
        width: 36px;
    }

    /* Add the plus sign */
    .pj_fab::after {
        content: "+";
        position: absolute;
        top: 2px;
        right: 2px;
        width: 18px;
        height: 18px;
        background-color: white;
        color: #4CAF50;
        border-radius: 50%;
        font-size: 14px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        pointer-events: none;
    }

