@charset "UTF-8";

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on February 6, 2026 */
@font-face {
    font-family: 'courgette';
    src: url('../fonts/courgette-regular-webfont.woff2') format('woff2'),
        url('../fonts/courgette-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on July 4, 2025 */
@font-face {
    font-family: 'freesans';
    src: url('../fonts/freesans-webfont.woff2') format('woff2'),
        url('../fonts/freesans-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #808080;
    --light-gray: #d4d4d4;
    --link-blue: #0091ff;
    --pallet-green: #47b995;
    --pallet-green-font: #31836a;
    --pallet-pink: #ff8080;
    --pallet-light-pink: #ffd5d5;
}

html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

a:link,
a:visited {
    color: var(--link-blue);
}

a:hover {
    color: var(--pallet-green-font);
    text-decoration: none;
}

a:active {
    color: var(--pallet-green);
    text-decoration: underline;
}

.no-dec,
a.no-dec:link,
a.no-dec:visited {
    color: inherit;
    text-decoration: none;
}

a.no-dec:hover {
    text-decoration: underline;
}

body {
    font-family: 'freesans';
    font-size: 18px;
    font-style: normal;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body p {
    line-height: 1.6em;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
}

.wrapper .card {
    margin: 0 -16px;
    padding: 16px 24px;
}

/* Ugly User Switched Alert */
.user-switched-alert {
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    right: 0px;
    width: fit-content;
    padding: 0 1em;
    margin: 0 auto;
    background-color: darkgoldenrod;
    color: beige;
    text-align: center;
    border: red dashed 3px
}

/* Universal Modal Overlay */
.overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.overlay.show {
    display: flex;
}

/* Spinner-only overlay: white frosted glass, no scroll (reuses overlay layout) */
.spinner-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    overflow: hidden;
}

.spinner-overlay>.modal-spinner {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.overlay .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: visible;
    box-sizing: border-box;
}

.overlay .modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: #ffffff;
    color: #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: none;
    padding: 0;
    line-height: 1;
}

.overlay .modal-close:hover {
    background-color: #f0f0f0;
    color: #000;
}

.overlay .modal-content h2 {
    margin: 0 0 1rem 0;
    padding-right: 2rem;
    word-wrap: break-word;
}

.overlay .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(90vh - 100px);
}

/* Loading Spinner for Modals */
.modal-spinner {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    overflow: hidden;
}

.modal-spinner.hidden {
    display: none;
}

.modal-spinner .multi-spinner {
    position: absolute;
    width: calc(100% - 4.95px);
    height: calc(100% - 4.95px);
    border: 2.5px solid transparent;
    border-top-color: var(--pallet-pink);
    border-radius: 50%;
    animation: spin 4.5s cubic-bezier(0.17, 0.49, 0.96, 0.76) infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Flash Messages */
.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.flash-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.flash:last-child {
    margin-bottom: 0;
}

/* Animations */
.slideAway {
    transition: 1s ease 0.45s, opacity 0.35s linear;
    height: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0px !important;
    border-width: 0px !important;
    overflow: hidden !important;
}

.fadeAway {
    transition: 1s ease 0.45s, opacity 0.35s linear;
    opacity: 0 !important;
}