﻿body {
    padding-bottom: 20px;
    margin-bottom: 200px;
}

h1:focus {
    outline: none;
}

.navbar {
    z-index: 1100;
}

    .navbar + .navbar {
        z-index: 1022;
    }


.navbar-nav .dropdown-menu {
    overflow-y: auto;
    max-height: calc(100vh - 140px);
}

.utia-portal-nav {
    border-bottom: 5px solid #ff8300 !important;
    min-height: 61px;
    margin-top: 56px;
}

.utia-bg {
    background-color: #333d47;
}


/* Calendar */
.utia-event-cal-weekday, .utia-event-cal-month, .utia-event-cal-day {
    float: left;
    margin-right: 5px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding: 15px;
    margin-top: 10px;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

body {
    padding-top: 105px;
}

.customShadow {
    background-color: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
    box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

@media (min-width:1200px) {
    .fh-fixedHeader {
        position: sticky; /* Fix to the top */
        position: -webkit-sticky;
        top: 0;
        padding: 5px;
        background-color: rgba(204, 204, 204, 0.95); /* hide the scrolling table */
        z-index: 2000;
    }
}


@media (max-width:1000px) {
    table.dataTable.fixedHeader-floating {
        position: relative !important;
    }
}



.dataTables_wrapper {
    padding-right: 0;
}

@media (min-width: 576px) {
    .container {
        max-width: 95%;
    }
}

@media (min-width: 1200px) {
    .container {
        /*max-width: 1190px;*/
        max-width: 90%;
    }
}


/* Set widths on the form inputs since otherwise they're 100% wide */
/*input, select, textarea {
    max-width: 280px;
}*/

table, table-responsive {
    background-color: white !important;
}


/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}



/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/*UTIA BRANDING*/

.top-buffer {
    margin-top: 20px;
}

html {
    position: relative;
    min-height: 100%;
    /*background-color:  rgba(204, 204, 204, 0.85);*/
}



::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    z-index: 1;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 1px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #a6a6a6;
    }

html, body * {
    scrollbar-color: #c4c4c4 transparent;
    scrollbar-width: thin;
}



/* Wrapping element */



/* Set widths on the form inputs since otherwise they're 100% wide */
/*input,
select,
textarea {
    max-width: 99%;
}*/

.readOnlyCursor {
    cursor: not-allowed;
}

input[readonly] {
    cursor: not-allowed;
}

/*Nav*/
.navbar-inverse {
    background-color: #333d47;
    border-color: #FF8300;
}

.main-logo {
    background-color: rgba(255, 255, 255, 0.53);
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none
    }
}

.padding-top {
    padding-top: 10px;
}

.padding-bottom {
    padding-bottom: 10px;
}




.text-success {
    color: #6CC049;
}

/*footer*/



.site-footer {
    border-top: 1px solid #FF8300;
    background-color: #333d47;
    position: absolute;
    max-height: 200px;
    bottom: 0;
    width: 100%;
}


.table-nav-footer {
    position: sticky; /* Fix to the top */
    position: -webkit-sticky;
    bottom: 0;
    padding: 5px;
    background-color: rgba(254, 254, 254, 0.95); /* hide the scrolling table */
    z-index: 98;
}

.table-nav-footer-fixed {
    position: fixed;
    bottom: 0;
    padding: 5px;
    background-color: rgba(254, 254, 254, 0.95); /* hide the scrolling table */
    z-index: 98;
}


.bottom-align-text {
    text-align: right;
    bottom: 0;
    right: 0;
    float: right;
}


.dropdown-menu {
    min-width:0;
    width:max-content;
    max-width:70vw;
    z-index: 1020;
}

.dropdown-item.active, .dropdown-item:active {
    color: black;
}

/* Scroll to Top button styles*/
.scrolltop {
    display: none;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 99;
}

.scrolltop {
    display: none;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
}

.scroll {
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: rgba(255, 255, 255, 0.6);
    padding: .5em .75em;
    text-align: center;
    margin: 0 0 0 0;
    cursor: pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    border-radius: 10px;
}

    .scroll:hover {
        background: #e4e8e9;
        transition: 0.5s;
        -moz-transition: 0.5s;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
    }

        .scroll:hover .fa {
            padding-top: -10px;
        }

    .scroll .fa {
        font-size: 30px;
        transition: 0.5s;
        -moz-transition: 0.5s;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
    }

