@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

 :root {
    --gn-font-family: "Red Hat Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-font-family: var(--gn-font-family);
    --bs-font-sans-serif: var(--gn-font-family);
    --gn-primary: #1d4d95;
    --gn-primary-dark: #15396f;
    --gn-primary-soft: #edf3fb;
    --gn-accent: #f3b31d;
    --gn-accent-dark: #cf9514;
    --gn-accent-soft: #fff6df;
    --gn-gold: #f3b31d;
    --gn-danger: #d84949;
    --gn-success: #18845f;
    --gn-warning: #b67412;
    --gn-ink: #142743;
    --gn-muted: #667085;
    --gn-line: #e4ebf4;
    --gn-canvas: #f4f8fd;
    --gn-card: #ffffff;
    --gn-radius-sm: 10px;
    --gn-radius: 16px;
    --gn-radius-lg: 24px;
    --gn-shadow-sm: 0 8px 24px rgba(12, 34, 68, .07);
    --gn-shadow: 0 18px 50px rgba(12, 34, 68, .11);
    --gn-shadow-lg: 0 28px 80px rgba(8, 31, 58, .16);
    --bs-primary: #1d4d95;
    --bs-primary-rgb: 29, 77, 149;
    --bs-link-color: #1d4d95;
    --bs-link-hover-color: #15396f;
}

* {
    box-sizing: border-box;
}

button,
input,
select,
textarea,
optgroup,
option {
    font-family: var(--gn-font-family);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--gn-ink);
    background: var(--gn-canvas);
    font-family: var(--gn-font-family);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--gn-primary);
    text-decoration: none;
}

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

::selection {
    color: #fff;
    background: var(--gn-primary);
}

/* Shared brand */
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: inherit;
}

