/* Kickstart UB - global styles */
:root {
    --primary: #426FC3;
    --primary-strong: #2f5193;
    --bg: #f5f7fb;
    --text: #0f172a;
    --muted: #4b5563;
    --white: #ffffff;
    --card: #ffffff;
    --shadow: 0 12px 30px rgba(20, 44, 90, 0.08);
    --radius: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--primary-strong);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text);
}

.logo-ladder {
    width: 32px;
    height: 44px;
    fill: none;
    stroke: none;
}

.logo-ladder rect {
    fill: var(--primary);
}

.brand-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-transform: uppercase;
}

.brand-name {
    font-size: 18px;
}

.brand-sub {
    font-size: 14px;
    letter-spacing: 1.2px;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-links a {
    padding: 8px 10px;
    font-weight: 500;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    font-weight: 600;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(66, 111, 195, 0.35);
}

.btn-primary:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(15, 23, 42, 0.12);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.user-chip {
    background: rgba(66, 111, 195, 0.1);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 4px;
}

.page {
    padding: 40px 0 72px;
    background: radial-gradient(circle at 10% 20%, rgba(66, 111, 195, 0.07), transparent 25%), radial-gradient(circle at 80% 0%, rgba(66, 111, 195, 0.06), transparent 30%), var(--bg);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.24), rgba(66, 111, 195, 0.06) 36%), linear-gradient(135deg, rgba(66, 111, 195, 0.92), rgba(66, 111, 195, 0.82));
    color: var(--white);
    padding: 92px 0 96px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: -18%;
    background: radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.42), transparent 30%), radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.18), transparent 32%), radial-gradient(circle at 54% 80%, rgba(255, 255, 255, 0.12), transparent 30%);
    filter: blur(10px);
    opacity: 0.9;
    animation: floatBlob 18s ease-in-out infinite;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='180' x='60' fill='%23ffffff16'/%3E%3Crect width='2' height='180' x='120' fill='%23ffffff12'/%3E%3Crect height='2' width='180' y='60' fill='%23ffffff12'/%3E%3Crect height='2' width='180' y='120' fill='%23ffffff10'/%3E%3C/svg%3E");
    opacity: 0.32;
    pointer-events: none;
}

.page-hero .hero-inner {
    position: relative;
    z-index: 1;
    align-items: flex-start;
    justify-items: start;
    text-align: left;
    gap: 12px;
    max-width: 820px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 780px;
}

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.25), rgba(66, 111, 195, 0.05) 35%), linear-gradient(120deg, rgba(66, 111, 195, 0.96), rgba(66, 111, 195, 0.85));
    background-size: 140% 140%;
    animation: gradientShift 18s ease-in-out infinite;
    color: var(--white);
    padding: 110px 0 120px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35), transparent 26%), radial-gradient(circle at 80% 20%, rgba(66, 111, 195, 0.4), transparent 32%), radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.18), transparent 28%);
    filter: blur(8px);
    animation: floatBlob 16s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='160' x='40' fill='%23ffffff14'/%3E%3Crect width='2' height='160' x='80' fill='%23ffffff14'/%3E%3Crect width='2' height='160' x='120' fill='%23ffffff14'/%3E%3Crect height='2' width='160' y='40' fill='%23ffffff10'/%3E%3Crect height='2' width='160' y='80' fill='%23ffffff10'/%3E%3Crect height='2' width='160' y='120' fill='%23ffffff10'/%3E%3C/svg%3E");
    opacity: 0.35;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    place-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin: 10px 0 4px;
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 680px;
    margin: 0 auto 18px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.jobs-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(66, 111, 195, 0.95), rgba(66, 111, 195, 0.82));
    overflow: hidden;
    padding: 86px 0 90px;
}

.jobs-hero::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4), transparent 28%), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.18), transparent 30%), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.12), transparent 26%);
    filter: blur(12px);
    opacity: 0.9;
    animation: floatBlob 18s ease-in-out infinite;
}

.jobs-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='180' x='60' fill='%23ffffff14'/%3E%3Crect width='2' height='180' x='120' fill='%23ffffff14'/%3E%3Crect height='2' width='180' y='60' fill='%23ffffff10'/%3E%3Crect height='2' width='180' y='120' fill='%23ffffff10'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.jobs-hero-inner {
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.section {
    padding: 48px 0;
}

.section > .container {
    display: grid;
    gap: 24px;
}

.content-grid,
.page-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}

.content-stack {
    display: grid;
    gap: 12px;
}

.section-header {
    display: grid;
    gap: 6px;
    margin-bottom: 26px;
}

.eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-transform: uppercase;
    margin: 0;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
}

h3 {
    font-size: 20px;
}

