﻿:root {
    --font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    --header-bg-color: rgb(102, 34, 80);
    --page-bg-color: rgb(42, 42, 42);
    --text-color: rgb(240, 241, 242);
    --form-border-color: rgb(99, 110, 117);
    --form-input-bg-color: rgb(56, 56, 56);
    --red: #dc3545;
}

@font-face {
    font-family: 'Work Sans';
    src: url("/fonts/WorkSans-VariableFont.woff2")
}

body {
    margin: 0;
    color: var(--text-color);
    background-color: var(--page-bg-color);
    font-family: var(--font-family);
}

.wrapper {
    min-height: 100vh;
}

header {
    background-color: var(--header-bg-color);
    padding: 1.875rem;
    padding-left: 1rem;
    display: flex;
    height: 68px;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    flex-direction: row;
}

.brand {
    padding: 0.75rem;
    display: block;
    line-height: 24px;
    margin: 0;
    box-sizing: border-box;
}

    .brand svg {
        display: block;
        height: 1.5rem;
        margin-top: -0.375rem;
    }

.container {
    margin-top: 30px;
}

@media only screen and (min-width: 760px) {
    .wrapper {
        min-height: 100vh;
    }

    .container {
        place-self: center;
        max-width: 700px;
        padding: 30px 30px 30px 30px;
        border-radius: 5px;
        margin-top: 30px;
    }
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;   
}

.lead p {
    font-size: 1.0rem;
}

p a {
    text-decoration: underline;
}

label {
    display: inline-block;
    font-weight: 500;
}

.submit-method-row {
    display: flex;
    justify-content: space-between;
}

.change-submit-method {
    font-size: 0.9em;
}

    .change-submit-method a {
        text-decoration: underline;
    }

.btn-outline-primary {
    font-weight: 700;
    border-width: 2px;
    border-radius: 8px;
}

.required::after {
    content: '*';
    color: red;
}

textarea {
    display: block;
    width: 100%;
    padding: 10px;
    min-height: 200px;
    resize: none;
    outline: none;
    color: white;
    background-color: var(--form-input-bg-color);
    border: 1px solid var(--form-border-color);
    border-radius: 10px;
}

#file-input-wrapper {
    width: 100%;
    height: 200px;
    background-color: var(--form-input-bg-color);
    border: 2px dashed var(--form-border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    font-weight: normal;
}

.error {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    color: white;
    border: 1px solid #e84e4f;
    border-radius: 5px;
    background-color: #9c2b2e;
    padding: 10px;
}

.user-avatar {
    border: 1px solid black;
    box-shadow: 0 0 3px 1px #16161699;
    width: 2rem;
    height: 2rem;
    line-height: 1.9rem;
    border-radius: 50%;
    overflow: hidden;
    padding: 0px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.user-avatar img {
    max-width: inherit;
    max-height: inherit;
    height: inherit;
    width: inherit;
    object-fit: cover;
}

.user-avatar-with-initials {
    background-color: purple;
}

.user-avatar .user-initials {
    color: white;
    user-select: none;
    display: inline-block;
}