/* ── Typography ─────────────────────────────────────── */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #F8FAFC;
}

/* ── Sidebar ─────────────────────────────────────────── */
:root {
    --sidebar-width: 260px;
    --sidebar-bg: #1E293B;
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-text: rgba(255, 255, 255, 0.6);
    --sidebar-text-muted: rgba(255, 255, 255, 0.35);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.07);
    --sidebar-hover-text: #fff;
    --sidebar-section-label: rgba(255, 255, 255, 0.3);
    --sidebar-logout-color: rgba(255, 255, 255, 0.4);
    --sidebar-logout-hover: rgba(255, 255, 255, 0.85);
    --legup-blue: #2563EB;
}

.lu-sidebar--client {
    --sidebar-bg: #172554;
}

.lu-sidebar--talent {
    --sidebar-bg: #292524;
}

.lu-sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.lu-sidebar .sidebar-logo {
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.lu-sidebar .sidebar-logo img {
    height: 34px;
    width: auto;
}

/* ── Sidebar organisation badge ───────────────────────── */
.lu-sidebar .sidebar-org {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--sidebar-border);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s;
}

.lu-sidebar .sidebar-org:hover {
    background: var(--sidebar-hover-bg);
}

/* ── Universal org logo/initials mark (used in sidebar, cards, modals, profile) ── */
.org-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--legup-blue);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.org-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.org-mark-sm {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.org-mark-md {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.org-mark-lg {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    font-size: 1.5rem;
}

.lu-sidebar .sidebar-org-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lu-sidebar .sidebar-nav {
    flex: 1;
    padding: 0.75rem;
    overflow-y: auto;
}

.lu-sidebar .nav-section-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--sidebar-section-label);
    padding: 1rem 0.75rem 0.3rem;
}

.lu-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    line-height: 1.4;
}

.lu-sidebar .nav-link + .nav-link {
    margin-top: 0.25rem;
    padding-top: calc(0.5rem + 1px);
    border-top: 1px solid var(--sidebar-border);
}

