@font-face {
    font-family: 'Roboto Condensed';
    src: url('/fonts/Roboto/static/Roboto_Condensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    font-size: 18px;
}
.top-left-logo {
    height: 65px !important;
    width: auto !important;
    object-fit: contain !important;
    max-height: 100% !important;
}
/* --- Navigation & Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1060; /* Increased to ensure it stays above dropdowns */
}

.navbar {
    height: 80px; /* consistent nav height for calculations */
    background-color: #ffffff !important;
    color: #3a06d3 !important;
    font-size: 18px;
}
.navbar-toggler-v-icon {
    color: rgb(76, 4, 144);
    background-color: #ffffff !important;
    border: 0 !important;
}
/* Mobile dropdown handling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
}
.navbar-collapse.show {
    /*position: fixed !important;*/
    top: 80px; /* height of your navbar */
    left: 0;
    width: 100%;
    background: white;
    z-index: 1055; /* higher than main */
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

footer {
    background-color: #2E0F38;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.container {
    padding: 40px 20px;
}

h1 {
    color: #903be0;
    font-size: 2.4rem !important;
    margin-bottom: 20px;
    border-bottom: 3px solid #903be0;
    padding-bottom: 10px;
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important;
}

h2 {
    color: #0056b3;
    font-size: 1.6rem !important;
    margin-top: 40px;
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important;
}
.tiny {
    font-size: 14px !important;
}
.narrow{
    font-family: 'Roboto Condensed', 'Arial Narrow',sans-serif;
}

/* Target the nav container and every element inside EXCEPT Font Awesome icons */
nav.narrow,
nav.narrow *:not(.fas):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa) {
    font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif !important;
    font-stretch: condensed !important;
    letter-spacing: -0.2px !important;
}

    /* Tighten horizontal padding for nav links to maximize spatial savings */
    nav.narrow .nav-link,
    nav.narrow .dropdown-item {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
/* --- Utility Colors --- */
.bg-ultimate {
    background-color: #7907e4;
}

.text-ultimate {
    color: rgb(121, 7, 228);
}

.text-ultimate-light {
    color: #892ae3e6 !important;
    text-shadow: 1px 1px 1px #ffffff !important;
}

.border-ultimate {
    border-color: rgb(76, 4, 144);
}

/* Fixed: Changed rgb() to rgba() for alpha transparency */
.table-ultimate {
    background-color: rgba(121, 7, 228, 0.7);
    color: white;
}
.icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: -4px;
}

.icon-sm {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}

.icon-md {
    width: 24px;
    height: 24px;
    vertical-align: -4px;
}

.icon-lg {
    width: 32px;
    height: 32px;
    vertical-align: -6px;
}

.icon-xl {
    width: 40px;
    height: 40px;
    vertical-align: -8px;
}

.icon-farmhouse {
    background-image: url('/icons/farm-house.svg');
}
.icon-github {
    background-image: url('/images/github-icon.svg');
}

.icon-discord {
    background-image: url('/images/discord-icon.svg');
}