.brand-lockup:hover {
    color: inherit;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.brand-logo-public {
    height: 54px;
}

.brand-logo-card {
    display: inline-flex;
    align-items: center;
    padding: .85rem 1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 40px rgba(8, 31, 58, .14);
    backdrop-filter: blur(10px);
}

.brand-logo-login {
    height: 70px;
}

.brand-logo-reset {
    height: 60px;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: #fff !important;
    text-decoration: none;
}

.admin-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.admin-brand-mark {
    display: block;
    width: 36px;
    height: auto;
}

.admin-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.admin-brand-copy strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.admin-brand-copy small {
    margin-top: .22rem;
    color: rgba(255, 255, 255, .72);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .8rem;
    color: var(--gn-accent-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    width: 24px;
    height: 2px;
    content: "";
    border-radius: 2px;
    background: currentColor;
}

.display-title {
    max-width: 780px;
    margin-bottom: 1rem;
    color: var(--gn-ink);
    font-size: clamp(2.15rem, 5vw, 4.35rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.text-gradient {
    color: transparent;
    background: linear-gradient(100deg, var(--gn-primary) 0%, #2e69bf 55%, var(--gn-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: var(--gn-primary);
    background: var(--gn-primary);
    box-shadow: 0 8px 18px rgba(29, 77, 149, .15);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--gn-primary-dark);
    background: var(--gn-primary-dark);
    box-shadow: 0 10px 24px rgba(18, 60, 105, .25);
}

.btn-success {
    border-color: var(--gn-success);
    background: var(--gn-success);
}

.btn-outline-primary {
    color: var(--gn-primary);
    border-color: #aac1d9;
}

.btn-outline-primary:hover {
    color: #fff;
    border-color: var(--gn-primary);
    background: var(--gn-primary);
}

.btn-outline-secondary {
    color: #4c5a6d;
    border-color: #cfd6df;
}

.btn-lg {
    min-height: 50px;
    padding: .75rem 1.25rem;
}

/* Form controls */
.form-label {
    margin-bottom: .48rem;
    color: #344054;
    font-size: .88rem;
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 46px;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    color: var(--gn-ink);
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .02);
}

textarea.form-control {
    min-height: 92px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(24, 169, 153, .75);
    box-shadow: 0 0 0 .23rem rgba(243, 179, 29, .12);
}

.form-control[readonly] {
    color: #475467;
    background: #f6f8fb;
}

.form-check-input:checked {
    border-color: var(--gn-primary);
    background-color: var(--gn-primary);
}

.form-check {
    min-height: 42px;
    padding: .65rem .8rem .65rem 2.25rem;
    border: 1px solid var(--gn-line);
    border-radius: 10px;
    background: #fff;
    transition: border-color .18s ease, background .18s ease;
}

.form-check:hover {
    border-color: #b8c7da;
    background: #f9fbfd;
}

.form-check-input {
    margin-top: .18rem;
}

/* Alerts */
.alert {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .05);
}

.alert-success {
    color: #126146;
    background: #e9f8f2;
}

.alert-danger {
    color: #982f38;
    background: #fff0f1;
}

.alert-warning {
    color: #7d4c0a;
    background: #fff8e8;
}

.alert-info {
    color: #17577f;
    background: #edf7ff;
}

/* Public navigation */
.public-nav {
    position: sticky;
    z-index: 1020;
    top: 0;
    min-height: 76px;
    border-bottom: 1px solid rgba(222, 229, 238, .88);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 5px 18px rgba(13, 38, 65, .04);
    backdrop-filter: blur(14px);
}

.public-nav .navbar-brand {
    color: var(--gn-ink);
}

.public-nav-actions {
    display: flex;
    align-items: center;
    gap: .7rem;
}

/* Public homepage */
.public-home {
    background: #fff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 9vw, 8rem) 0 6rem;
    background:
        radial-gradient(circle at 82% 10%, rgba(243, 179, 29, .16), transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(29, 77, 149, .10), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    filter: blur(2px);
}

.hero-section::before {
    top: -120px;
    right: -110px;
    width: 350px;
    height: 350px;
    border: 70px solid rgba(29, 77, 149, .04);
}

.hero-section::after {
    bottom: -170px;
    left: -120px;
    width: 340px;
    height: 340px;
    border: 58px solid rgba(243, 179, 29, .06);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-lead {
    max-width: 650px;
    color: #546176;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2.2rem;
    color: #536176;
    font-size: .88rem;
    font-weight: 600;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.hero-trust i {
    color: var(--gn-accent-dark);
}

.hero-visual {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: auto;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 30px;
    background: linear-gradient(145deg, var(--gn-primary-dark), var(--gn-primary) 66%, #2f70c9);
    box-shadow: var(--gn-shadow-lg);
}

.hero-panel::after {
    position: absolute;
    right: -65px;
    bottom: -75px;
    width: 250px;
    height: 250px;
    content: "";
    border: 48px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.hero-panel-label {
    color: rgba(255, 255, 255, .7);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-panel h2 {
    max-width: 360px;
    margin: .75rem 0 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.hero-panel-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .85rem;
}

.hero-panel-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.hero-panel-item i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    color: #fff4cf;
    border-radius: 10px;
    background: rgba(243, 179, 29, .22);
}

.hero-mini-card {
    position: absolute;
    z-index: 3;
    right: -18px;
    bottom: 28px;
    width: 190px;
    padding: 1rem;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--gn-shadow);
}

.hero-mini-card strong {
    display: block;
    color: var(--gn-ink);
    font-size: 1.45rem;
}

.hero-mini-card span {
    color: var(--gn-muted);
    font-size: .76rem;
}

.jobs-section {
    padding: 6rem 0;
    background: #fff;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.4rem;
}

.section-heading h2 {
    margin: 0;
    color: var(--gn-ink);
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.section-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--gn-muted);
    line-height: 1.7;
}

.job-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--gn-line);
    border-radius: var(--gn-radius);
    background: #fff;
    box-shadow: var(--gn-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: #bfd0e1;
    box-shadow: var(--gn-shadow);
}

.job-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--gn-primary), var(--gn-accent));
}

.job-card .card-body {
    padding: 1.6rem;
}

.job-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    place-items: center;
    color: var(--gn-primary);
    border-radius: 14px;
    background: var(--gn-primary-soft);
    font-size: 1.25rem;
}