.lu-sidebar .nav-link i,
.lu-sidebar .nav-link .icon-mask {
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.icon-mask {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
    opacity: 0.8;
}

.icon-talent {
    width: 1.06rem;
    -webkit-mask-image: url('/images/icons/talent.svg');
    mask-image: url('/images/icons/talent.svg');
}

.icon-project {
    width: 1.06rem;
    -webkit-mask-image: url('/images/icons/project.svg');
    mask-image: url('/images/icons/project.svg');
}

.icon-client {
    -webkit-mask-image: url('/images/icons/client.svg');
    mask-image: url('/images/icons/client.svg');
}

.icon-hackathon {
    width: 0.89rem;
    -webkit-mask-image: url('/images/icons/hackathons.svg');
    mask-image: url('/images/icons/hackathons.svg');
}

.icon-dashboard {
    -webkit-mask-image: url('/images/icons/dashboard.svg');
    mask-image: url('/images/icons/dashboard.svg');
}

.lu-sidebar .nav-link:hover {
    color: var(--sidebar-hover-text);
    background: var(--sidebar-hover-bg);
}

.lu-sidebar .nav-link.active {
    color: #fff;
    background: var(--legup-blue);
}

.lu-sidebar .nav-link.active i,
.lu-sidebar .nav-link.active .icon-mask {
    opacity: 1;
}

.lu-sidebar .sidebar-footer {
    padding: 0.875rem 1rem;
    border-top: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.lu-sidebar .footer-user-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sidebar-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lu-sidebar .footer-user-email {
    font-size: 0.72rem;
    color: var(--sidebar-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lu-sidebar .btn-logout {
    background: none;
    border: none;
    color: var(--sidebar-logout-color);
    padding: 0.25rem;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.15s;
    flex-shrink: 0;
}

.lu-sidebar .btn-logout:hover {
    color: var(--sidebar-logout-hover);
}

/* ── Sidebar avatar ───────────────────────────────────── */
.sidebar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--legup-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Sidebar notifications ────────────────────────────── */
.sidebar-notifications {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.notif-bell-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.notif-dot {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 7px;
    height: 7px;
    background: #EF4444;
    border-radius: 50%;
    border: 1.5px solid var(--sidebar-bg);
}

/* ── Main wrapper ─────────────────────────────────────── */
.lu-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Top bar ──────────────────────────────────────────── */
.lu-topbar {
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    padding: 0 1.75rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
    flex-shrink: 0;
}

.lu-topbar .topbar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E293B;
    flex: 1;
}

.lu-topbar .topbar-user {
    font-size: 0.8rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ── Topbar account cluster (Client layout) ───────────── */
.lu-topbar .topbar-account {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.lu-topbar .topbar-account-info {
    text-align: right;
    line-height: 1.3;
    max-width: 160px;
}

.lu-topbar .topbar-account-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1E293B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lu-topbar .topbar-account-email {
    font-size: 0.72rem;
    color: #64748B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lu-topbar .topbar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #64748B;
    font-size: 1.155rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.lu-topbar .topbar-icon-btn:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.lu-topbar .topbar-icon-btn--danger:hover {
    background: #FEE2E2;
    color: #DC2626;
}

/* ── Content area ─────────────────────────────────────── */
.lu-content {
    padding: 2rem 1.75rem;
    flex: 1;
}

/* ── Page header pattern ──────────────────────────────── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}

/* ── Cards ────────────────────────────────────────────── */
.lu-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
}

.lu-jumbotron {
    padding: 2rem;
    border-radius: 16px;
}

/* ── Stat cards ───────────────────────────────────────── */
.lu-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lu-stat-card {
    padding: 1.375rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.lu-stat-card__top {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.lu-stat-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--legup-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lu-stat-card__icon .icon-mask {
    opacity: 1;
}

.lu-stat-card__label {
    font-size: 0.8125rem;
    color: #64748B;
    font-weight: 500;
}

.lu-stat-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    font-variant-numeric: tabular-nums;
}

.lu-stat-card__breakdown {
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.9rem;
}

.lu-substat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #64748B;
    border-left: 2px solid #0d6efd;
    padding-left: 0.5rem;
}

.lu-substat__value {
    font-weight: 600;
    color: #1E293B;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 576px) {
    .lu-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Tables ───────────────────────────────────────────── */
.lu-card .table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.lu-card .table thead th {
    background: #F8FAFC;
    border-bottom-color: #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    padding: 0.65rem 1.25rem;
}

.lu-card .table tbody td {
    padding: 0.875rem 1.25rem;
    vertical-align: middle;
    border-color: #F1F5F9;
    color: #1E293B;
}

.lu-card .table tbody tr:last-child td {
    border-bottom: none;
}

.hackathon-table {
    table-layout: fixed;
}

.hackathon-thumb {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.hackathon-thumb-fallback {
    object-fit: contain;
    background: #f8f9fa;
    padding: 6px;
}

/* ── KPI cards ────────────────────────────────────────── */
.lu-kpi-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
}

.lu-kpi-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
}

.lu-kpi-value {
    font-size: 0.9rem;
    color: #1E293B;
}

/* ── Role badge ───────────────────────────────────────── */
.role-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 999px;
    margin: 0.1rem 0.2rem 0.1rem 0;
    line-height: 1.5;
}

/* ── Form card ────────────────────────────────────────── */
.form-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.75rem;
}

.form-card .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
}

.form-card .form-control {
    font-size: 0.9rem;
    border-color: #D1D5DB;
    border-radius: 6px;
}

.form-card .form-control:focus {
    border-color: var(--legup-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ── Public layout ────────────────────────────────────── */
.pu-body {
    background: #fff;
}

.pu-navbar {
    background: #fff;
    border-bottom: 1px solid;
    border-image-source: linear-gradient(96.77deg, #88C8FF 27.09%, #0088FF 97.11%);
    border-image-slice: 1;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pu-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pu-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.pu-brand-logo {
    height: 32px;
    width: auto;
}

.pu-brand-text {
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 27.01px;
    line-height: 1;
    letter-spacing: 0;
    color: #1B214B;
    white-space: nowrap;
}

.pu-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.pu-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.pu-nav-link:hover {
    color: var(--legup-blue);
}

.pu-btn-signin {
    background: var(--legup-blue);
    color: #fff;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: background 0.15s;
}

.pu-btn-signin:hover {
    background: #1D4ED8;
    color: #fff;
}

.pu-navbar .pu-btn-signin {
    width: 160px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    gap: 10px;
    border-radius: 8px;
    background: linear-gradient(160.25deg, #1A4CA3 17.28%, #1B6CEF 93.96%);
}

.pu-btn-dashboard {
    background: #F1F5F9;
    color: #1E293B;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: background 0.15s;
}

.pu-btn-dashboard:hover {
    background: #E2E8F0;
    color: #1E293B;
}

/* ── Hero ─────────────────────────────────────────────── */
.pu-hero {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.pu-hero .container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.pu-hero-content {
    flex: 1;
    min-width: 0;
}

.pu-hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.25);
    color: #93C5FD;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.4);
    margin-bottom: 1.5rem;
}

.pu-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.pu-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.pu-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pu-btn-primary {
    background: linear-gradient(160.25deg, #1A4CA3 17.28%, #1B6CEF 93.96%);
    color: #fff;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: filter 0.15s, transform 0.1s;
    text-decoration: none;
}

.pu-btn-primary:hover {
    filter: brightness(1.08);
    color: #fff;
    transform: translateY(-1px);
}

.pu-hero-actions .pu-btn-primary {
    height: 44px;
    justify-content: center;
    padding: 12px 24px;
    gap: 12px;
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    vertical-align: middle;
    white-space: nowrap;
}

.pu-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.pu-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pu-btn-outline-sm {
    background: transparent;
    color: var(--legup-blue);
    border: 1px solid #BFDBFE;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.15s;
    text-decoration: none;
}

.pu-btn-outline-sm:hover {
    background: #EFF6FF;
    color: var(--legup-blue);
}

/* ── Hero stat cards ──────────────────────────────────── */
.pu-hero-visual {
    flex-shrink: 0;
}

.pu-hero-stat-cards {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 220px;
}

.pu-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.pu-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pu-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ── Sections ─────────────────────────────────────────── */
.pu-section {
    padding: 5rem 0;
}

.pu-section .container,
.pu-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pu-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.pu-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.35rem;
}

.pu-section-subtitle {
    font-size: 0.95rem;
    color: #64748B;
    margin: 0;
}

/* Dark CTA section */
.pu-section-dark {
    background: #0F172A;
    padding: 4rem 0;
}

.pu-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.pu-cta-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ── Page hero (inner pages) ──────────────────────────── */
.pu-page-hero {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 3rem 0 2.5rem;
}

.pu-page-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pu-page-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.4rem;
}

.pu-page-hero-sub {
    font-size: 0.95rem;
    color: #64748B;
    margin: 0;
}

/* ── Explore toolbar ──────────────────────────────────── */
.pu-explore-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pu-explore-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.pu-explore-select {
    border: none;
    background: transparent;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.3rem 1.4rem 0.3rem 0;
}

.pu-explore-select:focus {
    outline: none;
}

.pu-explore-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #334155;
    cursor: pointer;
}

.pu-explore-toggle .form-check-input {
    width: 2.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.pu-explore-search {
    position: relative;
    min-width: 260px;
}

.pu-explore-search i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.pu-explore-search input {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0.55rem 0.9rem 0.55rem 2.25rem;
    font-size: 0.88rem;
    background: #F8FAFC;
}

.pu-explore-search input:focus {
    outline: none;
    border-color: #BFDBFE;
    background: #fff;
}

.pu-filter-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pu-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
}

.pu-chip i {
    font-size: 0.7rem;
}

.pu-chip-reset {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
}

/* ── Hackathon cards ──────────────────────────────────── */
.pu-hackathon-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    height: 100%;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pu-hackathon-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.pu-hackathon-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ── Card header (org badge + status, above the banner) ──── */
.pu-hackathon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
}

.pu-hackathon-org {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.pu-hackathon-org-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pu-status-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    flex-shrink: 0;
}

.pu-days-left-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748B;
    background: #F1F5F9;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Card banner ───────────────────────────────────────── */
.pu-hackathon-banner {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pu-hackathon-banner img.pu-hackathon-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pu-hackathon-banner-fallback {
    width: 64px;
    height: 64px;
    opacity: 0.9;
}

.pu-hackathon-job-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pu-status-ribbon {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pu-ribbon-live {
    background: #D1FAE5;
    color: #065F46;
}

.pu-ribbon-upcoming {
    background: #DBEAFE;
    color: #1E40AF;
}

.pu-ribbon-concluded {
    background: #FEE2E2;
    color: #991B1B;
}

.pu-hackathon-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 0.6rem;
}

.pu-hackathon-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pu-hackathon-participation {
    font-size: 0.78rem;
    font-weight: 500;
    color: #2563EB;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.pu-hackathon-prize {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid #F1F5F9;
}

.pu-hackathon-prize-amount {
    font-weight: 700;
    color: #0F172A;
}

.pu-hackathon-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0.75rem 0 0.5rem;
    line-height: 1.3;
}

.pu-hackathon-desc {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: auto;
    padding-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pu-hackathon-dates {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #64748B;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
    flex-wrap: wrap;
}

.pu-date-sep {
    color: #CBD5E1;
    font-size: 0.7rem;
}

/* ── Status badges ────────────────────────────────────── */
.pu-status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pu-status-published {
    background: #D1FAE5;
    color: #065F46;
}

.pu-status-active {
    background: #DBEAFE;
    color: #1E40AF;
}

.pu-status-draft {
    background: #F1F5F9;
    color: #64748B;
}

.pu-status-closed {
    background: #FEE2E2;
    color: #991B1B;
}

/* ── Empty state ──────────────────────────────────────── */
.pu-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94A3B8;
}

.pu-empty-state-lg {
    padding: 5rem 1.5rem;
}

.pu-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.pu-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.pu-empty-text {
    font-size: 0.9rem;
    color: #94A3B8;
    max-width: 380px;
    margin: 0 auto;
}

/* ── Pagination ────────────────────────────────────────── */
.pu-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
}

.pu-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border: 1px solid #E2E8F0;
}

.pu-pagination-link:hover {
    border-color: #BFDBFE;
    color: #2563EB;
}

.pu-pagination-link.is-active {
    background: #2563EB;
    border-color: #2563EB;
    color: #fff;
}

.pu-pagination-link.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pu-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: #94A3B8;
    font-size: 0.85rem;
}

/* ── Footer ───────────────────────────────────────────── */
.pu-footer {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 3rem 0 1.5rem;
}

.pu-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pu-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
}

