:root {
    --black: #000411;
    --dark-grey: #3F3A3B;
    --light-grey: #808185;
    --off-white: #FAF3F3;
}

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'SpaceGrotesk', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--off-white);
    margin: 0;
    padding: 0;
}

form {
    margin-bottom: 20px;
}

input, textarea {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    /* max-width: 400px; */
}

button {
    width: fit-content !important;
}

.container {
    padding: 20px;
}


.form-container {
    max-width: 480px;
    margin: 2rem auto;
    background-color: #212121;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
}

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-layout textarea {
    padding: 11px;
}

.form-input {
    /* width: auto; */
    /* flex: 1; */
    /* padding: 0.5rem 11px; */
    /* margin-bottom: 1rem; */
    /* border: 1px solid #ccc; */
    /* border-radius: 4px; */
    /* font-size: 1rem; */
    width: 100%;
    box-sizing: border-box;
}

.button {
    background-color: var(--dark-grey);
    width: 100px;
    border: none;
    border-radius: 5px;
    color: var(--off-white);
    padding: 11px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 9px 2px;
    cursor: pointer;
}

.primary {
    background-color: lightblue !important;
    color: rgb(85, 26, 139) !important;
}

.button:disabled,
.button[disabled] {
    background-color: var(--light-grey);
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.button:hover {
    background-color: var(--light-grey);
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 10px;    
    background-color: lightblue;
    /* padding: 5px 10px; */
    border-radius: 5px;
    font-size: x-small;
    text-decoration: none;
    margin-inline-end: 3px;
    text-transform: uppercase;
}

.nav-text {
    padding-inline-start: 5px;
}

.border-1 {
    border: 1px solid var(--light-grey);
    border-radius: 5px;
    padding: 2px;
    width: fit-content;
}

/* DISABLE BLUE ON MOBILE CLICK */

/* Disable blue highlight on button click */
button {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* You can do the same for links */
a {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* UTILITY CLASSES */

/* .block {
    display: block;
} */

.nolink {
    text-decoration: none;
}

.link {
    text-decoration: underline;
    cursor: pointer;
}

.pl-5 {
    padding-inline-start: 5px;
}
.pr-5 {
    padding-inline-end: 5px;
}

@media (max-width: 768px) {
    body {
        background-color: lightseagreen;
    }
}

/* From upload.css */
@media (max-width: 600px) {
    body {
        padding: 0.5rem;
        background-color: rgb(0, 255, 4);
    }
    .form-container {
        max-width: 100%;
        margin: 0.5rem;
        padding: 1rem 0.5rem;
    }
    .file-upload-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    body {
        background-color: #880e4f;
    }
}

#userTable {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--dark-grey);
    color: var(--off-white);
}
#userTable th, #userTable td {
    /* border: 1px solid var(--light-grey); */
    border: 1px solid var(--off-white);
    padding: 8px 12px;
    text-align: left;
}
#userTable th {
    /* background: var(--black); */
    background: var(--light-grey);
    font-weight: bold;
}
#userTable tr:nth-child(even) {
    background: #2a2a2a;
}