.job-card h3 {
    margin-bottom: .9rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .58rem;
    color: #4b5c70;
    border-radius: 999px;
    background: #f2f5f8;
    font-size: .72rem;
    font-weight: 700;
}

.job-description {
    display: -webkit-box;
    overflow: hidden;
    min-height: 76px;
    margin-bottom: 1.3rem;
    color: var(--gn-muted);
    font-size: .9rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.empty-jobs {
    padding: 3rem;
    text-align: center;
    border: 1px dashed #b8c6d6;
    border-radius: var(--gn-radius-lg);
    background: #f8fbfe;
}

.empty-jobs i {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    place-items: center;
    color: var(--gn-primary);
    border-radius: 18px;
    background: var(--gn-primary-soft);
    font-size: 1.65rem;
}

.public-cta {
    padding: 0 0 6rem;
    background: #fff;
}

.public-cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    color: #fff;
    border-radius: 28px;
    background: linear-gradient(125deg, var(--gn-primary-dark), var(--gn-primary) 66%, #2d67bd);
    box-shadow: var(--gn-shadow-lg);
}

.public-cta-card::after {
    position: absolute;
    top: -85px;
    right: -70px;
    width: 260px;
    height: 260px;
    content: "";
    border: 55px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.public-footer {
    padding: 2rem 0;
    color: #6d7788;
    border-top: 1px solid var(--gn-line);
    background: #f7f9fc;
    font-size: .82rem;
}

/* Application form */
.application-page {
    background:
        radial-gradient(circle at 94% 3%, rgba(243, 179, 29, .12), transparent 24%),
        linear-gradient(180deg, #f5f9fd 0, #eef3f8 100%);
}

.application-shell {
    max-width: 1120px;
}

.application-intro {
    margin-bottom: 1.5rem;
    padding: 2rem 2.2rem;
    color: #fff;
    border-radius: var(--gn-radius-lg);
    background: linear-gradient(130deg, var(--gn-primary-dark), var(--gn-primary) 72%, #2d67bd);
    box-shadow: var(--gn-shadow);
}

.application-intro h1 {
    margin-bottom: .65rem;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.application-intro p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
}

.application-card {
    overflow: hidden;
    border: 1px solid rgba(220, 226, 235, .9);
    border-radius: var(--gn-radius-lg);
    background: #fff;
    box-shadow: var(--gn-shadow);
}

.application-card .card-body {
    padding: clamp(1.35rem, 4vw, 3rem) !important;
}

.application-form h4 {
    position: relative;
    margin: 2.4rem 0 1.35rem !important;
    padding: 0 0 .95rem 3rem !important;
    color: var(--gn-ink);
    border-bottom: 1px solid var(--gn-line) !important;
    font-size: 1.05rem;
    font-weight: 800;
}

.application-form h4:first-of-type {
    margin-top: 0 !important;
}

.application-form h4::before {
    position: absolute;
    top: -.38rem;
    left: 0;
    display: grid;
    width: 38px;
    height: 38px;
    content: counter(section);
    counter-increment: section;
    place-items: center;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--gn-primary), var(--gn-accent));
    box-shadow: 0 7px 16px rgba(18, 60, 105, .18);
    font-size: .84rem;
}

.application-form {
    counter-reset: section;
}

.application-form .row {
    --bs-gutter-x: 1.2rem;
}

.application-form small.text-muted {
    display: block;
    margin-top: .55rem;
    line-height: 1.55;
}

.application-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding-top: .5rem;
}

/* Login */
.login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 15% 10%, rgba(243, 179, 29, .14), transparent 27%),
        radial-gradient(circle at 90% 90%, rgba(29, 77, 149, .15), transparent 28%),
        #eef4fa;
}

.login-shell {
    display: grid;
    overflow: hidden;
    width: min(980px, 100%);
    min-height: 600px;
    grid-template-columns: 1.05fr .95fr;
    border: 1px solid rgba(220, 226, 235, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--gn-shadow-lg);
}