.pu-footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.pu-footer-logo {
    height: 60px;
    width: auto;
}

.pu-footer-brand-text {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1E293B;
    line-height: 1;
}

.pu-newsletter-form {
    max-width: 420px;
}

.pu-newsletter-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0061FF;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.pu-newsletter-row {
    display: flex;
    gap: 0.5rem;
}

.pu-newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.875rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pu-newsletter-input:focus {
    border-color: var(--legup-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pu-newsletter-confirm {
    font-size: 0.8rem;
    color: #059669;
    margin: 0.5rem 0 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.2s;
}

.pu-newsletter-confirm.is-visible {
    opacity: 1;
    height: auto;
}

.pu-footer-links {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid #E2E8F0;
    flex-wrap: wrap;
}

.pu-footer-link {
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.pu-footer-link:hover {
    color: var(--legup-blue);
}

.pu-footer-bottom {
    padding-top: 1rem;
}

.pu-footer-copy {
    font-size: 0.8rem;
    color: #94A3B8;
}

/* ── Landing hero (v2) ────────────────────────────────── */
.pu-hero-2 {
    position: relative;
    background-color: #EFF6FF;
    background-image: url('/images/backgroudImage.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.pu-hero-2-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 42% 58%;
    grid-template-areas:
        "title visual"
        "text visual";
    align-items: stretch;
    column-gap: 3rem;
    row-gap: 0;
}

.pu-hero-2-heading {
    grid-area: title;
    align-self: end;
}

.pu-hero-2-content {
    grid-area: text;
    min-width: 0;
    align-self: start;
}

.pu-hero-2-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #2B2A30;
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 1.1rem;
}

.pu-text-accent {
    color: var(--legup-blue);
}

.pu-hero-2-title .pu-text-accent {
    color: #0242D7;
    background-color: #B3DAFF;
    padding: 0 8px;
}

.pu-section-title-lg .pu-text-accent {
    background-color: #ECF6FF;
    padding: 0 8px;
    border-radius: 4px;
}

.pu-why-us-title .pu-text-accent {
    color: #B3DAFF;
    background-color: #0B2460;
    padding: 0 8px;
    border-radius: 4px;
}

.pu-hero-2-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #2B2A30;
    line-height: 28px;
    letter-spacing: 0;
    max-width: 460px;
    margin-bottom: 1.75rem;
}

.pu-btn-outline-dark {
    background: #fff;
    color: #404040;
    border: 1px solid #CBD5E1;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    vertical-align: middle;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.pu-btn-outline-dark:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #94A3B8;
}

.pu-hero-2-visual {
    grid-area: visual;
    min-width: 0;
}

.pu-hero-2-photo {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.25);
    display: block;
}

/* ── Section eyebrow / large titles ───────────────────── */
.pu-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--legup-blue);
    margin-bottom: 0.6rem;
}