/* SPINNER */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 24px;
}

    .lds-ellipsis div {
        position: absolute;
        /* top: 33px;*/
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: black;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/* Profile Stylings */

.profilePic {
    border-radius: 50%;
    max-width: 250px;
}

/* Dialog Styling */

/*.ui-widget {
    font-family: Verdana,Arial,sans-serif;
    font-size: .8em;
}*/

.ui-widget-content {
    /*Change the dialog border color here*/
    border: 1px solid #343a40;
    color: #222222;
}

.ui-dialog {
    left: 0;
    outline: 0 none;
    padding: 0 !important;
    position: absolute;
    top: 0;
    -webkit-box-shadow: 3px 3px 5px 6px #777; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 3px 3px 5px 6px #777; /* Firefox 3.5 - 3.6 */
    box-shadow: 3px 3px 5px 6px #777; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
    border-radius: 5px;
}

#success {
    padding: 0;
    margin: 0;
}

.ui-dialog .ui-dialog-content {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    overflow: auto;
    position: relative;
    padding: 0 !important;
}

.ui-widget-header {
    /*Change the Header color here*/
    background: #343a40;
    border: 0;
    color: #fff;
    font-weight: normal;
}

.ui-dialog .ui-dialog-titlebar {
    padding: 0.1em .5em;
    position: relative;
    font-size: 1.5em;
}

.modal-content {
    border-radius: 1rem;
    box-shadow: 0 8px 32px -8px rgba(51, 61, 71, 0.15);
}

