/* Override SB Admin 2 base font */
html {
    font-size: 1rem;
    /* volta ao padrão do navegador */
}

body {
    font-size: 1rem;
}

body {
    /* background: linear-gradient(135deg, #4e73df, #224abe); */
    height: 100vh;
}

.auth-shell {
    min-width: 20rem;
    min-height: 100vh;
    min-height: 100svh;
    color: #172033;
    background:
        radial-gradient(circle at 12% 8%, rgba(185, 231, 105, 0.22), transparent 16rem),
        radial-gradient(circle at 96% 92%, rgba(103, 80, 164, 0.14), transparent 18rem),
        #f5f8f7;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.login-card {
    width: 100%;
    max-width: 28rem;
    overflow: hidden;
    border: 1px solid #e1e9e5;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.25rem 3rem rgba(24, 55, 46, 0.12);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.25rem;
    color: #fff;
    background: linear-gradient(125deg, #0d6849, #158b62 62%, #51408c);
}

.login-brand-icon {
    display: inline-flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #164631;
    border-radius: 0.7rem;
    background: #b9e769;
}

.login-brand-kicker,
.login-brand strong { display: block; }
.login-brand-kicker { color: rgba(255, 255, 255, 0.76); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.login-brand strong { margin-top: 0.1rem; font-size: 1rem; font-weight: 900; }
.login-card-content { width: 100%; padding: 1.5rem 1.25rem; }

.auth-intro { margin-bottom: 1.5rem; }
.auth-intro h1 { margin: 0; color: #172033; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.025em; }
.auth-intro p { margin: 0.55rem 0 0; color: #687386; font-size: 0.9rem; line-height: 1.55; }
.auth-intro-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; color: #0d6849; border-radius: 0.7rem; background: #e5f6ee; }

.auth-form .form-group { margin-bottom: 1.1rem; }
.auth-form label { margin-bottom: 0.4rem; color: #344054; font-size: 0.78rem; font-weight: 800; }
.login-card .form-control {
    width: 100%;
    height: 3rem;
    padding: 0.7rem 0.85rem;
    color: #172033;
    border: 1px solid #ccd7d2;
    border-radius: 0.6rem;
    background: #fff;
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-card .form-control::placeholder { color: #98a2b3; }
.login-card .form-control:hover { border-color: #9fb6ab; }
.login-card .form-control:focus { border-color: #158b62; box-shadow: 0 0 0 0.2rem rgba(21, 139, 98, 0.16); }
.login-card .form-control.is-invalid,
.auth-form .has-error .form-control { border-color: #d64b5d; background-image: none; }
.auth-form .invalid-feedback,
.auth-form .help-block { display: block; margin-top: 0.4rem; color: #b42336; font-size: 0.76rem; line-height: 1.4; }
.login-card-content .alert { margin-bottom: 1rem; border: 0; border-radius: 0.65rem; font-size: 0.82rem; }
.login-card-content .error-summary ul { margin-bottom: 0; padding-left: 1.1rem; }

.auth-submit-group { margin-top: 1.4rem; }
.login-card .auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    border: 0;
    border-radius: 0.6rem;
    background: #158b62;
    font-weight: 800;
    box-shadow: 0 0.6rem 1.2rem rgba(21, 139, 98, 0.18);
}

.login-card .auth-submit:hover,
.login-card .auth-submit:focus { background: #0d6849; }
.login-card .auth-submit:focus,
.auth-secondary-action a:focus { outline: 3px solid rgba(185, 231, 105, 0.6); outline-offset: 2px; }
.auth-secondary-action { margin-top: 1.25rem; text-align: center; }
.auth-secondary-action a { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.5rem; color: #0d6849; border-radius: 0.45rem; font-size: 0.82rem; font-weight: 800; }
.auth-secondary-action a:hover { color: #158b62; text-decoration: none; }

@media (min-width: 36rem) {
    .login-card-content { padding: 2rem; }
    .login-brand { padding: 1.25rem 2rem; }
}

@media (max-height: 35rem) and (orientation: landscape) {
    .login-container { align-items: flex-start; }
}

/* Participant registration */
.register-shell {
    min-width: 20rem;
    min-height: 100vh;
    color: #172033;
    background:
        radial-gradient(circle at 8% 5%, rgba(185, 231, 105, 0.2), transparent 22rem),
        radial-gradient(circle at 95% 90%, rgba(103, 80, 164, 0.12), transparent 25rem),
        #f5f8f7;
}

.register-shell-main { min-height: 100vh; padding: 0.75rem; }
.register-page { width: 100%; max-width: 72rem; margin: 0 auto; }
.register-shell-main > .alert { max-width: 72rem; margin: 0 auto 0.75rem; padding: 0.85rem 1rem; border: 0; border-radius: 0.65rem; font-size: 0.88rem; line-height: 1.45; }
.register-brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.register-brand-link { display: inline-flex; align-items: center; gap: 0.65rem; color: #172033; }
.register-brand-link:hover { color: #172033; text-decoration: none; }
.register-brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; color: #164631; border-radius: 0.65rem; background: #b9e769; }
.register-brand-link small,
.register-brand-link strong { display: block; }
.register-brand-link small { color: #687386; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.register-brand-link strong { font-size: 1rem; font-weight: 900; }
.register-login-link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.55rem 0.7rem; color: #0d6849; border-radius: 0.5rem; font-size: 0.84rem; font-weight: 800; }
.register-login-link:hover { color: #158b62; text-decoration: none; background: #eaf6f0; }

.register-card { overflow: hidden; border: 1px solid #e0e9e5; border-radius: 0.9rem; background: #fff; box-shadow: 0 1.4rem 3.5rem rgba(24, 55, 46, 0.11); }
.register-intro { padding: 1.65rem 1.35rem; color: #fff; background: linear-gradient(135deg, #0d6849, #158b62 62%, #51408c); }
.register-eyebrow { color: #b9e769; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.register-intro h1 { margin: 0.45rem 0 0; color: #fff; font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; }
.register-intro p { margin: 0.65rem 0 0; color: rgba(255, 255, 255, 0.86); font-size: 0.96rem; line-height: 1.55; }
.register-benefits { display: none; margin: 2rem 0 0; padding: 0; list-style: none; }
.register-benefits li { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.85rem; color: rgba(255, 255, 255, 0.88); font-size: 0.82rem; font-weight: 700; }
.register-benefits i { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; color: #164631; border-radius: 50%; background: #b9e769; font-size: 0.65rem; }
.register-content { padding: 1.65rem 1.35rem; }
.register-content-header { margin-bottom: 1.5rem; }
.register-content-header > span { color: #158b62; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.register-content-header h2 { margin: 0.3rem 0 0; color: #172033; font-size: 1.55rem; font-weight: 900; }
.register-content-header p { margin: 0.45rem 0 0; color: #687386; font-size: 0.84rem; }

.register-form-section { padding: 1.25rem 0; border-top: 1px solid #e7ecea; }
.register-section-title { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.register-section-title > span { display: inline-flex; flex: 0 0 2.35rem; align-items: center; justify-content: center; width: 2.35rem; height: 2.35rem; color: #0d6849; border-radius: 0.6rem; background: #e5f6ee; }
.register-section-title small { display: block; color: #687386; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.register-section-title h3 { margin: 0.1rem 0 0; color: #172033; font-size: 1.08rem; font-weight: 900; }
.register-fields-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; }
.register-form .form-group { margin-bottom: 1rem !important; }
.register-form label { margin-bottom: 0.45rem; color: #344054; font-size: 0.85rem; font-weight: 800; }
.register-form .form-control { height: 3rem; padding: 0.7rem 0.85rem; color: #172033; border: 1px solid #ccd7d2; border-radius: 0.55rem; background-color: #fff; font-size: 1rem; }
.register-form select.form-control { padding-right: 2rem; }
.register-form .form-control::placeholder { color: #98a2b3; }
.register-form .form-control:focus { border-color: #158b62; box-shadow: 0 0 0 0.2rem rgba(21, 139, 98, 0.16); }
.register-form .has-error .form-control,
.register-form .form-control.is-invalid { border-color: #d64b5d; }
.register-form .invalid-feedback,
.register-form .help-block { display: block; margin-top: 0.4rem; color: #b42336; font-size: 0.8rem; line-height: 1.4; }
.register-field-hint { display: block; margin-top: 0.4rem; color: #687386; font-size: 0.78rem; }
.register-error-summary { padding: 0.9rem 1rem; border: 0; border-radius: 0.6rem; font-size: 0.78rem; }
.register-error-summary ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.student-fields,
.other-course-field { display: none; }
.student-fields { margin-top: 0.35rem; padding: 1rem; border: 1px solid #d9e8e1; border-radius: 0.65rem; background: #f7fbf9; }
.register-conditional-note { display: flex; gap: 0.45rem; margin-bottom: 0.9rem; color: #567066; font-size: 0.82rem; }

.register-consent-card { margin-top: 0.75rem; padding: 1rem; border: 1px solid #e0e7e4; border-radius: 0.65rem; background: #fafcfb; }
.register-consent-card p { margin: 0 0 0.75rem; color: #5f6c67; font-size: 0.84rem; line-height: 1.6; }
.register-consent-card p a { color: #0d6849; font-weight: 800; text-decoration: underline; }
.register-consent-card .form-group { margin-bottom: 0 !important; }
.register-consent-card .form-check { padding-left: 1.7rem; }
.register-consent-card .form-check-input { width: 1.1rem; height: 1.1rem; margin-top: 0.12rem; margin-left: -1.7rem; accent-color: #158b62; }
.register-consent-card .form-check-label { margin: 0; line-height: 1.45; }
.register-submit-area { padding-top: 1.25rem; text-align: center; }
.register-submit { display: inline-flex !important; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; font-weight: 800 !important; }
.register-submit-area p { margin: 1rem 0 0.25rem; color: #687386; font-size: 0.86rem; }
.register-submit-area a { color: #0d6849; font-weight: 800; }
.register-password-link { display: inline-flex; min-height: 2.75rem; align-items: center; padding: 0.45rem; font-size: 0.82rem; }
.register-policy-content { max-height: 65vh; overflow-y: auto; color: #344054; line-height: 1.65; }
.register-shell .modal-content { border: 0; border-radius: 0.8rem; }
.register-shell .modal-header { border-bottom-color: #e7ecea; }

@media (min-width: 36rem) {
    .register-shell-main { padding: 1.5rem; }
    .register-content { padding: 2rem; }
    .register-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 62rem) {
    .register-shell-main { padding: 2rem; }
    .register-brand { margin-bottom: 1.5rem; }
    .register-card { display: grid; grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.55fr); }
    .register-intro { display: flex; min-height: 100%; padding: 3rem 2.25rem; flex-direction: column; justify-content: space-between; }
    .register-intro h1 { font-size: 2.35rem; }
    .register-benefits { display: block; }
    .register-content { padding: 2.5rem; }
}


/* Participant shell: sidebar and top navigation */
.participant-shell {
    color: #172033;
    background: #f7f8fb;
}

.participant-shell #content-wrapper,
.participant-shell #content {
    background: #f7f8fb;
}

.participant-shell #accordionSidebar {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #103e35 0%, #173f3b 48%, #283a4c 100%) !important;
    box-shadow: 0.7rem 0 2rem rgba(28, 47, 55, 0.12);
}

.participant-sidebar-header {
    display: flex;
    align-items: center;
}

.participant-sidebar-close {
    display: inline-flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: 0.75rem;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
}

.participant-sidebar-backdrop {
    display: none;
}

.participant-menu-toggle {
    display: inline-flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: #13795b !important;
    border: 1px solid #dce9e4;
    border-radius: 0.7rem !important;
    background: #f3faf7;
}

.participant-menu-toggle:focus,
.participant-sidebar-close:focus {
    outline: 3px solid rgba(185, 231, 105, 0.45);
    outline-offset: 2px;
}

.participant-shell #accordionSidebar::after {
    position: absolute;
    right: -3.5rem;
    bottom: 2rem;
    width: 8rem;
    height: 8rem;
    border: 1.2rem solid rgba(185, 231, 105, 0.045);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.participant-shell .sidebar .sidebar-brand {
    height: 5.35rem;
    padding: 0 1.15rem;
    justify-content: flex-start !important;
    color: #fff;
    text-decoration: none;
}

.participant-shell .sidebar-brand-icon {
    display: inline-flex;
    flex: 0 0 2.55rem;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    color: #164631;
    border-radius: 0.85rem;
    background: #b9e769;
    box-shadow: 0 0.55rem 1.15rem rgba(0, 0, 0, 0.14);
}

.participant-shell .sidebar-brand-copy {
    display: flex;
    min-width: 0;
    margin-left: 0.75rem;
    flex-direction: column;
    line-height: 1;
    text-align: left;
}

.participant-shell .sidebar-brand-copy strong {
    display: block;
    overflow: visible;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.participant-shell .sidebar-brand-copy small {
    display: block;
    margin-top: 0.3rem;
    color: #b9e769;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.participant-shell .sidebar .sidebar-divider {
    margin: 0 1rem 0.75rem;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.participant-shell .sidebar .sidebar-heading {
    padding: 0 1.25rem;
    color: #b8d892;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.participant-shell .sidebar .nav-item {
    padding: 0 0.7rem;
}

.participant-shell .sidebar .nav-item .nav-link {
    display: flex;
    width: 100%;
    min-height: 3rem;
    margin-bottom: 0.2rem;
    padding: 0.7rem 0.8rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.84);
    border-radius: 0.85rem;
    font-weight: 700;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.participant-shell .sidebar .nav-item .nav-link i {
    width: 1.4rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    text-align: center;
    transition: color 160ms ease;
}

.participant-shell .sidebar .nav-item .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(0.15rem);
}

.participant-shell .sidebar .nav-item .nav-link:hover i {
    color: #b9e769;
}

.participant-shell .sidebar .nav-item.active .nav-link {
    color: #153e2e !important;
    background: #b9e769 !important;
    box-shadow: 0 0.65rem 1.3rem rgba(8, 25, 21, 0.2);
}

.participant-shell .sidebar .nav-item.active .nav-link i {
    color: #153e2e !important;
}

.participant-shell .topbar {
    height: 4.85rem;
    margin-bottom: 0 !important;
    padding-right: 1.65rem;
    padding-left: 1.65rem;
    border-bottom: 1px solid rgba(222, 227, 236, 0.75);
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 0.5rem 1.4rem rgba(31, 42, 68, 0.05) !important;
}

.participant-topbar-title {
    align-items: center;
    gap: 0.7rem;
}

.participant-topbar-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    color: #158b62;
    border-radius: 0.8rem;
    background: #e6f6ef;
}

.participant-topbar-title-copy,
.participant-user-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.participant-topbar-title-copy {
    min-width: 0;
}

.participant-topbar-title small,
.participant-user-copy small {
    display: block;
    color: #707b8f;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.participant-topbar-title strong,
.participant-user-copy strong {
    display: block;
    margin-top: 0.18rem;
    color: #172033;
    font-size: 0.84rem;
    font-weight: 800;
}

.participant-shell .topbar .topbar-divider {
    height: 2rem;
    margin: auto 1rem;
    border-right-color: #e7ebf2;
}

.participant-shell .topbar .nav-item .nav-link {
    height: 3.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.9rem;
    color: #172033;
}

.participant-shell .topbar .nav-item .nav-link:hover,
.participant-shell .topbar .nav-item .nav-link:focus {
    background: #f4f8f6;
}

.participant-user-avatar {
    display: inline-flex;
    flex: 0 0 2.35rem;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-right: 0.65rem;
    color: #fff;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #158b62, #6750a4);
}

.participant-user-copy {
    min-width: 0;
    max-width: 13rem;
    margin-right: 0.15rem;
}

.participant-user-copy strong {
    overflow: hidden;
    max-width: 13rem;
    margin-top: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-user-copy small {
    margin-top: 0.15rem;
}

.participant-user-chevron {
    color: #a3aaba;
}

.participant-shell .dropdown-menu {
    padding: 0.55rem;
    border: 1px solid #e7ebf2;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.4rem rgba(31, 42, 68, 0.13) !important;
}

.participant-shell .dropdown-item {
    padding: 0.7rem 0.8rem;
    border-radius: 0.7rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.participant-shell .sticky-footer {
    color: #7c8596;
    border-top: 1px solid #e7ebf2;
    background: #fff !important;
    font-size: 0.78rem;
}

.participant-shell .participant-footer-partners {
    margin-bottom: 1.5rem;
    text-align: center;
}

.participant-shell .participant-footer-partners-title {
    display: block;
    margin-bottom: 1rem;
    color: #526072;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.participant-shell .participant-footer-partners-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 1.25rem 1rem;
    max-width: 20rem;
    margin: 0 auto;
}

.participant-shell .participant-footer-partner-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 3.25rem;
    margin: 0 auto;
    object-fit: contain;
}

.participant-shell .sticky-footer .copyright {
    padding: 0 2.75rem;
    line-height: 1.5;
}

@media (min-width: 576px) {
    .participant-shell .participant-footer-partners-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 2rem;
        max-width: none;
    }

    .participant-shell .participant-footer-partner-logo {
        max-width: 11rem;
        height: 3.5rem;
    }

    .participant-shell .sticky-footer .copyright {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .participant-shell .sidebar:not(.toggled) {
        width: 15.5rem !important;
    }

    .participant-shell .sidebar .nav-item .nav-link {
        width: 100%;
    }

    .participant-shell .sidebar.toggled .sidebar-brand-copy {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .participant-shell {
        overflow-x: hidden;
    }

    .participant-shell.mobile-nav-open {
        overflow: hidden;
    }

    .participant-shell #accordionSidebar,
    .participant-shell #accordionSidebar.toggled {
        position: fixed;
        z-index: 1051;
        top: 0;
        bottom: 0;
        left: 0;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        width: min(19rem, 86vw) !important;
        min-height: 100%;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform 220ms ease, visibility 220ms ease;
    }

    .participant-shell.mobile-nav-open #accordionSidebar {
        transform: translateX(0);
        visibility: visible;
    }

    .participant-shell .participant-sidebar-backdrop {
        position: fixed;
        z-index: 1050;
        inset: 0;
        display: block;
        padding: 0;
        border: 0;
        background: rgba(10, 25, 22, 0.58);
        opacity: 0;
        visibility: hidden;
        transition: opacity 220ms ease, visibility 220ms ease;
    }

    .participant-shell.mobile-nav-open .participant-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .participant-shell .sidebar .sidebar-brand {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 1rem;
    }

    .participant-shell .sidebar-brand-copy {
        display: flex;
    }

    .participant-shell .sidebar .sidebar-heading {
        padding: 0 1.25rem;
        text-align: left;
    }

    .participant-shell .sidebar .nav-item {
        padding: 0 0.75rem;
    }

    .participant-shell .sidebar .nav-item .nav-link,
    .participant-shell #accordionSidebar.toggled .nav-item .nav-link {
        justify-content: flex-start;
        width: 100%;
        min-height: 3.25rem;
        padding: 0.8rem 0.9rem;
        text-align: left;
    }

    .participant-shell .sidebar .nav-item .nav-link i,
    .participant-shell #accordionSidebar.toggled .nav-item .nav-link i {
        margin-right: 0.55rem;
    }

    .participant-shell .sidebar .nav-item .nav-link span,
    .participant-shell #accordionSidebar.toggled .nav-item .nav-link span {
        display: inline;
        font-size: 0.86rem;
    }

    .participant-shell .sidebar .sidebar-brand {
        margin-bottom: 0;
    }

    .participant-shell .topbar {
        position: sticky;
        z-index: 1030;
        top: 0;
        height: 4rem;
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .participant-shell #content > .container-fluid,
    .participant-shell #content > .participant-dashboard {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .participant-shell #accordionSidebar,
    .participant-shell .participant-sidebar-backdrop {
        transition: none;
    }
}

/* Clean interface refinement */
.participant-shell .sidebar-brand-icon,
.participant-topbar-title-icon,
.participant-user-avatar {
    border-radius: 0.6rem;
}

.participant-shell .sidebar .nav-item .nav-link {
    position: relative;
    border-radius: 0.5rem;
}

.participant-shell .sidebar .nav-item.active .nav-link {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none;
}

.participant-shell .sidebar .nav-item.active .nav-link::before {
    position: absolute;
    top: 0.65rem;
    bottom: 0.65rem;
    left: 0;
    width: 0.2rem;
    border-radius: 0 0.2rem 0.2rem 0;
    background: #b9e769;
    content: '';
}

.participant-shell .sidebar .nav-item.active .nav-link i {
    color: #b9e769 !important;
}

.participant-shell .topbar {
    height: 4.25rem;
}

.participant-shell #content > .container-fluid {
    padding-top: 1.5rem;
}

.participant-shell #content > .participant-dashboard {
    padding-top: 1.75rem;
}

.participant-topbar-title strong {
    margin-top: 0;
    font-size: 0.95rem;
}

.participant-shell .topbar .nav-item .nav-link,
.participant-shell .dropdown-menu,
.participant-shell .dropdown-item {
    border-radius: 0.55rem;
}

.dashboard-list .list-group-item:first-child {
    padding-top: 0;
}

.dashboard-list .list-group-item:last-child {
    padding-bottom: 0;
}

.dashboard-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
    padding-left: 0;
}

.dashboard-list-main,
.dashboard-document-name {
    min-width: 0;
    padding-right: 1rem;
}

.dashboard-document-name {
    color: #3a3b45;
    font-weight: 600;
}

.dashboard-ranking-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.dashboard-ranking-item:last-child {
    margin-bottom: 0;
}

.dashboard-ranking-position {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    background: #1cc88a;
}

.dashboard-ranking-body {
    flex: 1 1 auto;
    min-width: 0;
}

.dashboard-ranking-body strong {
    padding-right: 0.75rem;
    color: #3a3b45;
}

.dashboard-ranking-body span {
    flex-shrink: 0;
    color: #858796;
    font-size: 0.82rem;
}

.dashboard-ranking-body .progress {
    height: 0.45rem;
    margin-top: 0.5rem;
    background: #edf1f7;
}

.dashboard-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 0.75rem;
}

.dashboard-quick-action {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    color: #3a3b45;
    font-weight: 700;
    background: #ffffff;
}

.dashboard-quick-action:hover,
.dashboard-quick-action:focus {
    color: #1f6f55;
    text-decoration: none;
    border-color: #bfead9;
    background: #f8fcf9;
}

.dashboard-quick-action i {
    width: 1.25rem;
    margin-right: 0.75rem;
    color: #1cc88a;
    text-align: center;
}

.dashboard-donation-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 0.75rem;
}

.dashboard-donation-status div {
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fc;
}

.dashboard-donation-status strong {
    display: block;
    color: #3a3b45;
    font-size: 1.5rem;
    line-height: 1.2;
}

.participant-dashboard a:focus,
.participant-dashboard button:focus,
.participant-dashboard select:focus,
.participant-dashboard input:focus {
    outline: 2px solid rgba(78, 115, 223, 0.35);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {

    .dashboard-hero,
    .start-participation-card .card-body {
        padding: 1.25rem;
    }

    .dashboard-section-header {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .dashboard-actions {
        display: block !important;
        margin: 0;
    }

    .dashboard-actions .btn,
    .start-participation-card .btn {
        width: 100%;
        margin: 0 0 0.5rem;
    }

    .dashboard-section-header,
    .dashboard-list-item {
        display: block;
    }

    .dashboard-section-header .btn,
    .dashboard-list-item .badge,
    .dashboard-list-item .btn {
        margin-top: 0.75rem;
        margin-left: 0;
    }

    .dashboard-document-name {
        display: block;
        padding-right: 0;
    }
}