p {
    margin: 0;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(20, 44, 90, 0.12);
}

.info-card {
    border: 1px solid rgba(66, 111, 195, 0.12);
    background: radial-gradient(circle at 10% 10%, rgba(66, 111, 195, 0.06), transparent 26%), var(--card);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(66, 111, 195, 0.12);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
}

.lead {
    font-size: 18px;
    color: var(--text);
}

.feature-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-content {
    display: grid;
    gap: 20px;
}

.filter-bar {
    border: 1px solid rgba(66, 111, 195, 0.14);
}

.filter-form {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.job-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    width: 100%;
}

.job-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(66, 111, 195, 0.12);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.job-card:hover {
    border-color: rgba(66, 111, 195, 0.35);
}

.job-thumb {
    border-radius: 12px;
    overflow: hidden;
    max-height: 190px;
    min-height: 150px;
    background: rgba(66, 111, 195, 0.08);
}

.job-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.job-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.job-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.job-actions form {
    margin: 0;
}

.job-actions .btn {
    padding: 9px 14px;
}

.list-row {
    word-break: break-word;
}

.profile-hero,
.detail-hero {
    background: linear-gradient(135deg, rgba(66, 111, 195, 0.95), rgba(66, 111, 195, 0.82));
    color: var(--white);
    padding: 82px 0 90px;
    position: relative;
    overflow: hidden;
}

.profile-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4), transparent 28%), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.18), transparent 30%), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.12), transparent 26%);
    filter: blur(12px);
    opacity: 0.8;
    animation: floatBlob 18s ease-in-out infinite;
}

.profile-hero::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='200' x='70' fill='%23ffffff14'/%3E%3Crect width='2' height='200' x='140' fill='%23ffffff14'/%3E%3Crect height='2' width='200' y='70' fill='%23ffffff10'/%3E%3Crect height='2' width='200' y='140' fill='%23ffffff10'/%3E%3C/svg%3E");
    opacity: 0.24;
}

.profile-hero .hero-inner,
.detail-hero .hero-inner {
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 18px;
}

.profile-layout,
.detail-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    align-items: start;
}

.media-card {
    padding: 0;
    overflow: hidden;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-banner {
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 280px;
    background: rgba(66, 111, 195, 0.08);
}

.feature-card {
    border: 1px solid rgba(66, 111, 195, 0.12);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(66, 111, 195, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.flash-wrapper {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.flash {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(66, 111, 195, 0.08);
    border: 1px solid rgba(66, 111, 195, 0.2);
    color: var(--text);
    font-weight: 500;
}

.site-footer {
    background: #0f1a33;
    color: rgba(255, 255, 255, 0.86);
    padding: 48px 0 16px;
}

.footer-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-heading {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--white);
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 6px;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 28px;
    padding-top: 14px;
    font-size: 14px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

form {
    display: grid;
    gap: 14px;
}

label {
    font-weight: 600;
    color: var(--text);
    display: grid;
    gap: 6px;
}

input,
select,
textarea {
    padding: 12px 12px;
    border-radius: 10px;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    font: inherit;
    background: var(--white);
    width: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(66, 111, 195, 0.18);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

select {
    min-width: 140px;
}

.form-inline select {
    width: auto;
}

.grid-two {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: rgba(66, 111, 195, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 28px;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    gap: 8px;
}

.list {
    display: grid;
    gap: 10px;
}

.list-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.list-head {
    font-weight: 700;
    color: var(--muted);
}

.table-card {
    overflow: auto;
}

.message-card {
    border: 1px solid rgba(66, 111, 195, 0.14);
}

.message-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    align-items: start;
}

.message-form {
    display: grid;
    gap: 14px;
}

.recipient-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.recipient-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.message-list {
    display: grid;
    gap: 12px;
}

.message-item {
    border: 1px solid rgba(66, 111, 195, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(20, 44, 90, 0.06);
    display: grid;
    gap: 8px;
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 600;
}

.message-subject {
    font-weight: 700;
    color: var(--text);
}

.page-header {
    margin-bottom: 18px;
}

.page-header p {
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.empty {
    color: var(--muted);
    text-align: center;
    padding: 14px 0;
}

@keyframes floatBlob {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    35% { transform: translate3d(18px, -12px, 0) scale(1.04); }
    65% { transform: translate3d(-14px, 10px, 0) scale(0.98); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 40%; }
    50% { background-position: 100% 60%; }
    100% { background-position: 0% 40%; }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 0 4px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    body.nav-open .nav-links,
    body.nav-open .nav-actions {
        display: flex;
    }

    .nav-actions .btn,
    .nav-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .job-top,
    .job-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 76px 0 80px;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: 88px 0;
    }

    .list-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