.modal-dialog-scrollable .modal-content {
    overflow-y: auto;
}
/*Media Queries*/
@media (min-width: 300px) and (max-width: 991px) {

    .footer-logo {
        margin: 0;
    }

    .footer-image-align {
        height: 60px;
    }

    .bottom-align-text {
        text-align: center;
        color: white;
    }

    .footer-logo {
        max-height: 80px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* UTIA Color*/

a {
    color: #5c666f
}


.utiaDarkBlue {
    background-color: #003e70;
    color: #fff !important;
}



.card-header {
    background-color: #fff;
}


#saveMembersBtn {
    display: none;
}


.utia-button {
    border: 2px solid;
}

    .utia-button:hover {
        color: white;
        background-color: #5c666f;
    }

.agresearch-btn {
    border-color: #1e345d;
}


.cvm-btn {
    border-color: #5c666f;
}

.utia-btn {
    border-color: #333d47;
}

.utia-btn-inv {
    background-color: #333d47;
    color: #fff;
}

    .utia-btn-inv:hover {
        background-color: #000;
        color: #fff;
    }

.utia-events {
    width: 100%;
    height: 450px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-bottom: 20px;
}


.utia-event {
    border: 1px solid #444;
    text-align: center;
    background: #fff;
    height: calc((100% - 30px) / 2);
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.utia-event-cal-day {
    float: left;
}


.utia-event-info {
    clear: both;
    text-align: left;
    padding: 4px;
}

.utia-event-cal {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: bold;
    padding: 2px;
}


.utia-event {
    display: inline-block;
    padding: 4px;
}

.mud-popover-provider {
    z-index: 9999;
}

.utia-left-nav {
    border-bottom: 1px solid #333d47;
    border-radius: 0;
}

    .utia-left-nav:hover {
        background-color: #333d47;
        color: white;
    }

    .utia-left-nav.active {
        /*  background-color: #333d47;
        color: white;*/
        border-bottom: 3px solid rgb(255, 131, 0)
    }

@media screen and (min-width:1024px) {
    .utia-left-nav.active {
        /*  background-color: #333d47;
        color: white;*/
        border-bottom: 1px solid #333d47;
        border-left: 5px solid rgb(255, 131, 0)
    }
}

/* Publications section */
.closebtn {
    margin-left: 15px;
    color: #333d47;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
}

    .closebtn:hover {
        color: black;
    }

.upload-helper-text {
    padding-top: 2px;
    font-weight: normal;
}

.upload-author-text {
    padding-left: 10px;
    font-weight: normal;
}

.upload-alert {
    position: fixed;
    width: 83%;
    justify-self: center;
    opacity: 100;
}

.utia-alert {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.block {
    display: block;
    width: 100%;
    text-align: center;
}

.table thead th.title-header {
    width: 200px;
    min-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table thead th.title-header,
.table tbody td.title-column {
    width: 200px;
    min-width: 100px;
}

.table {
    table-layout: fixed;
}

@media (max-width:1800px) {
    .table th, .table td {
        padding: 2px;
        font-size: 14px;
    }
}

@media (max-width:1557px) {
    .table th, .table td {
        padding: 2px;
        font-size: 12px;
    }
}

@media (max-width:1494px) {
    .table th, .table td {
        padding: 2px;
        font-size: 10px;
    }
}

@media (max-width:1055px) {
    .table th, .table td {
        padding: 2px;
        font-size: 8px;
    }
}

@media (max-width:890px) {
    .table th, .table td {
        padding: 2px;
        font-size: 8px;
    }
}

@media (max-width:768px) {
    .table th, .table td {
        padding: 2px;
        font-size: 8px;
    }
}

.table tr {
    vertical-align: middle;
}

.bg-utgray {
    background-color: #333d47 !important;
    border-color: #333d47 !important;
}

.bg-utorange {
    background-color: rgb(255, 131, 0) !important;
    border-color: rgb(255, 131, 0) !important;
}

.card-header-utorange {
    border-bottom: 3px solid rgb(255, 131, 0) !important;
}

.table-arrow-unset {
    --fa-primary-opacity: .4;
    --fa-secondary-opacity: .4;
}

.table-arrow-asc {
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: .4;
}

.table-arrow-desc {
    --fa-primary-opacity: .4;
    --fa-secondary-opacity: 1;
}

.h2-small-font-size {
    font-size: 1.5rem;
}

.mudselect-class {
    padding: 10px;
}


.reduced-spacing {
    margin-bottom: 0.15rem !important;
    padding-bottom: 0.15rem !important;
}


.petition {
    --sidebar-bg: #333d47;
    --sidebar-text: #f5f7fa;
    --sidebar-hover: rgba(255,255,255,0.08);
    --sidebar-active-bg: rgba(255,255,255,0.12);
    --accent: rgba(255, 131, 0);
    font-size: 1rem; /* base */
}

.petition-sidebar-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Sidebar */
.petition-sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    padding: 1rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem; /* larger nav text */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.petition-nav-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    padding-left: 0.5rem;
}

ul.petition-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow: auto;
}

.petition-nav-link {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--sidebar-text) !important;
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-radius: 0.35rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    transition: background .15s;
    font-size: 1rem;
}

    .petition-nav-link:hover:not(.disabled) {
        background: var(--sidebar-hover);
        text-decoration: none;
    }

    .petition-nav-link.active {
        background: var(--sidebar-active-bg);
        font-weight: 700;
    }

        .petition-nav-link.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 6px;
            bottom: 6px;
            width: 4px;
            background: var(--accent);
            border-radius: 0 4px 4px 0;
        }

    .petition-nav-link.disabled,
    .petition-nav-link[aria-disabled="true"] {
        color: rgba(255,255,255,0.4) !important;
        cursor: default;
        pointer-events: none;
    }

.petition .petition-modern-card {
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    box-shadow: 0 12px 32px -8px rgba(51, 61, 71, 0.1);
    overflow: hidden;
}

.petition .petition-card-title {
    font-size: 1.75rem;
    line-height: 1.1;
}


@media (max-width: 991px) {
    .petition .card-header {
        padding: 0.75rem;
    }

    .petition .input-group {
        width: 100%;
    }

    .petition .petition-card-title {
        font-size: 1.5rem;
    }
}

.petition .badge {
    font-size: 0.75rem;
    padding: 0.45em 0.75em;
}

.petition .ribbon-heading {
    background-color: #333d47;
    border-radius: 0.5rem 0.5rem 0 0;
    display: inline-block;
    padding: 0.5rem 1rem;
    letter-spacing: 0.5px;
}

.action-ribbon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    text-align: center;
}

    .action-ribbon .ribbon-label {
        color: #f0f0f0;
        margin-top: -2px;
        font-weight: 600;
    }

.ribbon-container {
    display: inline-block;
    padding: 10px;
    font-size: 12px;
    text-align: center;
    vertical-align: middle !important;
}

.ribbon-content .form-floating {
    max-width: 250px;
}