.pu-eyebrow-dark {
    color: #93C5FD;
}

.pu-section-title-lg {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    text-wrap: balance;
}

.pu-section-subtitle-lg {
    font-size: 1rem;
    color: #64748B;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.pu-section-muted {
    background: #F8FAFC;
}

/* ── What You Get feature cards ───────────────────────── */
.pu-feature-row {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.pu-feature-card {
    position: relative;
    background: #FBFBFC;
    border: 1px solid #D4E9FF;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    text-align: left;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pu-feature-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.pu-feature-glow {
    position: absolute;
    width: 140%;
    height: 166px;
    left: 50%;
    border-radius: 50%;
    filter: blur(34.5px);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.pu-feature-glow-a {
    top: 40%;
    background: #D4E9FF;
}

.pu-feature-glow-b {
    top: 8%;
    background: #ECF6FF;
}

.pu-feature-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pu-feature-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    flex-shrink: 0;
}

.pu-feature-icon-rocket {
    position: absolute;
    left: 80.3%;
    top: 8%;
    width: 63px;
    height: 63px;
    z-index: 2;
}

.pu-feature-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #0242D7;
    margin: 0;
}

.pu-feature-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: block;
}

.pu-feature-illustration {
    position: relative;
    background: #FBFBFC;
    border-radius: 8px;
    margin-bottom: 1rem;
    flex: 1 1 auto;
}

