/* Structure */

:root
{
    --standard-form-margin: 30px;
    --standard-form-font-size: 16px;
    --max-form-width: 1000px;
    --radius4: 4px;

    --light_grey: #ccc;
}

/* User initial circle in navbar */
#profile_button.logged_in,
#profile_button_desktop.logged_in
{
    padding: 0;
}

#profile_button.logged_in .user_initial_circle,
#profile_button_desktop.logged_in .user_initial_circle
{
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* background-color: pink; */
    color: var(--green);
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    font-size: 16px;
    vertical-align: middle;
    border: 3px solid var(--green);
}

/* Structure */


.standard_form
{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: var(--standard-form-margin);
    flex-shrink: 0;
}

.standard_form > .input_wrapper
{
    position: relative;
    width: 100%;
    margin-bottom: calc(var(--standard-form-margin) / 2);
}

.standard_form input:not([type=submit])
{
    font-size: calc(var(--standard-form-font-size) * 1.5);
    font-weight: 600;
    line-height: calc(var(--standard-form-font-size) + 20px);
    background: none;
    border: none;
    border-bottom: 2px solid;
    box-sizing: border-box;
    outline: none;
    width: 100%;
}

/* Remove autofill background color */
.standard_form input:-webkit-autofill,
.standard_form input:-webkit-autofill:hover,
.standard_form input:-webkit-autofill:focus,
.standard_form input:-webkit-autofill:active
{
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: inherit !important;
    transition: background-color 5000s ease-in-out 0s;
}

.standard_form input:autofill,
.standard_form input:autofill:hover,
.standard_form input:autofill:focus,
.standard_form input:autofill:active
{
    box-shadow: 0 0 0 1000px transparent inset !important;
    background-color: transparent !important;
}

.standard_form .error-message
{
    /*display: none;*/
    font-weight: 300;
}

.standard_form label
{
    display: inline-block;
    transform: translate(0, 28px);
    transition: 0.15s;
    cursor: text;
}

.standard_form .password_container
{
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 2px solid;
    box-sizing: border-box;
}

.standard_form .password_container input
{
    flex: 1;
    min-width: 0;
    width: auto;
    border-bottom: none;
}

.standard_form .visibility_toggle
{
    flex-shrink: 0;
    padding-left: 4px;
    font-size: calc(var(--standard-form-font-size)* 1.5);
    cursor: pointer;
}

/* Handle autofilled inputs - target label when input is autofilled */
.standard_form .input_wrapper:has(input:-webkit-autofill) label,
.standard_form .input_wrapper:has(input:autofill) label,
/* Handle manual inputs */
.standard_form .input--active label,
.standard_form .input--invalid label,
.standard_form .input--filled label
{
    transform: translate(0, 0);
}

.standard_form .input--invalid
{
    color: var(--red);
}

.standard_form .input--invalid input
{
    animation: shake 0.3s cubic-bezier(.36,.07,.19,.97) both;
    border-bottom: 2px solid var(--red);
    box-shadow: none;
    color: var(--red);
    transform: translate3d(0, 0, 0);
}

.standard_form .input--invalid .password_container
{
    border-bottom-color: var(--red);
}

.standard_form .input--invalid .password_container input
{
    border-bottom: none;
}

@keyframes shake {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    33% {
        transform: translate3d(-6px, 0, 0);
    }

    66% {
        transform: translate3d(6px, 0, 0);
    }
}

#form_register,
#form_login
{
    justify-content: center;
}

.standard_form_container {
    display: flex;
    flex-direction: row;
    margin: var(--standard-form-margin) auto var(--standard-form-margin) auto;
    overflow: hidden;
    position: relative;
    max-width: var(--max-form-width);
    border-radius: var(--radius4);
    border: var(--padding8) solid var(--grey);
}

.standard_form_container > *
{
    flex-basis: calc(var(--max-form-width) / 2);
    box-sizing: border-box;
}

