:root {
    --apt-primary: #5d43b8;
    --apt-primary-dark: #2f2359;
    --apt-primary-bright: #8a72e8;
    --apt-primary-soft: #f5f2ff;
    --apt-text: #231d3b;
    --apt-muted: #625b78;
}

body {
    color: var(--apt-text);
    background: #fbfaff;
    font-family: Poppins, sans-serif;
}

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.header {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 36px rgba(40, 24, 84, .08);
    backdrop-filter: blur(14px);
}

.header .logo h1,
.navmenu a {
    color: var(--apt-text);
}

.navmenu a.active,
.navmenu a:hover {
    color: var(--apt-primary);
}

.participation-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 132px 0 70px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(39, 27, 83, .94), rgba(91, 67, 178, .82) 58%, rgba(139, 116, 232, .66)),
        url("../../../landing/img/gundar3.jpg") center/cover;
}

.participation-hero::before {
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 64%);
    animation: participationGlow 6s ease-in-out infinite;
}

.participation-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, .1) 48%, transparent 58% 100%);
    animation: participationSweep 8s ease-in-out infinite;
    pointer-events: none;
}

.participation-hero .container {
    position: relative;
    z-index: 1;
}

.participation-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .94);
    background: rgba(255, 255, 255, .16);
    font-weight: 800;
}

.participation-hero h1 {
    max-width: 820px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1.05;
    font-weight: 900;
}

.participation-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
}

.participation-section {
    padding: 72px 0;
}

.participation-container {
    width: min(100% - 32px, 1720px);
    margin: 0 auto;
}

.participation-panel {
    overflow: hidden;
    border: 1px solid #e5def8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(48, 35, 89, .09);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 30px 34px;
    border-bottom: 1px solid #ede7fb;
    background: linear-gradient(180deg, rgba(245, 242, 255, .9), rgba(255, 255, 255, .95));
}

.panel-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--apt-primary);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.panel-head h2 {
    margin: 6px 0 0;
    color: var(--apt-text);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 900;
}

.panel-head p {
    margin: 6px 0 0;
    color: var(--apt-muted);
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--apt-primary-dark);
    background: var(--apt-primary-soft);
    font-weight: 800;
    white-space: nowrap;
}

.table-wrap {
    padding: 30px 34px 34px;
}

#aptitudeTable {
    margin-bottom: 0 !important;
    color: var(--apt-text);
    min-width: 1320px;
}

#aptitudeTable thead th {
    border-bottom: 0;
    color: var(--apt-primary-dark);
    background: var(--apt-primary-soft);
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 18px 16px;
}

#aptitudeTable tbody td {
    border-color: #eee9fb;
    color: #4f4866;
    font-size: .98rem;
    padding: 18px 16px;
    vertical-align: middle;
}

#aptitudeTable tbody tr:hover {
    background: #fbf9ff;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info {
    color: var(--apt-muted);
    font-size: .95rem;
    font-weight: 600;
}

.dataTables_wrapper .form-select,
.dataTables_wrapper .form-control {
    border-color: #ded7f7;
    border-radius: 8px;
    color: var(--apt-text);
    min-height: 42px;
}

.dataTables_wrapper .form-select:focus,
.dataTables_wrapper .form-control:focus {
    border-color: var(--apt-primary-bright);
    box-shadow: 0 0 0 .2rem rgba(93, 67, 184, .12);
}

.page-item .page-link {
    border-color: #e5def8;
    color: var(--apt-primary);
}

.page-item.active .page-link {
    border-color: transparent;
    background: linear-gradient(135deg, var(--apt-primary), var(--apt-primary-bright));
}

.participation-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 800;
}

.participation-status.is-verified {
    color: #365314;
    background: #ecfccb;
}

.participation-status.is-done {
    color: #155e75;
    background: #cffafe;
}

.participation-status.is-reschedule {
    color: #7c2d12;
    background: #ffedd5;
}

.footer.dark-background {
    background: var(--apt-primary-dark);
}

.scroll-top {
    background: var(--apt-primary);
}

@keyframes participationSweep {
    0%, 45% {
        transform: translateX(-80%);
        opacity: 0;
    }

    55% {
        opacity: 1;
    }

    100% {
        transform: translateX(80%);
        opacity: 0;
    }
}

@keyframes participationGlow {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-24px, -18px, 0) scale(1.08);
    }
}

@media (max-width: 767.98px) {
    .participation-container {
        width: min(100% - 20px, 1720px);
    }

    .participation-hero {
        min-height: auto;
        padding: 112px 0 58px;
    }

    .panel-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .table-wrap {
        padding: 16px;
    }
}