.pu-feature-illustration-img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    display: block;
}

.pu-feature-illustration-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px 12px 9px;
}

.pu-feature-line {
    height: 4px;
    border-radius: 2px;
    background: #E6E6E6;
}

.pu-feature-line-1 {
    width: 91.5%;
}

.pu-feature-line-2 {
    width: 73.3%;
}

.pu-feature-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.pu-feature-tag {
    height: 10px;
    padding: 4px 3px;
    box-sizing: border-box;
    background: #D4E9FF;
    border-radius: 0 2px 2px 0;
    display: flex;
    align-items: center;
}

.pu-feature-tag-bar {
    height: 2px;
    background: #0B2460;
    display: block;
}

.pu-feature-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #2B2A30;
    margin: 0;
    flex-shrink: 0;
}

/* ── "Manage with Ease" card illustration ─────────────── */
.pu-feature-illustration-manage {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 180px;
    margin-bottom: 1rem;
}

.pu-feature-mesh-line {
    position: absolute;
    box-sizing: border-box;
    border: 1px dashed #B3DAFF;
}

.pu-feature-mesh-line-1 {
    left: 25.4%;
    top: 20%;
    width: 24.1%;
    height: 29.4%;
}

.pu-feature-mesh-line-2 {
    left: 21.1%;
    top: 51%;
    width: 20.5%;
    height: 45%;
    transform: rotate(102.75deg);
}

.pu-feature-mesh-line-3 {
    left: 52.9%;
    top: 25.2%;
    width: 20.5%;
    height: 45%;
    transform: rotate(134.88deg);
}

.pu-feature-mesh-line-4 {
    left: 12.9%;
    top: 22.8%;
    width: 20.5%;
    height: 45%;
    transform: rotate(134.88deg);
}

.pu-feature-core {
    position: absolute;
    left: 44.2%;
    top: 34.4%;
    width: 56px;
    height: 56px;
}

.pu-feature-badge {
    position: absolute;
    width: 44px;
    height: 44px;
}

.pu-feature-badge-calendar {
    left: 18.2%;
    top: 4.4%;
}

.pu-feature-badge-chart {
    left: 4.0%;
    top: 35.6%;
}

.pu-feature-badge-gear {
    left: 11.6%;
    top: 66.7%;
}

.pu-feature-badge-target {
    left: 81.5%;
    top: 42.8%;
}

/* ── "Build & Get Hired" card illustration ────────────── */
.pu-feature-icon-hex {
    position: absolute;
    left: 82.8%;
    top: 21.2%;
    width: 39px;
    height: 39px;
    z-index: 2;
}

.pu-feature-illustration-build {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 92px;
    margin-bottom: 1rem;
}

.pu-feature-build-picture {
    position: absolute;
    left: 0;
    top: 0;
    width: 28.86%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 0 0 4px;
    display: block;
}

.pu-feature-build-line {
    position: absolute;
    left: 30.5%;
    height: 4px;
    border-radius: 2px;
    background: #E6E6E6;
}

.pu-feature-build-line-1 {
    top: 21.87%;
    width: 63.6%;
}

.pu-feature-build-line-2 {
    top: 32.29%;
    width: 64.9%;
}

.pu-feature-build-line-3 {
    top: 43.75%;
    width: 63.6%;
}

.pu-feature-build-line-4 {
    top: 54.16%;
    width: 64.9%;
}

.pu-feature-build-tags {
    position: absolute;
    left: 30.5%;
    top: 72.9%;
    display: flex;
    gap: 8px;
}

/* ── Active hackathons carousel ───────────────────────── */
.pu-carousel {
    margin-top: 2.5rem;
}

.pu-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.pu-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s, width 0.15s;
}

.pu-carousel-dot.is-active {
    background: var(--legup-blue);
    width: 22px;
    border-radius: 4px;
}

.pu-carousel-viewport {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 940px;
    margin: 0 auto;
}

.pu-carousel-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E2E8F0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pu-carousel-arrow:hover {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: var(--legup-blue);
}

