/* Alumni portal — colorful modern registration and directory chrome */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

.alumni-portal-body {
    --alum-teal: #0f766e;
    --alum-teal-bright: #14b8a6;
    --alum-navy: #1e3a5f;
    --alum-coral: #f88379;
    --alum-gold: #f9bd2e;
    --alum-cyan: #9bd7d5;
    --alum-violet: #7c3aed;
    --alum-sky: #2563eb;
    --alum-rose: #e11d48;
    --alum-ink: #1f2937;
    --alum-muted: #64748b;
    --alum-card: rgba(255, 255, 255, 0.94);
    --alum-stroke: rgba(15, 118, 110, 0.14);
    --alum-shadow: 0 16px 40px rgba(30, 58, 95, 0.1);
    --alum-radius: 18px;
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    color: var(--alum-ink);
    background:
        radial-gradient(ellipse 90% 50% at 0% -10%, rgba(20, 184, 166, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 45% at 100% 0%, rgba(249, 189, 46, 0.22), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(248, 131, 121, 0.18), transparent 50%),
        linear-gradient(165deg, #e6f7f5 0%, #eef4ff 38%, #fff8ea 72%, #f4fbff 100%);
    background-attachment: fixed;
}

.alumni-portal-body main > .container-fluid > .border-bottom.bg-light {
    display: none;
}

.alumni-portal-body [role="main"] {
    padding: 1rem 1rem 2.5rem;
    max-width: 1320px;
    margin: 0 auto;
}

.alum-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 1.45rem 1.6rem 1.35rem;
    margin-bottom: 1rem;
    color: #fff;
    background: linear-gradient(125deg, #0f766e 0%, #1e3a5f 48%, #2563eb 82%, #c9a227 140%);
    box-shadow: 0 22px 48px rgba(15, 118, 110, 0.28);
}

.alum-hero::before,
.alum-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.alum-hero::before {
    width: 220px;
    height: 220px;
    right: -50px;
    top: -70px;
    background: rgba(249, 189, 46, 0.22);
}

.alum-hero::after {
    width: 140px;
    height: 140px;
    left: 28%;
    bottom: -80px;
    background: rgba(248, 131, 121, 0.2);
}

.alum-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.22rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.alum-hero h1,
.alum-hero h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    margin: 0 0 0.35rem;
    position: relative;
    z-index: 1;
}

.alum-hero p {
    margin: 0;
    opacity: 0.92;
    max-width: 46rem;
    position: relative;
    z-index: 1;
}

.alum-hero-actions {
    position: relative;
    z-index: 1;
}

.alum-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: var(--alum-card);
    border: 1px solid var(--alum-stroke);
    border-radius: var(--alum-radius);
    box-shadow: var(--alum-shadow);
}

.alum-nav-group {
    min-width: 0;
}

.alum-nav-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--alum-muted);
    margin-bottom: 0.35rem;
}

.alum-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.alum-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.38rem 0.78rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--alum-navy);
    background: #f1f5f9;
    border: 1px solid transparent;
    text-decoration: none;
    transition: 0.18s ease;
}

.alum-pill:hover {
    background: #ccfbf1;
    color: var(--alum-teal);
    border-color: rgba(20, 184, 166, 0.35);
}

.alum-pill.is-active {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
}

.alum-pill i {
    font-size: 0.78rem;
}

.alumni-portal-body .card {
    background: var(--alum-card);
    border: 1px solid var(--alum-stroke);
    border-radius: var(--alum-radius);
    box-shadow: var(--alum-shadow);
}

.alumni-portal-body .table {
    margin-bottom: 0;
}

.alumni-portal-body .table thead th {
    background: linear-gradient(180deg, #ecfeff, #f8fafc);
    color: var(--alum-navy);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--alum-stroke);
    white-space: nowrap;
}

.alumni-portal-body .table tbody tr:hover {
    background: rgba(20, 184, 166, 0.06);
}

.alumni-portal-body .form-control,
.alumni-portal-body .form-select {
    border-radius: 12px;
    border-color: #d5dee8;
    padding: 0.58rem 0.8rem;
    min-height: 44px;
}

.alumni-portal-body .form-control:focus,
.alumni-portal-body .form-select:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}

.alumni-portal-body .form-label {
    font-weight: 600;
    color: var(--alum-navy);
    margin-bottom: 0.28rem;
}

