:root {
    --primary-color: inherit;
    --input-bg: inherit;
    --fg: inherit;
    --border-color: inherit;
    --placeholder-color: inherit;
    --input-padding : 6px 5px;
    --font-mono: inherit;
}
.theme-btn {
    width: 48px;
    height: 48px;
    color: #444;
    display: block;
    margin: 2px;
    border-radius: 4px;
    cursor:pointer;
    outline:none;
    font-size:30px;
    line-height: normal;
}
.dark {
    .theme-btn {
        background-color: #f0f0f0; color :#626262; border: 2px solid #626262;
    }
}


.light {
    .theme-btn {
        background-color: #424242; color :#BBB; border: 2px solid #BBB;
    }
}

.header-row {
    display:flex;
    justify-content:space-between;
    flex-wrap: wrap;
    align-items: center;
    background-color:rgba(128, 128, 128, 0.1);
    flex:1;
    padding:22px;
    .btn.primary {
        background-color: var(--primary-color);
        color: white;
    }
    .btn {
        border-radius: 2px;
        font-weight: 600;
        display: inline-block;
        padding: 6px 16px;
        font-size: 12px;
        outline: 0px;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
        border: 2px solid var(--primary-color);
        background-color: transparent;
        user-select: none;
        cursor: pointer;
        box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
        transition-duration: 0.75s;
    }

    .row {
        display:flex;
        flex-direction: row;
    }

    #darkThemeBtn {
        margin: 0 0;
    }

    .rounded {
        border-radius: 50%;
        font-size: 26px;
        padding: 0 16px;
        margin: 0 1rem;
    }
}

.dark {
    .btn {
        color: white;
    }
}

#login-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 35px;
    gap: 5px;
}

#login-form input{
    padding: var(--input-padding);
    height: 100%;
    font-size: 12px;
    font-family: var(--font-mono), sans-serif;
    border-radius: 2px;
    transition: all 0.2s;
    color: var(--fg);
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
}
#login-form input:focus{
    outline: none;
    border: 1px solid var(--primary-color);
}
#login-form input::placeholder {
    color: var(--placeholder-color);
}
.context-choice{
    display: flex;
    justify-content: center;
    margin: 5px 0;
    height: 100%;
}
.choice{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    font-size: 12px;
    cursor: pointer;
    font-weight: bolder;
    border: 1px solid var(--primary-color);
    transition: all 0.2s;
}

.choice:hover {
    transform: translateY(-2px);
}
.choice.active{
    background-color: var(--primary-color);
    color: white;
}

#login-form button {
    transition: all 1s ease;
    border: 1px solid var(--primary-color);
    height: 100%;
}

#login-form button:disabled{
    border: none;
}

#login-form button:enabled:hover {
    background-color: var(--primary-color);
    color: white;
}

#logged-user-data-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}

#logged-user-data-container button:hover {
    background-color: var(--primary-color);
    color: white;
}

.login-info {
    display: flex;
    flex-direction: column;
}
.login-info p {
    font-size: 12px;
    margin: 0;
}
.user-info {
    font-weight: bold;
}

.hidden {
    display: none !important;
}

.spinner {
    width: 5px;
    height: 5px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}