.pu-carousel-track {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pu-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.pu-carousel-card {
    display: flex;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    min-height: 320px;
}

.pu-carousel-info {
    flex: 1;
    min-width: 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.pu-carousel-prize {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 0.75rem;
}

.pu-carousel-prize-amount {
    font-weight: 700;
    color: #0F172A;
}

.pu-carousel-location {
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 0.6rem;
}

.pu-carousel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.pu-carousel-desc {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pu-carousel-desc p {
    margin: 0;
}

.pu-carousel-host {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}

.pu-carousel-host-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
}

.pu-carousel-media {
    position: relative;
    flex: 1;
    min-width: 0;
    background: #0F172A;
}

.pu-carousel-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pu-carousel-media-fallback {
    position: absolute;
    inset: 0;
    min-height: 220px;
    background: radial-gradient(circle at 30% 30%, #1E3A8A, #0F172A);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pu-carousel-media-fallback img {
    width: 90px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ── Built for Builders / Teams ───────────────────────── */
.pu-built-for-row {
    margin-top: 2.5rem;
}

.pu-built-for-card {
    background: #FBFBFC;
    border: 1px solid #D4E9FF;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pu-built-for-body {
    padding: 2rem;
    flex: 1;
}

.pu-built-for-footer {
    background: #F5F5F5;
    border-top: 1px solid #D4E9FF;
    padding: 1rem 2rem;
}

.pu-built-for-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--legup-blue);
    margin-bottom: 1rem;
}

.pu-built-for-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pu-built-for-list li {
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.8;
}

.pu-built-for-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--legup-blue);
}

.pu-built-for-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--legup-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pu-built-for-link:hover {
    text-decoration: underline;
}

/* ── Why builders choose us (dark) ─────────────────────── */
.pu-why-us {
    background: #0F172A;
}

.pu-why-us-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.pu-why-us-content {
    flex: 1;
    min-width: 0;
}

.pu-why-us-title {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.pu-why-us-boxes {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

.pu-why-us-box {
    background: #0053FC;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.15s;
}

.pu-why-us-box:first-child {
    border-top: none;
}

.pu-why-us-box.pu-why-us-box-active {
    background: #0242D7;
}

.pu-why-us-box-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.pu-why-us-box-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

.pu-why-us-photo {
    position: relative;
    line-height: 0;
}

.pu-why-us-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.pu-why-us-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.1) 45%, transparent 70%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    flex-wrap: wrap;
    line-height: normal;
}

.pu-why-us-caption {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: normal;
}

/* ── Password strength rules ──────────────────────────── */
.password-rules { list-style: none; padding-left: 0; margin-top: 8px; font-size: 0.82rem; line-height: 1.6; }
.password-rules li { color: #dc3545; }
.password-rules li::before { content: "✖ "; }
.password-rules li.valid { color: #198754; }
.password-rules li.valid::before { content: "✔ "; }

/* ── Assign roles list ────────────────────────────────── */
.role-check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.role-check-item:has(input:checked) {
    border-color: var(--legup-blue);
    background: #EFF6FF;
}

.role-check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--legup-blue);
    flex-shrink: 0;
    cursor: pointer;
}

.role-check-item .role-check-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1E293B;
}

/* ── Mobile nav toggle ────────────────────────────────── */
.pu-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #1E293B;
    cursor: pointer;
    padding: 0.2rem 0.3rem;
    line-height: 1;
    border-radius: 4px;
    transition: background 0.15s;
}

.pu-nav-toggle:hover {
    background: #F1F5F9;
}

/* ── Dashboard sidebar toggle (mobile) ────────────────── */
.lu-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #1E293B;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 5px;
    margin-right: 0.5rem;
    flex-shrink: 0;
    transition: background 0.15s;
    line-height: 1;
}

.lu-sidebar-toggle:hover {
    background: #F1F5F9;
}

/* ── Sidebar overlay (mobile) ─────────────────────────── */
.lu-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 150;
    cursor: pointer;
}

.lu-sidebar-overlay.is-open {
    display: block;
}