.ribbon-icon {
    vertical-align: middle;
    display: block;
}

    .ribbon-icon.spinner-border {
        width: 30px;
        height: 30px;
    }

    .ribbon-icon .rounded-circle {
        min-width: 30px;
    }

.ribbon-heading {
    background-color: #435153;
}

@media (max-width: 991px) {
    .petition .card-header {
        padding-bottom: 1rem;
    }
}

.petition .petition-menu-card {
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px -6px rgba(51, 61, 71, 0.15);
    overflow: hidden;
    border: none;
}

.petition .petition-scroll-menu {
    max-height: 50vh;
    overflow-y: auto;
    padding: 0.25rem 0;
}


.table-limited {
    max-height: 70vh;
    min-height: 40vh;
    overflow-y: auto;
}

    .table-limited .table {
        table-layout: fixed;
        min-width: 1250px;
        height: fit-content;
    }

    .table-limited thead {
        position: sticky;
        top: 0;
        z-index: 1000;
        border: none !important;
        background-color: #fff;
    }

    .table-limited .table col {
        min-width: 60px;
    }

@-moz-document url-prefix() {
    .table-limited .table col {
        width: 60px;
    }
}


@media (max-width: 991px) {
    .table-limited .table {
        table-layout: auto;
        min-width: 700px;
        height: fit-content;
    }
}

.form-floating-md > .form-control,
.form-floating-md > .form-control-plaintext,
.form-floating-md > .form-select {
    height: calc(3rem + 2px) !important;
    line-height: 1;
}

.form-floating-md > label {
    padding: .75rem 0.75rem !important;
}

.form-floating-md > .form-select {
    padding-top: 1.25rem !important;
    padding-bottom: 0 !important;
}

.bg-accessible-light {
    background-color: #f8f9fa !important;
    color: #333d47 !important;
}

.bg-accessible-blue {
    background-color: #435153 !important; /* Accessible, complements #333d47 */
    color: #fff !important;
}

.bg-accessible-navy {
    background-color: #1b2a36 !important; /* Deep navy */
    color: #fff !important;
}

.bg-accessible-teal {
    background-color: #2c6e6c !important; /* Muted teal */
    color: #fff !important;
}

.bg-accessible-slate {
    background-color: #4a5568 !important; /* Slate gray */
    color: #fff !important;
}

.bg-accessible-steel {
    background-color: #5a6d7a !important; /* Steel blue */
    color: #fff !important;
}

.text-bright-green {
    color: #6CC049 !important; /* Bright green */
}

.tab-nav-accent .nav-link {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    color: #495057; /* default muted text */
    border: 1px solid transparent;
}

    .tab-nav-accent .nav-link:hover,
    .tab-nav-accent .nav-link:focus {
        background-color: #f8f9fa;
        border-color: #0d6efd; /* Bootstrap primary */
        color: #0d6efd;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        text-decoration: none;
    }

    .tab-nav-accent .nav-link.active {
        background-color: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(13,110,253,0.4);
    }

.bg-teal {
    background-color: #20c997 !important;
}

.bg-cyan {
    background-color: #0dcaf0 !important;
}

.bg-indigo {
    background-color: #6610f2 !important;
}

:root {
    --bs-primary: #115EA3;
    --bs-success: #107C10;
    --bs-warning: #FFB900;
    --bs-danger: #D13438;
    --bs-info: #0F6CBD;
    --bs-body-bg: #F5F5F5;
    --bs-body-color: #1F1F1F;
    --card-radius: 0.75rem;
    --bs-indigo-500: #5B5FC7; /* Fluent Indigo */
    --bs-teal-500: #0F766E; /* Calm teal */
    --bs-rose-500: #E11D48; /* Accent rose */
    --utia-accent-slate: #5c666f;
}

.card-fluent {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--card-radius);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

    .card-fluent .card-header {
        background: #fff !important;
        border-bottom: 1px solid rgba(0,0,0,.06);
        padding-block: .75rem;
    }

.card-header-title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: #333d47;
}

.accent-left {
    border-left: .35rem solid var(--bs-primary);
    border-radius: var(--card-radius);
}

.accent-left-slate {
    border-left-color: var(--utia-accent-slate);
}