.alumni-portal-body .btn-primary {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.alumni-portal-body .btn-success {
    background: linear-gradient(135deg, #059669, #34d399);
    border: none;
    border-radius: 12px;
    font-weight: 700;
}

.alumni-portal-body .btn-outline-primary,
.alumni-portal-body .btn-outline-secondary,
.alumni-portal-body .btn-outline-success,
.alumni-portal-body .btn-outline-dark,
.alumni-portal-body .btn-outline-danger {
    border-radius: 12px;
    font-weight: 600;
}

.alumni-portal-body .alert {
    border: none;
    border-radius: 14px;
}

.alum-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.alum-metric {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 1.05rem 1.1rem;
    color: #fff;
    min-height: 108px;
    box-shadow: 0 14px 28px rgba(30, 58, 95, 0.14);
}

.alum-metric .label {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.92;
}

.alum-metric .value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0.2rem;
}

.alum-metric i {
    position: absolute;
    right: 0.85rem;
    bottom: 0.7rem;
    font-size: 1.7rem;
    opacity: 0.28;
}

.alum-m-teal { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.alum-m-navy { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }
.alum-m-gold { background: linear-gradient(135deg, #d97706, #f9bd2e); }
.alum-m-coral { background: linear-gradient(135deg, #e11d48, #f88379); }
.alum-m-violet { background: linear-gradient(135deg, #6d28d9, #a78bfa); }
.alum-m-sky { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.alum-m-slate { background: linear-gradient(135deg, #475569, #94a3b8); }
.alum-m-green { background: linear-gradient(135deg, #047857, #34d399); }

.alum-chart-card {
    padding: 1rem 1.05rem 0.6rem;
}

.alum-chart-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--alum-navy);
    margin: 0 0 0.4rem;
}

.alum-register-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ecfeff, #fff7ed 55%, #fff1f2);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.alum-register-banner .hint {
    color: var(--alum-muted);
    margin: 0;
}

.alum-section {
    background: var(--alum-card);
    border: 1px solid var(--alum-stroke);
    border-radius: var(--alum-radius);
    box-shadow: var(--alum-shadow);
    padding: 1.15rem 1.2rem 1.25rem;
    margin-bottom: 1rem;
}

.alum-section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(15, 118, 110, 0.18);
}

.alum-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.alum-section-icon.identity { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.alum-section-icon.programme { background: linear-gradient(135deg, #d97706, #f9bd2e); }
.alum-section-icon.contact { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.alum-section-icon.engagement { background: linear-gradient(135deg, #7c3aed, #f88379); }

.alum-section-head h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin: 0;
    color: var(--alum-navy);
}

.alum-section-head small {
    display: block;
    color: var(--alum-muted);
}

.alum-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.alum-chip {
    position: relative;
}

.alum-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.alum-chip label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    color: var(--alum-navy);
    transition: 0.16s ease;
}

.alum-chip input:checked + label {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.22);
}

.alum-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    position: sticky;
    bottom: 0.75rem;
    z-index: 4;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--alum-stroke);
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 14px 30px rgba(30, 58, 95, 0.12);
}

.alum-profile-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.alum-avatar,
.alum-avatar-fallback {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.alum-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ccfbf1, #e0e7ff);
    color: var(--alum-teal);
    font-size: 1.6rem;
}

.alumni-portal-body .nav-tabs {
    border: none;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.alumni-portal-body .nav-tabs .nav-link {
    border: none;
    border-radius: 999px;
    color: var(--alum-navy);
    background: #fff;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
}

.alumni-portal-body .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
}

.alum-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.alum-step {
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-weight: 700;
    font-size: 0.82rem;
    background: #fff;
    color: var(--alum-muted);
    border: 1px solid var(--alum-stroke);
}

.alum-step.is-on {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    border-color: transparent;
}

.alumni-portal-body .pagination .page-link {
    border-radius: 10px;
    margin: 0 0.15rem;
    color: var(--alum-teal);
}

.alumni-portal-body .pagination .active .page-link {
    background: var(--alum-teal);
    border-color: var(--alum-teal);
}

.alumni-portal-body .list-group {
    border-radius: var(--alum-radius);
    overflow: hidden;
    box-shadow: var(--alum-shadow);
}

.alumni-portal-body .list-group-item.active {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-color: transparent;
}

.alumni-portal-body .list-group-item {
    border-color: var(--alum-stroke);
}

@media (max-width: 991px) {
    .alum-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
    .alumni-portal-body [role="main"] { padding: 0.65rem 0.55rem 1.6rem; }
    .alum-metrics { grid-template-columns: 1fr 1fr; }
    .alum-hero { padding: 1.1rem; border-radius: 18px; }
    .alum-actions { position: static; }
}

/* ── Public Alumni /Create — campus background ─────────────────────────── */
.alumni-register-page {
    min-height: 100vh;
    position: relative;
    background: #0b2744 !important;
    overflow-x: hidden;
}

.alum-reg-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        url("/Image/alumni-campus-bg.png") center top / cover no-repeat;
    transform: scale(1.02);
    animation: alumRegBgIn 1.1s ease-out both;
}

.alum-reg-veil {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 28, 52, 0.55) 0%, rgba(8, 28, 52, 0.28) 28%, rgba(8, 28, 52, 0.45) 100%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15, 118, 110, 0.18), transparent 60%);
}

.alum-reg-shell {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

.alum-reg-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
    color: #fff;
    animation: alumRegRise 0.7s ease-out both;
}

.alum-reg-brand {
    display: flex;
    gap: 0.95rem;
    align-items: center;
}

.alum-reg-crest {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.alum-reg-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.alum-reg-hero h1 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.alum-reg-tagline {
    margin: 0.35rem 0 0;
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.alum-reg-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    padding: 1.15rem 1.2rem 1.35rem;
    box-shadow: 0 24px 60px rgba(4, 20, 40, 0.35);
    animation: alumRegRise 0.85s ease-out 0.08s both;
}

.alumni-register-page .alum-register-banner {
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.1), rgba(37, 99, 235, 0.08));
}

.alumni-register-page .alum-section {
    background: rgba(255, 255, 255, 0.86);
}

.alum-reg-lookup {
    background: rgba(248, 250, 252, 0.95) !important;
}

.alum-reg-foot {
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    animation: alumRegRise 1s ease-out 0.16s both;
}

@keyframes alumRegBgIn {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1.02); }
}

@keyframes alumRegRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .alum-reg-shell { padding: 1rem 0.7rem 2rem; }
    .alum-reg-panel { padding: 0.9rem 0.8rem 1.1rem; border-radius: 18px; }
    .alum-reg-crest { width: 72px; height: 72px; padding: 3px; }
    .alum-reg-brand { align-items: flex-start; }
}