/* ── Responsive breakpoints ───────────────────────────── */
@media (max-width: 768px) {

    /* Navbar */
    .pu-navbar-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 0.875rem 1.25rem;
    }

    .pu-nav-toggle {
        display: block;
    }

    .pu-nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding-top: 0.75rem;
        margin-top: 0.75rem;
        border-top: 1px solid #E2E8F0;
    }

    .pu-nav-links.is-open {
        display: flex;
    }

    .pu-nav-link {
        padding: 0.65rem 0;
        border-bottom: 1px solid #F1F5F9;
        font-size: 0.9rem;
    }

    .pu-navbar .pu-btn-signin,
    .pu-navbar .pu-btn-dashboard {
        margin-top: 0.75rem;
        text-align: center;
        width: 100%;
        justify-content: center;
        display: block;
    }

    /* Hero */
    .pu-hero {
        padding: 3rem 0 2.5rem;
    }

    .pu-hero .container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .pu-hero-visual {
        width: 100%;
    }

    .pu-hero-stat-cards {
        flex-direction: row;
        width: 100%;
    }

    .pu-stat-card {
        flex: 1;
        min-width: 0;
    }

    .pu-stat-number {
        font-size: 1.4rem;
    }

    .pu-stat-label {
        font-size: 0.72rem;
    }

    .pu-hero-subtitle {
        max-width: 100%;
        font-size: 0.975rem;
    }

    /* Hero v2 (landing page) */
    .pu-hero-2 {
        padding: 3rem 0 2.5rem;
    }

    .pu-hero-2-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.15;
    }

    .pu-hero-2-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "visual"
            "text";
        row-gap: 1.5rem;
        column-gap: 0;
        padding: 0 1.25rem;
    }

    .pu-hero-2-heading,
    .pu-hero-2-content {
        align-self: stretch;
    }

    .pu-hero-2-subtitle {
        max-width: 100%;
    }

    .pu-hero-2-visual {
        width: 100%;
    }

    .pu-hero-2-photo {
        height: 200px;
        min-height: 0;
    }

    /* Carousel */
    .pu-carousel-viewport {
        gap: 0.4rem;
    }

    .pu-carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .pu-carousel-card {
        flex-direction: column;
    }

    .pu-carousel-media {
        min-height: 180px;
    }

    /* Why builders choose us */
    .pu-why-us-top {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.25rem;
    }

    .pu-why-us-photo img {
        height: 260px;
    }

    .pu-why-us-photo-overlay {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Footer */
    .pu-footer-top {
        flex-direction: column;
    }

    .pu-newsletter-form {
        max-width: 100%;
    }

    /* Sections */
    .pu-section {
        padding: 3rem 0;
    }

    .pu-section-dark {
        padding: 2.75rem 0;
    }

    .pu-section-title {
        font-size: 1.35rem;
    }

    .pu-cta-title {
        font-size: 1.45rem;
    }

    .pu-cta-subtitle {
        font-size: 0.9rem;
    }

    /* Page hero (Hackathons page) */
    .pu-page-hero {
        padding: 2rem 0 1.5rem;
    }

    .pu-page-hero-title {
        font-size: 1.6rem;
    }
}

/* ── Dashboard responsive ─────────────────────────────── */
@media (max-width: 768px) {

    .lu-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 200;
    }

    .lu-sidebar.is-open {
        transform: translateX(0);
    }

    .lu-main {
        margin-left: 0;
    }

    .lu-topbar {
        padding: 0 1rem;
    }

    .lu-sidebar-toggle {
        display: flex;
    }

    .lu-content {
        padding: 1.25rem 1rem;
    }

    .lu-topbar .topbar-account-info {
        display: none;
    }
}

/* ── Hackathon Wizard ─────────────────────────────────── */

/* Two-column layout inside lu-content */
.wiz-layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.wiz-sidebar-panel {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: calc(56px + 1.5rem);
}

.wiz-main-panel {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.75rem 2rem;
}

.wiz-nav {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.wiz-nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1.25rem;
}

.wiz-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.wiz-step {
    display: block;
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94A3B8;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    line-height: 1.4;
}

.wiz-step.done {
    color: #475569;
    border-left-color: transparent;
}

.wiz-step.active {
    color: #2563EB;
    border-left-color: #2563EB;
    font-weight: 600;
}

.wiz-progress-area {
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
}

.wiz-progress-pct {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 0.35rem;
}

.wiz-progress-track {
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
    overflow: hidden;
}

.wiz-progress-fill {
    height: 100%;
    background: #2563EB;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.wiz-save-exit-btn {
    display: block;
    width: 100%;
    padding: 0.55rem 1rem;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.wiz-save-exit-btn:hover {
    background: #F8FAFC;
    border-color: #9CA3AF;
    color: #374151;
}

/* .wiz-content removed — main panel is .wiz-main-panel inside lu-content */

.wiz-step-header {
    margin-bottom: 1.75rem;
}

.wiz-step-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.35rem;
}

.wiz-step-header p {
    font-size: 0.875rem;
    color: #64748B;
    margin: 0;
}

.wiz-divider {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 1.5rem 0;
}

.wiz-field {
    margin-bottom: 1.5rem;
}

.wiz-field-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.2rem;
    display: block;
}

.wiz-field-hint {
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 0.6rem;
    display: block;
}

.wiz-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    color: #1E293B;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wiz-input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wiz-input.is-invalid {
    border-color: #DC2626;
}

.wiz-input[type="number"]::-webkit-outer-spin-button,
.wiz-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wiz-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.wiz-char-count {
    font-size: 0.75rem;
    color: #94A3B8;
    text-align: right;
    margin-top: 0.3rem;
}

/* Rich text editor container */
.wiz-quill-wrap {
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
}

.wiz-quill-wrap .ql-toolbar {
    border: none;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC;
}

.wiz-quill-wrap .ql-container {
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    min-height: 160px;
}

.wiz-quill-wrap .ql-editor {
    min-height: 160px;
}

/* Participation type cards */
.part-type-cards {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.part-type-card {
    flex: 1;
    min-width: 130px;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
    user-select: none;
}

.part-type-card:hover {
    border-color: #93C5FD;
    background: #F8FAFC;
}

.part-type-card.selected {
    border-color: #2563EB;
    background: #EFF6FF;
}

.part-type-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.2rem;
}