#form_welcome
{
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--standard-form-margin);
    border-width: 0 calc(var(--padding8) / 2) 0 0;
    border-style: dotted;
}

#form_welcome > img
{
    max-height: 300px;
}

.submit_wrapper
{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    margin-top: calc(var(--standard-form-margin) / 2);
}
.submit_wrapper > a
{
    text-align: center;
}

@media (max-width: 500px)
{
    .submit_wrapper
    {
        flex-direction: column-reverse;
    }
    .submit_wrapper .submit_alt
    {
        margin: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 750px)
{
    .standard_form_container
    {
        flex-direction: column;
    }

    .standard_form_container > *
    {
        flex-basis: auto;
    }

    #form_welcome
    {
        border-width: 0 0 calc(var(--padding8) / 2) 0;
        padding: calc(var(--standard-form-margin) / 2);
    }

    #form_welcome > img
    {
        max-height: 100px;
    }
}

@media (max-width: 450px)
{
    .standard_form input:not([type=submit])
    {
        font-size: calc(var(--standard-form-font-size));
    }
    .error-message
    {
        font-size: calc(var(--standard-form-font-size) * 0.75);
    }
    .standard_form .visibility_toggle
    {
        font-size: calc(var(--standard-form-font-size));
    }
}

button
{
    cursor: pointer;
}

button:disabled
{
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    cursor: default;
}

.submit_alt
{
    margin-right: 20px;
    padding: calc(var(--standard-form-margin) / 2) 0;
    display:inline-block;
    transition: var(0.3);
    text-decoration: none;
}
.thick_underline:hover
{
    text-decoration: underline;
    text-decoration-thickness: calc(var(--padding8) / 2);
    text-underline-offset: 5px;
}


#submit_btn,
#logout_btn {
    color: var(--yellow);
    background: var(--grey);
    font-weight: 600;
    border: none;
    padding: calc(var(--standard-form-margin) / 2) var(--standard-form-margin);
    transition: 0.2s;
    border-radius: var(--radius4);
    outline: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

#logout_btn {
    position: relative;
    z-index: 0;
    border-radius: 6px;
    padding: 10px 20px;
    transition: none;
    color: var(--yellow);
    background: var(--grey);
}

