html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

main > .container {
    padding: 70px 15px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.not-set {
    color: var(--bs-danger);
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--bs-body-color);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--bs-body-color);
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: var(--bs-secondary-color);
}

.error-summary {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
    border-left: 3px solid var(--bs-danger-border-subtle);
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align navbar brand baseline with nav links */
.navbar > .container,
.navbar > .container-fluid {
    align-items: baseline;
}

/* style navbar logout link color, hover state, and mobile layout */
.navbar-nav .nav-link.logout {
    color: var(--bs-navbar-color);
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-link.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar-nav .nav-link.logout:focus,
.navbar-nav .nav-link.logout:hover {
    color: var(--bs-navbar-hover-color);
}



/* footer logo: light logo by default (light bg-body-tertiary), dark logo for dark theme */
.footer-logo-dark { display: none; }

[data-bs-theme="dark"] .footer-logo-light { display: none; }
[data-bs-theme="dark"] .footer-logo-dark  { display: inline-block; }

/* Yii brand button */
.btn-yii {
    background: linear-gradient(135deg, #40B3D8, #3a9cbd);
    border: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: opacity .2s, transform .1s;
}

.btn-yii:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.btn-yii:active {
    transform: translateY(0);
}

/* form inputs: seamless icon inside input (Volt style) */
.form-card .input-group {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-card .input-group .input-group-text {
    background: var(--bs-body-bg);
    border: 0;
    padding-left: 1rem;
    padding-right: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card .input-group .form-control {
    border: 0;
}

.form-card .input-group .form-control:focus {
    box-shadow: none;
}

.form-card .input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

/* validation styles for browsers that support :has() */
@supports selector(.input-group:has(.is-invalid)) {
    .form-card .input-group:has(.is-invalid) ~ .invalid-feedback {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .form-card .input-group:has(.is-invalid) {
        border-color: var(--bs-danger);
    }

    .form-card .input-group:has(.is-invalid):focus-within {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* fallback validation styles for browsers without :has() support */
@supports not selector(.input-group:has(.is-invalid)) {
    .form-card .invalid-feedback:not(:empty) {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .form-card .input-group .form-control.is-invalid {
        border: var(--bs-border-width) solid var(--bs-danger);
    }

    .form-card .input-group .form-control.is-invalid:focus {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* login inputs: seamless icon inside input (Volt style) */
.login-split-card .input-group {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.login-split-card .input-group .input-group-text {
    background: transparent;
    border: 0;
    padding-left: 1rem;
    padding-right: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-split-card .input-group .form-control {
    border: 0;
    background: transparent;
}

.login-split-card .input-group .form-control:focus {
    box-shadow: none;
}

.login-split-card .input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

/* validation styles for login split card (browsers with :has()) */
@supports selector(.input-group:has(.is-invalid)) {
    .login-split-card .input-group:has(.is-invalid) ~ .invalid-feedback {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .login-split-card .input-group:has(.is-invalid) {
        border-color: var(--bs-danger);
    }

    .login-split-card .input-group:has(.is-invalid):focus-within {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* fallback validation styles for login split card (browsers without :has()) */
@supports not selector(.input-group:has(.is-invalid)) {
    .login-split-card .invalid-feedback:not(:empty) {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .login-split-card .input-group .form-control.is-invalid {
        border: var(--bs-border-width) solid var(--bs-danger);
    }

    .login-split-card .input-group .form-control.is-invalid:focus {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* login split card */
.login-split-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
    background-color: var(--bs-gray-100);
    width: 100%;
    max-width: 900px;
}

.login-split-card-wide {
    max-width: 960px;
}

.login-brand-title {
    font-size: 1.75rem;
    line-height: 1.3;
}

.login-brand-text {
    font-size: .9rem;
}

.login-brand-panel {
    background: linear-gradient(135deg, #40B3D8 0%, #3a9cbd 40%, #83C933 100%);
    position: relative;
    min-height: 480px;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(241, 138, 42, .25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(131, 201, 51, .2) 0%, transparent 40%);
    pointer-events: none;
}

.login-btn {
    background: linear-gradient(135deg, #40B3D8, #3a9cbd);
    border: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: opacity .2s, transform .1s;
}

.login-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

/* dark mode login card */
[data-bs-theme="dark"] .login-split-card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 4px 24px rgba(0, 0, 0, .4);
}

[data-bs-theme="dark"] .login-mobile-logo {
    filter: invert(1);
}

/* contact form textarea height */
.site-contact textarea.form-control {
    height: 140px;
}

/* form cards */
.form-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
}

/* dark mode: elevate form cards against dark background */
[data-bs-theme="dark"] .form-card {
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 4px 24px rgba(0, 0, 0, .4);
}

/* captcha: blend with card background */
.site-contact img[src*="captcha"] {
    border-radius: var(--bs-border-radius);
    mix-blend-mode: multiply;
}

/* dark mode: invert captcha for visibility on dark background */
[data-bs-theme="dark"] .site-contact img[src*="captcha"] {
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
}

/* centered page layout */
.site-login,
.site-signup,
.site-contact,
.site-request-password-reset,
.site-reset-password,
.site-resend-verification-email,
.site-index,
.site-error,
.site-about {
    flex: 1;
}

.site-error .site-error-content,
.site-about .site-about-content {
    width: 100%;
    max-width: 90%;
}

@media (min-width: 576px) {
    .site-error .site-error-content,
    .site-about .site-about-content {
        max-width: 80%;
    }
}

@media (min-width: 768px) {
    .site-error .site-error-content,
    .site-about .site-about-content {
        max-width: 60%;
    }
}

@media (min-width: 992px) {
    .site-error .site-error-content,
    .site-about .site-about-content {
        max-width: 50%;
    }
}

/* hero banner */
.hero-banner {
    background: linear-gradient(135deg, #83C933 0%, #3a9cbd 40%, #40B3D8 100%);
    position: relative;
}

.hero-lead {
    max-width: 520px;
}

.hero-logo {
    height: 120px;
    opacity: .45;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 15% 85%, rgba(241, 138, 42, .3) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(131, 201, 51, .25) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(64, 179, 216, .15) 0%, transparent 60%);
    pointer-events: none;
}

/* extension cards */
.extension-card {
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.extension-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important;
}

.extension-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* dark mode: extension cards */
[data-bs-theme="dark"] .extension-card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 2px 8px rgba(0, 0, 0, .3);
}

[data-bs-theme="dark"] .extension-card:hover {
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 8px 24px rgba(0, 0, 0, .4) !important;
}

/* Fix duplicate caret arrow in Summernote Lite when used with Bootstrap 5 */
.note-editor .dropdown-toggle::after,
.note-editor .btn.dropdown-toggle::after,
.note-editor .note-btn.dropdown-toggle::after,
.note-dropdown-menu .dropdown-toggle::after {
    display: none !important;
}

/* Conference content spacing reset */
.conference-content > *:first-child {
    margin-top: 0 !important;
}

/* Conference header light-blue card */
.conference-glass-card {
    background: linear-gradient(180deg, #f2f7fd 0%, #e6f1fc 100%) !important;
    border: 1px solid #cbe3f7 !important;
    box-shadow: 0 6px 20px rgba(25, 90, 160, 0.07) !important;
}

.conference-glass-card .card-body {
    position: relative;
    z-index: 1;
}

.conference-glass-card img {
    opacity: 1 !important;
    filter: none !important;
}

.conference-glass-card h1,
.conference-glass-card div {
    color: #212529;
}

/* Select2 input group with attached stretching button */
.input-group > .select2-container--bootstrap-5 {
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

.input-group > .select2-container--bootstrap-5 .select2-selection {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    min-height: 38px;
    height: 100%;
    margin-bottom: 0 !important;
}

.input-group > .select2-container--bootstrap-5 .select2-selection--multiple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 38px;
    height: 100%;
}

.input-group > .btn-select2-add {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    padding: 0.375rem 0.75rem !important;
    line-height: 1 !important;
    margin-left: -1px !important;
    z-index: 3 !important;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
    border-color: #0d6efd !important;
    transition: all 0.2s ease !important;
}

.input-group > .btn-select2-add:hover {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca) !important;
    filter: brightness(1.08);
}

/* ==========================================================================
   Universal Modern Theme & Design System (Site-Wide)
   ========================================================================== */

/* Typography & Global Resets */
body {
    color: #1e293b;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* Universal Card Styling */
.card {
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 25px -5px rgba(15, 45, 90, 0.06), 0 2px 8px -2px rgba(15, 45, 90, 0.03) !important;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.card-footer {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 0.85rem 1.25rem;
}

/* Universal Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.375rem 1.15rem;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 38px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn:active {
    transform: translateY(0) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #004494 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(100, 116, 139, 0.35);
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.btn-info:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(6, 182, 212, 0.35);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}

.btn-light {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-light:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Outline Buttons */
.btn-outline-primary {
    background: #ffffff;
    border: 1.5px solid #0d6efd !important;
    color: #0d6efd !important;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.1);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.btn-outline-secondary {
    background: #ffffff;
    border: 1.5px solid #64748b !important;
    color: #475569 !important;
    box-shadow: 0 2px 6px rgba(100, 116, 139, 0.1);
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(100, 116, 139, 0.3);
}

.btn-outline-success {
    background: #ffffff;
    border: 1.5px solid #10b981 !important;
    color: #059669 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.btn-outline-danger {
    background: #ffffff;
    border: 1.5px solid #ef4444 !important;
    color: #dc2626 !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.1);
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.3);
}

.btn-outline-info {
    background: #ffffff;
    border: 1.5px solid #06b6d4 !important;
    color: #0891b2 !important;
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.1);
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3);
}

.btn-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.84rem;
    min-height: unset !important;
    border-radius: 6px;
}

.btn-file-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    min-height: unset !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;
    margin: 2px 0;
}

.btn-file-badge:hover {
    transform: translateY(-1px) !important;
}

/* Universal Form Controls */
.form-label, label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.form-control,
.form-select,
.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.94rem;
    padding: 0.45rem 0.85rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
}

/* Perfect alignment helpers for search/filter toolbars */
.form-filter-control {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 0.92rem !important;
    padding: 0.45rem 0.85rem !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.form-filter-btn {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 0.92rem !important;
    padding: 0.45rem 1rem !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.form-control:hover,
.form-select:hover,
.select2-container--bootstrap-5 .select2-selection:hover {
    border-color: #94a3b8;
    background-color: #fafcff;
}

.form-control:focus,
.form-select:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.15) !important;
    background-color: #ffffff;
}

.form-text {
    font-size: 0.82rem;
    color: #64748b;
}

/* Universal Table & GridView Styling */
.table {
    --bs-table-bg: transparent;
    vertical-align: middle;
}

.grid-view .table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.9rem 1rem;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.grid-view .table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.93rem;
}

.table-hover tbody tr:hover {
    background-color: #f8fbff !important;
}

/* Universal Badges */
.badge {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.4em 0.7em;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.badge.bg-success {
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0;
}

.badge.bg-danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca;
}

.badge.bg-primary {
    background: #dbeafe !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe;
}

.badge.bg-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a;
}

.badge.bg-secondary,
.badge.bg-light {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
}

/* Universal Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
    color: #004494;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #64748b;
    font-weight: 600;
}

/* Universal Pagination */
.pagination {
    gap: 4px;
    margin-top: 1.25rem;
}

.page-item .page-link {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
    transition: all 0.2s ease;
}

.page-item .page-link:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #0d6efd;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

/* Universal Alerts */
.alert {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 1rem 1.25rem;
    font-size: 0.94rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.alert-primary {
    background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
    border-color: #bfdbfe !important;
    color: #1e40af !important;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7) !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
    border-color: #fde68a !important;
    color: #92400e !important;
}

/* Navbar Modern Styling */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s ease;
    border-radius: 6px;
    padding: 0.4rem 0.75rem !important;
}

.navbar .nav-link:hover {
    color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.06);
}

.navbar .nav-item.active .nav-link,
.navbar .nav-link.active {
    color: #0d6efd !important;
    font-weight: 700;
}

/* Universal Modal Enhancements */
.modal-content {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden;
}

.modal-content .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
}

.modal-content .modal-body {
    padding: 1.5rem;
}

.modal-content .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 1rem 1.5rem;
}

/* ==========================================================================
   Signup / Application Specific Accents
   ========================================================================== */

.site-signup .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #06b6d4);
}

.site-signup h5 {
    color: #1e293b !important;
    font-size: 1.05rem;
    font-weight: 700 !important;
    padding-bottom: 0.55rem;
    position: relative;
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f1f5f9 !important;
    letter-spacing: -0.01em;
}

.site-signup h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #06b6d4);
    border-radius: 2px;
}

.site-signup .form-check-inline {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.25rem 0.5rem 2.2rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.site-signup .form-check-inline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.site-signup .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.site-signup .form-check-input:checked ~ .form-check-label {
    color: #0d6efd;
    font-weight: 700;
}

.site-signup .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #f0f7ff, #e0effe) !important;
    border: 1px solid #bfdbfe !important;
    color: #1e40af !important;
    font-weight: 500;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    padding: 2px 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.site-signup .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    color: #3b82f6 !important;
    margin-right: 5px !important;
}

.site-signup .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #dc2626 !important;
}

.site-signup input[type="file"].form-control {
    padding: 0.45rem 0.75rem;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
}

.site-signup input[type="file"].form-control:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

/* ==========================================================================
   Conference File Manager & Attachment Links
   ========================================================================== */

.conference-file-manager {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease;
}

.conference-dropzone {
    border: 2px dashed #cbd5e1 !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

.conference-dropzone:hover,
.conference-dropzone.border-primary {
    border-color: #3b82f6 !important;
    background-color: #f0f7ff !important;
}

.conference-dropzone .cursor-pointer {
    cursor: pointer;
}

.conference-files-table th {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.conference-files-table td {
    padding: 0.65rem 0.85rem;
    vertical-align: middle;
}

/* Links to files inserted in conference content */
.conference-file-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    margin: 0.15rem 0;
    font-weight: 600;
    font-size: 0.95em;
    color: #0d6efd;
    background-color: #f0f7ff;
    border: 1px solid #d0e3ff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.conference-file-link:hover {
    color: #004494;
    background-color: #e0effe;
    border-color: #b9dafe;
    text-decoration: underline;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.12);
}

.conference-file-link:active {
    transform: translateY(0);
}







