/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

p {
    font-family: "Faculty Glyphic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC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k1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }*/

/*  TAKEN DIRECTLY FROM 4-H SCHOLARSHIP APP
    Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}*/

/* Provide sufficient contrast against white background */
/*a {
    color: #0366d6;
}

.btn-primary {
    color: #ffffe0;
    background-color: #bf5700;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {*/
/*  color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;*/
/*}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #FF8300;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
    position: relative;
    min-height: 100%;
}*/



/*main {
    margin-top: 75px;*/ /* Add a top margin to avoid content overlay */
/*}*/

/*.site-footer {
    border-top: 1px solid #FF8300;
    background-color: #333d47;
    position: absolute;
    max-height: 200px;
    bottom: 0;
    width: 100%;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1368px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1800px;
    }
}


body {*/
/* Margin bottom by footer height */
/*margin-bottom: 175px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    border-top: 1px solid #FF8300;
    height: 175px;
}*/
/* UTIA Branding */
/*Nav*/
/*.navbar-inverse, .footer, .utia-nav {
    background-color: #333d47;
    border-color: #FF8300;
}

.bottom-align-text {
    text-align: right;
    bottom: 0;
    right: 0;
    float: right;
}

.validation-message {
    color: red;
}

.modal-dialog-scrollable .modal-content {
    overflow-y: auto;
}

.catalog-light {
    background-color: #e9ecef;
}

@media print {*/

/*   @page {
        margin: 0;
    }*/

/*div.catalog-row > div {
        display: inline-block;
    }

    div.catalog-row {
        display: block;
    }


    table.catalog-table {
        display: table;
        border-spacing: 1px;
    }


        table.catalog-table,
        table.catalog-table tr td,
        table.catalog-table tr th, .catalog-table tbody, .catalog-table thead {
            page-break-inside: avoid !important;
            font-size: xx-small;
        }


    table.catalog-table {
        border-collapse: collapse;
    }

        table.catalog-table td {
            font-size: xx-small;
        }

    .table-sm > :not(caption) > * > * {
        padding: .1rem .1rem;
    }
}

@media print {
    .noPrint, footer {
        display: none
    }
}*/
/*
    Line separator between profile blocks
*/
/*hr.profileBreak {
    border: 2px solid rgba(255, 131, 0, 0.5);
    border-radius: 5px;
    align-content: center !important;
    width: 75%
}

.aframebox {
    height: 70vh;
    width: 100%
}

@media (min-width: 768px) {
    .aframe-menu {
        height: 70vh;
        width: 100%
    }
}

@media (max-width: 992px) {
    .aframe-sample {
        height: 50vh;
        width: 100%
    }
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 50%;
    position: absolute;
}

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

    100% {
        transform: rotate(360deg)
    }
}

.card-background {
    background-color: #f2f2f2;*/ /*rgba(255,131, 0, .50);*/
/*}

.card-img-header {
    max-height: 200px;
    max-width: 200px
}

.card-img-banner {
    max-height: 150px;
    max-width: 300px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}

.a-frame-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .a-frame-container {
        flex-direction: column;
    }

    .a-frame-container > * {
        width: 100%;
    }
}*/

:root {
    --ut-orange: #ff8200;
    --ut-orange-dark: #e57200;
    --text: #1f1f1f;
    --text-muted: #6b6b6b;
    --bg: #ffffff;
    --surface: #fafafa;
    --border: #e5e5e5;
    --footer: #2b2b2b;
    --footer-text: #d1d1d1;
    --shadow: 0 12px 30px rgba(0,0,0,.06);
    --radius-sm: 6px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
}

main {
    margin-top: 15px;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.logo {
    height: 40px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: .02em;
    background: #fff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 16px;
    flex-wrap: wrap;
}

    .nav a {
        color: var(--text);
        text-decoration: none;
        position: relative;
        font-weight: 500;
    }

        .nav a.active::after,
        .nav a:hover::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -8px;
            height: 2px;
            background: var(--ut-orange);
        }

.btn {
    padding: 0 16px;
    border: 1px solid var(--ut-orange);
    color: var(--ut-orange);
    background: transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .18s ease;
}

    .btn:hover {
        background: var(--ut-orange);
        color: white;
    }

.hero {
    padding: 56px 80px 24px;
}

    .hero h1 {
        margin: 0;
        font-size: 40px;
        line-height: 48px;
        font-weight: 700;
    }

    .hero p {
        margin: 12px 0 0;
        max-width: 760px;
        font-size: 18px;
        line-height: 30px;
        color: var(--text-muted);
    }

.cards {
    padding: 16px 80px 72px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.card-media {
    height: 180px;
    background: linear-gradient(135deg, rgba(255,130,0,.14), rgba(255,130,0,.04)), linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
}

.card .role {
    margin-top: -4px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--ut-orange);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.card p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: var(--text);
}

.footer {
    margin-top: auto;
    background: var(--footer);
    color: var(--footer-text);
    min-height: 120px;
    padding: 24px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    width: 220px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
}

    .footer a:hover {
        color: #fff;
        text-decoration: underline;
        text-decoration-color: var(--ut-orange);
    }

.copyright {
    font-size: 14px;
    color: var(--footer-text);
}

.login-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
}

.viewer-card {
    background: var(--viewer-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-height: 560px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-shell {
    width: min(920px, 100%);
    height: 420px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: radial-gradient(circle at 30% 30%, rgba(255,130,0,.12), transparent 18%), radial-gradient(circle at 70% 55%, rgba(255,130,0,.08), transparent 20%), linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

    .viewer-shell::before {
        content: "";
        width: 280px;
        height: 280px;
        border-radius: 50%;
        border: 1px dashed rgba(255,130,0,.25);
        position: absolute;
    }

@media (max-width: 1080px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 896px) {
    .header, .hero, .cards, .footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .header {
        gap: 16px;
    }

    .header-left {
        gap: 20px;
    }

    .nav {
        gap: 16px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .hero p {
        font-size: 16px;
        line-height: 26px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-card {
        min-height: 420px;
    }

    .viewer-card {
        min-height: 420px;
    }

    .viewer-shell {
        height: 300px;
    }

    .footer-logo {
        width: 220px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: .02em;
        margin: 12px;
    }

    #css-overlay {
        position: absolute;
        top: 73px;
        left: 0;
        width: 100%;
        height: calc(100% - 73px);
        pointer-events: none; /* Let clicks pass through to A-Frame/WebGL */
    }
}