#logout_btn::before
{
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 7px;
    background: var(--grey);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

#submit_btn:disabled
{
    color: #aaa;
    background: var(--light_grey);
}

#submit_btn:not(:disabled):hover,
#submit_btn:not(:disabled):focus
{
    background: var(--green);
}

#logout_btn:hover,
#logout_btn:focus-visible
{
    color: var(--red);
    background: var(--grey);
    outline: none;
}

#logout_btn:hover::before,
#logout_btn:focus-visible::before
{
    opacity: 1;
}

#logout_btn:focus:not(:focus-visible)
{
    outline: none;
}

/* Profile user info card */
.profile-user-card-wrap
{
    width: 100%;
    max-width: none;
    margin: 0 0 calc(var(--padding8) * 4);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.event-card.profile-user-card
{
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.profile-user-card-heading
{
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 700;
    color: var(--grey);
    line-height: 1.2;
}

@media (max-width: 500px)
{
    .profile-user-card-heading
    {
        font-size: 22px;
    }
}

.event-card.profile-user-card--stats .profile-user-card-heading
{
    margin: 4px 4px 10px;
}

.event-card.profile-user-card--details
{
    width: 100%;
    max-width: 520px;
    overflow: visible;
    --profile-stat-gap: 12px;
    padding: var(--profile-stat-gap);
}

.event-card.profile-user-card--details .profile-user-card-heading
{
    margin: 4px 4px 10px;
}

@media (max-width: 700px)
{
    .event-card.profile-user-card--details
    {
        max-width: none;
    }
}

@media (min-width: 600.05px)
{
    .event-card.profile-user-card--details
    {
        margin-left: 0;
        margin-right: auto;
    }
}

.event-card.profile-user-card--stats
{
    --profile-stat-gap: 12px;
    width: 100%;
    padding: var(--profile-stat-gap);
}

.profile-user-card-details
{
    margin: 0;
    padding: 0;
}

.profile-title
{
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-title-text
{
    min-width: 0;
}

.profile-user-card-icon
{
    width: 1em;
    height: 1em;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.08em;
    color: var(--green);
    background: var(--yellow);
    flex-shrink: 0;
    line-height: 1;
}

.profile-user-card-icon .fa,
.profile-user-card-icon .fas,
.profile-user-card-icon .fa-solid,
.profile-user-card-icon svg
{
    width: 0.7em !important;
    height: 0.7em !important;
    font-size: 0.7em !important;
}

.profile-user-card-row
{
    display: grid;
    grid-template-columns: minmax(7rem, 36%) 1fr;
    gap: 8px 16px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0;
}

.profile-user-card-row:last-child
{
    border-bottom: none;
}

.profile-user-card-row dt
{
    margin: 0;
    font-weight: 600;
    color: var(--grey);
}

.profile-user-card-row dt label
{
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.profile-user-card-row dd
{
    margin: 0;
    color: var(--grey);
    overflow-wrap: anywhere;
}

.profile-user-card-row--editable dd
{
    --profile-ward-control-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: visible;
}

.profile-user-card-value
{
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-user-card-row--ward dd
{
    overflow: visible;
    min-width: 0;
}

.profile-ward-controls
{
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.profile-ward-actions
{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.profile-ward-picker
{
    display: grid;
    grid-template-columns: minmax(0, max-content);
    flex: 0 1 auto;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    z-index: 5;
}

.profile-ward-sizer
{
    grid-row: 1;
    grid-column: 1;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    font-size: 16px;
    font-weight: 500;
    padding: 0 28px 0 10px;
    white-space: nowrap;
    max-width: 100%;
}

.profile-ward-picker .select_selected
{
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    min-width: 0;
    height: var(--profile-ward-control-height);
    box-sizing: border-box;
    color: var(--grey);
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.profile-ward-label
{
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-ward-picker .select_selected::after
{
    border-top-color: var(--grey);
}

.profile-ward-picker .select_selected:hover,
.profile-ward-picker.select_open .select_selected
{
    color: var(--green);
}

.profile-ward-picker .select_selected:hover::after,
.profile-ward-picker.select_open .select_selected::after
{
    border-top-color: var(--green);
}

/* Keep open panel flush with the closed control (no -6px language-selector bleed). */
.profile-ward-picker .select_selected:hover::before,
.profile-ward-picker.select_open .select_selected::before,
.custom_select--drop-down.profile-ward-picker.select_open .select_selected::before
{
    inset: 0;
    top: 0;
    bottom: 0;
    border-radius: inherit;
}

.profile-ward-picker .select_items
{
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    white-space: normal;
}

.profile-ward-picker .profile-ward-scroll
{
    max-height: 260px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 6px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--grey) var(--yellow);
}

.profile-ward-picker .select_option
{
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--grey);
    transition: none;
    /* Leave room on the right so the scrollbar doesn't force the panel wider */
    padding-right: 22px;
}

.profile-ward-picker .select_option:hover
{
    background-color: transparent;
    color: var(--green);
}

.profile-ward-picker .select_option--current
{
    background-color: transparent;
    color: var(--green);
    font-weight: 700;
}

.profile-ward-picker .select_option--current:hover
{
    color: var(--green);
}

.custom_select--drop-down.profile-ward-picker .select_items
{
    top: 100%;
    bottom: auto;
    border-radius: 6px;
    padding: 0;
    max-height: none;
}

.custom_select--drop-down.profile-ward-picker.select_open .select_selected,
.profile-ward-picker.select_open .select_selected
{
    border-radius: 6px;
}

.custom_select--drop-down.profile-ward-picker.select_open .select_items
{
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar
{
    width: 10px;
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-track
{
    background: var(--yellow);
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-thumb
{
    background: var(--grey);
    border-radius: 8px;
    border: 2px solid var(--yellow);
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-thumb:hover
{
    background: var(--green);
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-button
{
    background: var(--yellow);
    height: 12px;
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-button:single-button:vertical:decrement,
.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-button:single-button:vertical:increment
{
    background-color: var(--yellow);
    background-repeat: no-repeat;
    background-position: center;
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-button:single-button:vertical:decrement
{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%232d2d2d' d='M4 2L1 6h6z'/%3E%3C/svg%3E");
}

.profile-ward-picker .profile-ward-scroll::-webkit-scrollbar-button:single-button:vertical:increment
{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%232d2d2d' d='M1 2h6L4 6z'/%3E%3C/svg%3E");
}

.profile-user-edit-btn
{
    position: relative;
    z-index: 0;
    flex-shrink: 0;
    margin: 0;
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    background: var(--green);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: none;
}

.profile-user-edit-btn::before
{
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 7px;
    background: var(--green);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.profile-user-edit-btn:hover,
.profile-user-edit-btn:focus-visible
{
    color: var(--yellow);
    background: var(--green);
    outline: none;
}

.profile-user-edit-btn:hover::before,
.profile-user-edit-btn:focus-visible::before
{
    opacity: 1;
}

.profile-user-edit-btn:focus:not(:focus-visible)
{
    outline: none;
}

.profile-ward-action-btn
{
    position: relative;
    z-index: 0;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: var(--profile-ward-control-height);
    height: var(--profile-ward-control-height);
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: var(--yellow);
    color: var(--grey);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
    line-height: 1;
}

.profile-ward-action-btn[hidden]
{
    display: none !important;
}

.profile-ward-action-btn:focus:not(:focus-visible)
{
    outline: none;
}

.profile-ward-action-btn--reset:hover,
.profile-ward-action-btn--reset:active,
.profile-ward-action-btn--reset:focus-visible
{
    color: var(--red);
    background: var(--yellow);
    outline: none;
}

.profile-ward-action-btn--save:hover,
.profile-ward-action-btn--save:active,
.profile-ward-action-btn--save:focus-visible,
.profile-ward-action-btn--edit:hover,
.profile-ward-action-btn--edit:active,
.profile-ward-action-btn--edit:focus-visible
{
    color: var(--green);
    background: var(--yellow);
    outline: none;
}

.profile-ward-action-btn .fa,
.profile-ward-action-btn .fas,
.profile-ward-action-btn .fa-solid,
.profile-ward-action-btn svg
{
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.profile-user-card-row dd .member_label
{
    vertical-align: middle;
}

.profile-user-card-stats
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--profile-stat-gap, 12px);
    margin-bottom: 0;
}

.profile-user-stat
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 8px;
    background: var(--yellow);
    color: var(--grey);
    box-shadow: none;
}

.profile-user-stat-value
{
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.profile-user-stat-label
{
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.profile-user-card-actions
{
    margin: 16px 0 0;
    text-align: center;
}

.profile-modal
{
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.profile-modal[hidden]
{
    display: none !important;
}

.profile-modal-backdrop
{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: var(--blur_bkg, blur(8px));
    -webkit-backdrop-filter: var(--blur_bkg, blur(8px));
}

.profile-modal-dialog
{
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
    border-radius: 12px;
    background: var(--white);
    color: var(--grey);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.profile-modal-close
{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--grey);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
    line-height: 1;
}

.profile-modal-close:hover,
.profile-modal-close:focus-visible
{
    color: var(--red);
    outline: none;
}

.profile-modal-close:focus:not(:focus-visible)
{
    outline: none;
}

.profile-modal-close .fa,
.profile-modal-close .fas,
.profile-modal-close .fa-solid,
.profile-modal-close svg
{
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.profile-modal-title
{
    margin: 0 28px 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.profile-modal-text
{
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.profile-modal-email
{
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.profile-modal-send
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 0;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    background: var(--grey);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: none;
}

.profile-modal-send:hover,
.profile-modal-send:focus-visible
{
    outline: none;
    background: var(--green);
    color: var(--white);
    filter: none;
}

.profile-modal-send:focus:not(:focus-visible)
{
    outline: none;
}

body.profile-modal-open
{
    overflow: hidden;
}


@media (max-width: 500px)
{
    .profile-user-card-wrap
    {
        margin-bottom: 0;
    }
}

@media (min-width: 500.05px)
{
    .profile-user-card-actions
    {
        text-align: left;
    }
}

@media (max-width: 1000px)
{
    .profile-user-card-stats
    {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px)
{
    .profile-user-card-stats
    {
        grid-template-columns: 1fr;
    }

    .profile-user-card-row
    {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* Friends manager (profile page) */
.friends_manager
{
    max-width: var(--max_width, 1000px);
    margin: 0 auto calc(var(--standard-form-margin, 30px) / 2);
    padding: 16px;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid var(--grey);
    border-radius: var(--radius4, 4px);
}

.friends_manager_title
{
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.friend_request_form
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.friend_request_label
{
    font-weight: 600;
}

.friend_request_row
{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.friend_request_row input
{
    flex: 1 1 220px;
    min-width: 180px;
    padding: 10px 12px;
    border: 2px solid var(--grey);
    border-radius: var(--radius4, 4px);
    background: transparent;
    font: inherit;
}

#friend_request_btn,
.friend_btn
{
    color: var(--yellow);
    background: var(--grey);
    font-weight: 600;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius4, 4px);
    cursor: pointer;
}

#friend_request_btn:hover,
.friend_btn_accept:hover
{
    background: var(--green);
}

.friend_btn_decline:hover,
.friend_btn_remove:hover,
.friend_btn_cancel:hover
{
    color: var(--red);
}

.friend_action_status
{
    margin: 0;
    font-size: 0.95rem;
}

.friend_action_status--ok
{
    color: var(--green);
}

.friend_action_status--error
{
    color: var(--red);
}

.friends_requests_block
{
    margin-top: 14px;
}

.friends_requests_block h3
{
    margin: 0 0 8px;
    font-size: 1rem;
}

.friends_requests_list
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.friends_empty
{
    margin: 0;
    opacity: 0.8;
}

.friend_request_item
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--yellow);
    border-radius: var(--radius4, 4px);
}

.friend_request_info
{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.friend_request_name
{
    font-weight: 600;
}

.friend_request_meta
{
    font-size: 0.85rem;
    opacity: 0.8;
}

.friend_request_actions
{
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

@media (max-width: 600px)
{
    .friend_request_item
    {
        flex-direction: column;
        align-items: stretch;
    }

    .friend_request_actions
    {
        width: 100%;
    }

    .friend_request_actions .friend_btn
    {
        flex: 1;
    }
}

.member_label {
    vertical-align: super;
    font-size: 11px;
    font-weight: 700;
    background: var(--grey);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    user-select: none;
}

.page-title-band .member_label {
    box-shadow:
        0 0 4px var(--yellow),
        0 0 10px var(--yellow),
        0 0 18px rgba(246, 224, 120, 0.7);
}

.member_label_ceo {
    background: var(--ceo-color);
}

.member_label_chair_of_trustees {
    background: var(--chair-of-trustees-color);
}

.member_label_trustee {
    background: var(--trustee-color);
}

.member_label_member {
    background: var(--member-color);
}

.member_label_banned {
    background: var(--banned-color);
    color: #fff;
}

.standard_form_container h2 {
    color: #74bdb7;
    text-align: center;
    text-transform: uppercase;
}

.standard_form_container h3 {
    color: #f37b56;
    left: -.17rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.standard_form_container figure {
    overflow: hidden;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .standard_form_container figure {
        float: left;
        height: 100%;
        position: relative;
        width: 50%;
    }
}

.login_error
{
    color: var(--red);
    text-align: center;
}

.create_new_account
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
    position: relative;
    text-align: center;
    border-radius: var(--radius4);
    border: var(--padding8) solid var(--grey);
}