/* Publications: Pub Number button */
.pub-number-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    border: 1px solid #0d6efd;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.1;
    box-shadow: 0 1px 0 rgba(0,0,0,.10);
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
    text-decoration: none;
}

    .pub-number-btn:hover,
    .pub-number-btn:focus-visible {
        background: #0b5ed7; /* Bootstrap primary hover */
        border-color: #0b5ed7;
        box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
        transform: translateY(-1px);
    }

    .pub-number-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(13, 110, 253, 0.18);
    }

    .pub-number-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 .2rem rgba(13, 110, 253, 0.28), 0 6px 16px rgba(13, 110, 253, 0.22);
    }

.accent-left-success {
    border-left-color: var(--bs-success)
}

.accent-left-info {
    border-left-color: var(--bs-info);
}

.accent-left-warning {
    border-left-color: var(--bs-warning);
}

.accent-left-danger {
    border-left-color: var(--bs-danger);
}

.accent-left-secondary {
    border-left-color: var(--bs-secondary);
}

.accent-left-indigo {
    border-left-color: var(--bs-indigo-500);
}

.accent-left-teal {
    border-left-color: var(--bs-teal-500);
}

.accent-left-rose {
    border-left-color: var(--bs-rose-500);
}

.header-pill {
    display: inline-block;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bs-primary) 12%, white);
    color: var(--bs-primary);
}

.header-pill-more-padding {
    display: inline-block;
    font-weight: 600;
    padding: .6rem .6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bs-primary) 12%, white);
    color: var(--bs-primary);
}

.avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-md {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-lg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-xl {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-panel {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: .75rem;
    border-radius: .9rem;
    background: color-mix(in srgb, var(--bs-body-bg) 88%, var(--bs-primary) 12%);
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.profile-avatar-panel .avatar-xl {
    border: 3px solid rgba(255,255,255,.9);
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.profile-avatar-actions {
    justify-content: center;
}

.profile-field-label {
    display: inline-block;
    min-width: 11rem; /* aligns values nicely */
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--bs-body-color);
    opacity: .9;
}

.profile-inline-label {
    min-width: unset; /* inline label; don't force alignment */
    margin-right: .35rem;
}

.label-muted {
    display: inline-block;
    min-width: 11rem; /* aligns values nicely */
    color: #6B7280; /* neutral-500 */
    font-weight: 600;
}

.page-title {
    font-weight: 600;
    font-size: 2.25rem; /* slightly bigger than default h1 */
    color: var(--bs-body-color);
    margin-bottom: .5rem;
}

    .page-title::after {
        content: "";
        display: block;
        width: 125px; /* short accent underline */
        height: 4px;
        margin: 0.5rem auto 0;
        background: var(--utia-accent-slate);
        border-radius: 2px;
    }

.text-subtle {
    color: #495057; /* Bootstrap's text-secondary */
}

.message-item + .message-item {
    border-top: 1px solid rgba(0,0,0,.06);
}

/* Title wrap & readability */
.message-title {
    line-height: 1.25;
    word-wrap: break-word;
}

.message-text p {
    margin-bottom: .5rem;
}

.empty-state {
    background: var(--bs-body-bg);
    border: 1px dashed rgba(0,0,0,.12);
    border-radius: .75rem;
}

.card-body ul li a {
    font-size: .95rem;
}

.btn-sm.btn-outline-secondary {
    border-radius: .5rem;
    font-weight: 500;
    padding: .25rem .5rem;
}

    .btn-sm.btn-outline-secondary:hover {
        background-color: rgba(0,0,0,.04);
    }

.pill-action {
    border: none;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    padding: .35rem .85rem;
    transition: background-color .2s, color .2s;
    cursor: pointer;
}

.pill-primary {
    background-color: var(--bs-primary);
    color: #fff;
}

    .pill-primary:hover {
        background-color: color-mix(in srgb, var(--bs-primary) 90%, black);
    }

.pill-secondary {
    background-color: #f3f3f3;
    color: #444;
}

    .pill-secondary:hover {
        background-color: #e5e5e5;
    }

.pill-danger {
    background-color: #b02a37;
    color: #fff;
}

    .pill-danger:hover {
        background-color: #ffe0e0;
        color: #333d47;
    }

.pill-success {
    background: var(--bs-success);
    color: #fff
}

    .pill-success:hover {
        background: color-mix(in srgb,var(--bs-success) 90%, black)
    }

.pill-warning {
    background-color: var(--bs-warning, #ffc107);
    color: var(--bs-dark, #212529);
}

    .pill-warning:hover {
        background-color: color-mix(in srgb, var(--bs-warning, #ffc107) 90%, black);
        color: var(--bs-dark, #212529);
    }


/* List layout */
.contact-list {
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .5rem 0;
    border-top: 1px solid rgba(0,0,0,.06);
}

    .contact-item:first-child {
        border-top: 0;
    }

.icon-circle {
    flex: 0 0 32px; /* keeps it inside card */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--bs-info) 12%, #fff);
    color: var(--bs-info);
    font-size: .9rem;
}

.contact-body {
    flex: 1;
    line-height: 1.25;
}

/* Degrees (mobile + table) styling */
.degree-list-table .col-actions {
    width: 1%;
    white-space: nowrap;
}

.degree-list-table th,
.degree-list-table td {
    vertical-align: middle;
}

.degree-list-table td {
    overflow-wrap: anywhere;
}

.degree-list-table thead th {
    font-weight: 800;
    color: var(--bs-body-color);
}

.degree-list-mobile {
    display: none;
}

.degree-mobile-row {
    position: relative;
    background: color-mix(in srgb, var(--bs-body-bg) 92%, var(--bs-primary) 8%);
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: .9rem;
    padding: .9rem .9rem .85rem;
    margin-bottom: .9rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.degree-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .7rem;
    justify-content: flex-end;
}

.degree-mobile-actions .btn.btn-link {
    color: color-mix(in srgb, var(--bs-body-color) 72%, var(--bs-primary) 28%);
}

.degree-mobile-meta {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: .35rem .75rem;
    line-height: 1.25;
}

.degree-mobile-label {
    font-weight: 800;
    color: var(--bs-body-color);
    opacity: .85;
}

.degree-mobile-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .degree-list-table-wrap {
        display: none !important;
    }

    .degree-list-mobile {
        display: block;
    }

    .degree-mobile-meta {
        grid-template-columns: 118px 1fr;
        gap: .25rem .6rem;
    }

    .degree-mobile-actions {
        gap: .25rem;
    }
}

.navbar .nav-link {
    color: white;
}

.hero-fluent {
    min-height: auto;
    padding: 2rem 0;
}

.hero-accent {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
}

.autocomplete-list {
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba( 0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    position: absolute;
    width: 97%;
    margin-right: 5px;
    margin-left: 5px;
    top: 100%;
    z-index: 9999;
}

    .autocomplete-list li {
        padding: 10px;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out;
        font-size: 16px;
    }

        .autocomplete-list li:hover {
            background-color: #f8f9fa;
        }

        .autocomplete-list li.selected {
            background-color: #f8f9fa;
            color: #fff;
        }

    .autocomplete-list li.autocomplete-item-selected {
        background: color-mix(in srgb, #333d47 8%, #fff);
        border-left: 4px solid #333d47;
        font-weight: 700;
    }

    .autocomplete-list li.autocomplete-item-disabled {
        opacity: 0.55;
        background: repeating-linear-gradient(
          -45deg,
          rgba(0,0,0,0.02),
          rgba(0,0,0,0.02) 8px,
          rgba(0,0,0,0.00) 8px,
          rgba(0,0,0,0.00) 16px
        );
    }

    .autocomplete-item-badge {
        float: right;
        font-size: 0.75rem;
        font-weight: 700;
        padding: .15rem .45rem;
        border-radius: 999px;
        background: rgba(51, 61, 71, 0.10);
        color: #333d47;
        margin-left: .5rem;
    }


.autocomplete-clear .fa-xmark {
    color: #8f979e;
}

.autocomplete-clear:hover {
    background-color: #8f979e;
    color: #fff;
}

    .autocomplete-clear:hover > .fa-xmark {
        color: #fff;
    }

.reverse {
    top: auto;
    bottom: 100%;
}

.utia-autocomplete-wrapper {
    position: relative;
}

#utia-modal .autocomplete-list {
    top: 100% !important;
    bottom: auto !important;
}

    #utia-modal .autocomplete-list.reverse {
        top: auto !important;
        bottom: 100% !important;
    }



#utia-modal .modal-content {

    display: flex;
    flex-direction: column;
}

#utia-modal .modal-body {
    flex: 1 1 auto;

}

.email-signature-root {
    display: contents;
}

.modal {
    overscroll-behavior-y: contain;
}

.offcanvas {
    z-index: 1100;
}