.login-brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 5vw, 4rem);
    color: #fff;
    background: linear-gradient(145deg, var(--gn-primary-dark), var(--gn-primary) 66%, #2f70c9);
}

.login-brand-panel::before,
.login-brand-panel::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.login-brand-panel::before {
    top: -110px;
    right: -90px;
    width: 280px;
    height: 280px;
    border: 55px solid rgba(255, 255, 255, .06);
}

.login-brand-panel::after {
    right: -70px;
    bottom: -130px;
    width: 320px;
    height: 320px;
    border: 50px solid rgba(243, 179, 29, .12);
}

.login-brand-panel .brand-copy small {
    color: rgba(255, 255, 255, .62);
}

.login-brand-content {
    position: relative;
    z-index: 1;
}

.login-brand-content h1 {
    max-width: 430px;
    margin: 2.8rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.login-brand-content p {
    max-width: 420px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.75;
}

.login-security-note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .7);
    font-size: .8rem;
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.login-form-panel h2 {
    margin-bottom: .55rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.login-form-panel .login-subtitle {
    margin-bottom: 2rem;
    color: var(--gn-muted);
    line-height: 1.65;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: .55rem;
    display: grid;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    place-items: center;
    color: #667085;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.password-toggle:hover {
    color: var(--gn-primary);
    background: #eef3f8;
}

.login-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.5rem;
    color: #5e6b7e;
    font-size: .86rem;
    font-weight: 700;
}

/* Success page */
.success-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 80% 10%, rgba(24, 169, 153, .14), transparent 25%),
        #f2f7fb;
}

.success-card {
    width: min(660px, 100%);
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
    border: 1px solid var(--gn-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--gn-shadow);
}

.success-icon {
    display: grid;
    width: 84px;
    height: 84px;
    margin: 0 auto 1.5rem;
    place-items: center;
    color: #fff;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--gn-accent), var(--gn-success));
    box-shadow: 0 14px 30px rgba(24, 132, 95, .25);
    font-size: 2.2rem;
}

.success-card h1 {
    margin-bottom: .8rem;
    font-size: clamp(1.75rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.success-card p {
    color: var(--gn-muted);
    line-height: 1.75;
}

/* Admin shell */
.admin-page {
    overflow-x: hidden;
    background: var(--gn-canvas);
}

.admin-page > nav.navbar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    left: 0;
    min-height: 68px;
    padding: .65rem 1.3rem;
    border: 0;
    background: linear-gradient(100deg, var(--gn-primary-dark), var(--gn-primary)) !important;
    box-shadow: 0 8px 25px rgba(8, 31, 58, .18);
}

.admin-page > nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: 1rem;
    letter-spacing: -.02em;
}

.admin-page > nav .navbar-brand::before {
    display: grid;
    width: 38px;
    height: 38px;
    content: "GN";
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: rgba(255, 255, 255, .1);
    font-size: .72rem;
    font-weight: 800;
}

.admin-page > nav .btn-outline-light {
    border-color: rgba(255, 255, 255, .35);
}

.admin-page > .container-fluid {
    padding: 68px 0 0;
}

.admin-page > .container-fluid > .row {
    min-height: calc(100vh - 68px);
    margin: 0;
}

.admin-page aside {
    position: fixed;
    z-index: 1035;
    top: 68px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    width: 250px;
    min-height: 0 !important;
    padding: 1.45rem 1rem !important;
    border-right: 1px solid var(--gn-line) !important;
    background: #fff !important;
    box-shadow: 7px 0 24px rgba(16, 38, 67, .035);
}

.admin-page aside h6 {
    margin: .2rem .75rem .8rem;
    color: #98a2b3 !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.admin-page aside .list-group {
    gap: .38rem;
}

.admin-page aside .list-group-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    gap: .75rem;
    padding: .7rem .82rem;
    color: #4a586c;
    border: 0;
    border-radius: 10px !important;
    background: transparent;
    font-size: .88rem;
    font-weight: 700;
}