.part-type-card.selected .part-type-card-title {
    color: #2563EB;
}

.part-type-card-hint {
    font-size: 0.78rem;
    color: #64748B;
}

/* Cover image upload */
.cover-image-preview-block {
    position: relative;
    margin-bottom: 10px;
}

.cover-image-preview {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    display: block;
}

.cover-image-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #DC2626;
    border: none;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
    padding: 0;
}

/* Track cards (Step 2) */
.track-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.track-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
}

.track-description {
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 0.75rem;
}

.prize-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #F1F5F9;
}

.prize-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.prize-rank-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.prize-col {
    flex: 1;
}

.prize-col:first-child {
    flex: 0 0 180px;
}

.prize-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.prize-input-group:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.prize-input-prefix {
    padding: 0.6rem 0.75rem;
    background: #F8FAFC;
    border-right: 1px solid #E2E8F0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748B;
    flex-shrink: 0;
}

.prize-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    color: #1E293B;
    background: transparent;
}

.add-track-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #fff;
    border: 1px dashed #D1D5DB;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.add-track-btn:hover {
    background: #F8FAFC;
    border-color: #9CA3AF;
}

/* Timeline date grid */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.timeline-field .wiz-field-hint {
    margin-bottom: 0.4rem;
}

.timeline-date-wrap {
    position: relative;
}

.timeline-date-wrap .wiz-input,
.timeline-date-wrap input.flatpickr-input {
    padding-right: 2.25rem;
}

.timeline-date-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
    font-size: 0.9rem;
    z-index: 1;
}

/* Wizard Continue button */
.wiz-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
}

.btn-wiz-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #475569;
    border: 1.5px solid #CBD5E1;
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-wiz-back:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #1E293B;
}

.btn-wiz-continue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.btn-wiz-continue:hover {
    background: #1D4ED8;
    color: #fff;
}

.btn-wiz-publish {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #16A34A;
    color: #fff;
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.btn-wiz-publish:hover {
    background: #15803D;
    color: #fff;
}

/* Review step read-only sections */
.review-section {
    margin-bottom: 1.75rem;
}

.review-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748B;
    margin-bottom: 0.5rem;
}

.review-value {
    font-size: 0.9rem;
    color: #1E293B;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    min-height: 44px;
}

.review-value.rich {
    min-height: 80px;
}

.wiz-select {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    color: #1E293B;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center / 12px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    outline: none;
    appearance: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wiz-select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 900px) {
    .wiz-layout {
        flex-direction: column;
    }

    .wiz-sidebar-panel {
        width: 100%;
        position: static;
    }

    .wiz-nav {
        padding: 1rem;
    }

    .wiz-steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .wiz-step {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.35rem 0.5rem;
        font-size: 0.78rem;
    }

    .wiz-step.active {
        border-left: none;
        border-bottom-color: #2563EB;
    }

    .wiz-main-panel {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {

    /* CTA buttons share the row evenly */
    .pu-hero-actions .pu-btn-primary,
    .pu-hero-actions .pu-btn-outline-dark {
        flex: 1 1 0;
        justify-content: center;
        white-space: nowrap;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Stack stat cards vertically on very small screens */
    .pu-hero-stat-cards {
        flex-direction: column;
        gap: 0.625rem;
    }

    .pu-stat-card {
        flex: none;
    }

    .pu-stat-number {
        font-size: 1.6rem;
    }

    /* Reduce container side padding */
    .pu-hero .container,
    .pu-section .container,
    .pu-page-hero .container {
        padding: 0 1rem;
    }
}

/* Shared "details modal" content styling — used by the Hackathon details
   views (Org/_HackathonDetailsPartial, Home/HackathonDetails,
   Talent/HackathonDetails) and the Talent project details partial
   (Talent/_ProjectDetailsPartial). */
.hd-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.8rem;
}
.hd-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: transparent;
    font-weight: 600;
}
.hd-banner {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
}
.hd-banner-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
}
.hd-banner-fallback img {
    width: 40%;
    opacity: 0.9;
}
.hd-section {
    margin-top: 1.5rem;
}
.hd-header-bar {
    padding: 0.85rem 1rem;
    margin: -1rem -1rem 1rem -1rem;
    background: #F0F5FF;
    border-bottom: 1px solid #f1f3f5;
}
.hd-field-label {
    font-size: 0.78rem;
    color: #6c757d;
}
.hd-vline-field {
    border-left: 2px solid #0d6efd;
    padding-left: 0.65rem;
}
.hd-section-header {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 0.8rem;
    letter-spacing: 0%;
    color: #0061FF;
    border-bottom: 2px solid #0061FF;
    padding-bottom: 0.35rem;
    margin-bottom: 1rem;
}