.admin-page aside .list-group-item > i {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    color: #657386;
    border-radius: 8px;
    background: #eef2f6;
    font-size: .92rem;
}

.admin-page aside .list-group-item:hover {
    color: var(--gn-primary);
    background: #f1f6fb;
}

.admin-page aside .list-group-item.active {
    color: var(--gn-primary-dark);
    background: linear-gradient(100deg, #edf3fb, #fff8e5);
    box-shadow: inset 4px 0 0 var(--gn-accent);
}

.admin-page aside .list-group-item.active > i {
    color: #fff;
    background: linear-gradient(145deg, var(--gn-primary), var(--gn-accent));
}

.admin-page main {
    width: calc(100% - 250px) !important;
    max-width: none;
    margin-left: 250px;
    padding: 2rem 2.25rem 3rem !important;
}

.admin-page main > h1,
.admin-page main .d-flex > h1 {
    margin: 0;
    color: var(--gn-ink);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.admin-page main > .d-flex.justify-content-between {
    gap: 1rem;
}

.admin-page .card {
    border: 1px solid var(--gn-line);
    border-radius: var(--gn-radius);
    background: #fff;
    box-shadow: var(--gn-shadow-sm) !important;
}

.admin-page .card-header {
    padding: 1rem 1.25rem;
    color: #27364a;
    border-bottom: 1px solid var(--gn-line);
    background: #fff;
    border-radius: var(--gn-radius) var(--gn-radius) 0 0 !important;
    font-size: .92rem;
}

.admin-page .card-body {
    padding: 1.25rem;
}

.dashboard-welcome {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 1.8rem 2rem;
    color: #fff;
    border-radius: var(--gn-radius-lg);
    background: linear-gradient(125deg, var(--gn-primary-dark), var(--gn-primary) 66%, #2f70c9);
    box-shadow: var(--gn-shadow);
}

.dashboard-welcome::after {
    position: absolute;
    top: -80px;
    right: -50px;
    width: 220px;
    height: 220px;
    content: "";
    border: 45px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}

.dashboard-welcome h1 {
    position: relative;
    z-index: 1;
    margin-bottom: .5rem;
    color: #fff !important;
}

.dashboard-welcome p {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 155px;
}

.metric-card::after {
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 92px;
    height: 92px;
    content: "";
    border-radius: 50%;
    background: rgba(29, 77, 149, .06);
}

.metric-card .metric-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    place-items: center;
    color: var(--gn-primary);
    border-radius: 12px;
    background: var(--gn-primary-soft);
    font-size: 1.1rem;
}

.metric-card.metric-new .metric-icon { color: #235fa2; background: #eaf2ff; }
.metric-card.metric-review .metric-icon { color: var(--gn-warning); background: #fff5df; }
.metric-card.metric-interview .metric-icon { color: #7d4eb1; background: #f4ebff; }
.metric-card.metric-jobs .metric-icon { color: var(--gn-success); background: #e9f8f2; }

.metric-label {
    color: var(--gn-muted);
    font-size: .78rem;
    font-weight: 700;
}

.metric-value {
    margin-top: .3rem;
    color: var(--gn-ink);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.admin-page .table-responsive {
    overflow: visible;
}

.admin-page table {
    margin-bottom: 0;
}

.admin-page .table > :not(caption) > * > * {
    padding: .9rem .8rem;
    border-bottom-color: #edf0f4;
}

.admin-page .table thead th {
    color: #667085;
    border-bottom: 1px solid #dde3ea;
    background: #f8fafc;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-page .table tbody tr {
    transition: background .16s ease;
}

.admin-page .table tbody tr:hover {
    background: #f8fbfd;
}

.admin-page .badge {
    padding: .45rem .62rem;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .025em;
}

.admin-page .bg-primary,
.admin-page .badge.bg-primary { background-color: var(--gn-primary) !important; }
.admin-page .bg-success,
.admin-page .badge.bg-success { background-color: var(--gn-success) !important; }
.admin-page .badge.bg-secondary { background-color: #6b7788 !important; }

.status-nuevo { color: #1f5f9e !important; background: #eaf3ff !important; }
.status-revision { color: #8a5511 !important; background: #fff4dc !important; }
.status-entrevista { color: #7043a0 !important; background: #f2eaff !important; }
.status-descartado { color: #9a3c45 !important; background: #ffedef !important; }
.status-contratado { color: #116c4d !important; background: #e5f7ef !important; }

.admin-page .list-group-item {
    border-color: var(--gn-line);
}

.admin-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    margin-right: .7rem;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.admin-sidebar-overlay {
    position: fixed;
    z-index: 1030;
    inset: 68px 0 0;
    display: none;
    background: rgba(8, 23, 39, .52);
    backdrop-filter: blur(2px);
}

.admin-sidebar-overlay.show {
    display: block;
}

/* Recovery tool */
.recovery-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem;
    background: var(--gn-canvas);
}

.recovery-card {
    width: min(620px, 100%);
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--gn-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--gn-shadow);
}

.recovery-card h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-visual {
        margin: 3rem auto 0;
    }

    .hero-mini-card {
        right: 12px;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 310px;
    }

    .login-brand-content h1 {
        margin-top: 2rem;
    }

    .login-security-note {
        margin-top: 2rem;
    }

    .admin-menu-toggle {
        display: inline-grid;
    }

    .admin-page aside {
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .admin-page aside.show {
        transform: translateX(0);
    }

    .admin-page main {
        width: 100% !important;
        margin-left: 0;
        padding: 1.5rem !important;
    }

    .admin-page > nav .navbar-brand::before {
        display: none;
    }

    .admin-page > nav .navbar-brand {
        font-size: .92rem;
    }
}

@media (max-width: 767.98px) {
    .public-nav {
        min-height: 68px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand-copy small {
        display: none;
    }

    .hero-section {
        padding-top: 4.2rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-mini-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 1rem;
    }

    .application-intro {
        padding: 1.6rem;
    }

    .application-card .card-body {
        padding: 1.25rem !important;
    }

    .application-form h4 {
        padding-left: 2.8rem !important;
        font-size: .98rem;
    }

    .login-page {
        padding: 0;
        background: #fff;
    }

    .login-shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-brand-panel {
        min-height: 260px;
        padding: 1.5rem;
    }

    .login-brand-content h1 {
        font-size: 2rem;
    }

    .login-form-panel {
        padding: 2rem 1.5rem 3rem;
    }

    .admin-page > nav.navbar {
        padding: .6rem .75rem;
    }

    .admin-page > nav .d-flex.text-white span {
        display: none;
    }

    .admin-page main > .d-flex.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .admin-page main > .d-flex.justify-content-between > div,
    .admin-page main > .d-flex.justify-content-between > a {
        width: 100%;
    }

    .admin-page main > .d-flex.justify-content-between > div .btn {
        margin: 0 0 .5rem;
    }

    .admin-page .table-responsive {
        overflow-x: auto;
    }

    .admin-page .card-body {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


.admin-page .navbar.bg-primary {
    background: linear-gradient(135deg, var(--gn-primary-dark), var(--gn-primary) 68%, #2d67bd) !important;
    box-shadow: 0 12px 28px rgba(12, 34, 68, .12);
}

.admin-page .navbar {
    min-height: 74px;
}

.hero-panel-item i,
.metric-card.metric-review .metric-icon,
.success-icon {
    box-shadow: none;
}

.success-icon {
    background: linear-gradient(145deg, var(--gn-primary), var(--gn-accent));
}

.recovery-card {
    border: 1px solid var(--gn-line);
}

@media (max-width: 991.98px) {
    .brand-logo-public {
        height: 48px;
    }

    .brand-logo-login,
    .brand-logo-reset {
        height: 58px;
    }

    .admin-brand-copy strong {
        font-size: .92rem;
    }

    .admin-brand-copy small {
        font-size: .62rem;
    }
}

@media (max-width: 575.98px) {
    .public-nav {
        min-height: 74px;
    }

    .brand-logo-public {
        height: 42px;
    }

    .brand-logo-card {
        padding: .7rem .8rem;
        border-radius: 16px;
    }

    .brand-logo-login,
    .brand-logo-reset {
        height: 50px;
    }

    .admin-brand {
        gap: .55rem;
    }

    .admin-brand-badge {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .admin-brand-mark {
        width: 30px;
    }

    .admin-brand-copy small {
        letter-spacing: .1em;
    }
}


/* Seguridad del formulario */
.form-security-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-security-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff, #fffaf0);
}

.form-security-copy {
    display: flex;
    align-items: center;
    gap: .85rem;
    color: var(--gn-ink);
}

.form-security-copy > i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--gn-primary);
    border-radius: 12px;
    background: var(--gn-primary-soft);
    font-size: 1.1rem;
}

.form-security-copy strong,
.form-security-copy span {
    display: block;
}

.form-security-copy span {
    margin-top: .2rem;
    color: var(--gn-muted);
    font-size: .8rem;
}

.application-export-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
}

@media (max-width: 767.98px) {
    .form-security-card {
        align-items: stretch;
        flex-direction: column;
    }

    .form-security-card .cf-turnstile {
        width: 100%;
    }

    .application-export-actions {
        width: 100%;
        justify-content: stretch;
    }

    .application-export-actions .btn {
        flex: 1 1 100%;
    }
}


/* Documentos obligatorios por vacante */
.job-document-requirements,
.additional-documents-panel {
    padding: 1.2rem;
    border: 1px solid var(--gn-line);
    border-radius: 16px;
    background: #f8fbff;
}

.requirement-check,
.additional-documents-panel .form-check {
    min-height: 48px;
    padding: .75rem .85rem .75rem 2.35rem;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    background: #fff;
}

.required-document-card {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--gn-line);
    border-radius: 16px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.required-document-card.is-required {
    border-color: rgba(243, 179, 29, .72);
    background: #fffaf0;
    box-shadow: 0 10px 26px rgba(182, 116, 18, .09);
}

.required-document-heading {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .8rem;
}

.required-document-heading i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--gn-primary);
    border-radius: 10px;
    background: var(--gn-primary-soft);
}

.required-document-card.is-required .required-document-heading i {
    color: #8b5a09;
    background: var(--gn-accent-soft);
}

.required-document-card small {
    display: block;
    margin-top: .65rem;
    line-height: 1.45;
}

.document-requirements-note {
    margin-bottom: 1.25rem;
}

/* Datos confidenciales de contratación */
.confidential-employment-card {
    border-color: rgba(243, 179, 29, .38) !important;
}

.confidential-employment-card > .card-header {
    color: var(--gn-primary-dark);
    background: linear-gradient(90deg, var(--gn-accent-soft), #fff);
}

.confidential-data-notice {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.1rem;
    color: #5f4810;
    border: 1px solid rgba(243, 179, 29, .34);
    border-radius: 14px;
    background: #fff9e8;
}

.confidential-data-notice > i {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    color: var(--gn-primary);
    border-radius: 11px;
    background: rgba(29, 77, 149, .1);
}

.confidential-data-notice strong,
.confidential-data-notice span {
    display: block;
}

.confidential-data-notice span {
    margin-top: .2rem;
    color: #77642e;
    font-size: .84rem;
    line-height: 1.5;
}

.confidential-section-title {
    margin-bottom: 1rem;
    color: var(--gn-primary-dark);
    font-weight: 800;
    letter-spacing: -.015em;
}

.confidential-iban-group .form-control {
    letter-spacing: .075em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.confidential-file-current {
    padding: .75rem;
    border: 1px solid var(--gn-line);
    border-radius: 12px;
    background: #f8fafc;
}

@media (max-width: 575.98px) {
    .confidential-employment-card > .card-header {
        align-items: flex-start !important;
        flex-direction: column;
    }
}
