:root {
    --ppn-red: #e31e24;
    --ppn-blue: #003d7a;
    --ppn-dark: #0a1929;
    --ppn-yellow: #f7b500;
    --ppn-green: #39b54a;
    --ppn-text: #1f2a37;
    --ppn-soft: #f4f8fc;
    --ppn-bg: #f5f6f8;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--ppn-text);
    background-color: var(--ppn-bg);
}

a {
    color: var(--ppn-blue);
}

a:hover {
    color: #003e79;
}

.main-header {
    border-bottom: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.main-header .navbar {
    background: #fff !important;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.main-header .navbar-nav .nav-link {
    color: var(--ppn-text);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link:focus {
    color: var(--ppn-red);
    border-bottom-color: var(--ppn-red);
    background: transparent;
}

.main-header .navbar-nav .nav-link.active {
    color: var(--ppn-red);
    border-bottom-color: var(--ppn-red);
}

.btn-primary {
    background-color: var(--ppn-blue);
    border-color: var(--ppn-blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #004a8f;
    border-color: #004a8f; 
}

.main-content {
    padding: 28px 0;
    min-height: calc(100vh - 350px);
}

.is-home .main-content {
    padding-top: 0;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ppn-dark);
}

.main-footer {
    background: #003459;
    position: relative;
}

.main-footer h5 {
    color: #fff;
}

/* Topbar */
.topbar {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    background: var(--ppn-dark);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar .topbar-right a,
.topbar .topbar-left a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.topbar .topbar-right a:hover,
.topbar .topbar-left a:hover {
    color: #fff;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    overflow: hidden;
    font-size: 0.68rem;
}

.lang-switch span {
    padding: 0.12rem 0.38rem;
    color: rgba(255,255,255,0.7);
}

.lang-switch span.active {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.navbar-brand img {
    height: 42px;
}

.footer-logo {
    height: 34px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Footer layout */
.main-footer .social a {
    color: #fff;
}

.main-footer .text-warning {
    color: var(--ppn-yellow) !important;
}

.footer-title {
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    font-size: 0.78rem;
}

.footer-brand .small {
    color: rgba(255, 255, 255, 0.72);
}

.footer-brand .small i {
    color: rgba(255, 255, 255, 0.9);
}

.footer-subtitle {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 0.9rem;
    text-transform: none;
}

.footer-links li {
    margin-bottom: 0.38rem;
}

.footer-links a,
.footer-bottom a,
.footer-links-col > p > a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.74rem;
}

.footer-links a:hover,
.footer-bottom a:hover,
.footer-links-col > p > a:hover {
    color: #fff;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.2rem;
    align-items: flex-end; 
}

.footer-badge {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.48rem 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.footer-call-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-badge--wbs {
    background: rgba(138, 201, 56, 0.22);
    border-color: rgba(138, 201, 56, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-width: 2px;
    padding: 0.4rem 0.65rem 0.4rem 0.4rem;
}

.footer-wbs-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #99af32;
    display: inline-block;
    flex: none;
}

.footer-wbs-url {
    display: block;
    font-size: 0.46rem;
    font-weight: 400;
    opacity: 0.95;
}

.footer-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
    font-size: 0.72rem;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.22);
    opacity: 1;
    margin-top: 1.2rem;
    margin-bottom: 1.1rem;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
}

.footer-tagline {
    display: none;
}

.footer-tagline-image {
    width: 258px;
    max-width: 100%;
    height: auto;
}

.footer-strip {
    height: 8px;
    margin-top: 0.6rem;
    background: linear-gradient(90deg, var(--ppn-red) 0%, var(--ppn-red) 33%, var(--ppn-yellow) 33%, var(--ppn-yellow) 66%, var(--ppn-green) 66%, var(--ppn-green) 100%);
}

.home-hero-banner {
    position: relative;
    min-height: 420px;
    background:
        radial-gradient(circle at 85% 25%, rgba(227, 30, 36, 0.28), transparent 30%),
        radial-gradient(circle at 75% 20%, rgba(247, 181, 0, 0.22), transparent 38%),
        linear-gradient(120deg, #0a1630 0%, #18294f 40%, #3f2e66 68%, #7b3454 100%);
    overflow: hidden;
}

.home-hero-overlay {
    min-height: 420px;
    background: linear-gradient(90deg, rgba(5, 14, 28, 0.78) 0%, rgba(5, 14, 28, 0.28) 60%, rgba(5, 14, 28, 0.08) 100%);
    display: flex;
    align-items: center;
}

.home-hero-inner {
    color: #fff;
    padding-top: 1.6rem;
    padding-bottom: 2rem;
}

.home-hero__eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.86;
    font-weight: 600;
}

.home-hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.08;
}

.home-hero__subtitle {
    opacity: 0.92;
    max-width: 700px;
    font-size: 0.95rem;
}

.home-hero-tabs {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.63rem;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

.home-hero-tabs span {
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.home-hero-tabs span.active {
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

.vacancy-toolbar {
    background: #fff;
    border: 1px solid #e5edf6;
    border-radius: 12px;
    padding: 0.95rem;
}

#recommendedSection .recommended-toolbar {
    background: linear-gradient(120deg, rgba(0, 61, 122, 0.08) 0%, rgba(227, 30, 36, 0.08) 100%);
    border: 1px solid rgba(0, 61, 122, 0.18);
    box-shadow: 0 10px 24px rgba(15, 39, 66, 0.08);
}

#recommendedSection .recommended-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ppn-blue);
    background: #fff;
    border: 1px solid rgba(0, 61, 122, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

#recommendedSection .recommended-subtitle {
    font-size: 0.84rem;
    color: #3a4b61;
}

#recommendedSection .recommended-card {
    border: 1px solid rgba(0, 61, 122, 0.22);
    box-shadow: 0 10px 24px rgba(0, 61, 122, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

#recommendedSection .recommended-card:hover {
    box-shadow: 0 16px 32px rgba(0, 61, 122, 0.16);
}

#recommendedSection .recommended-card-chip {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #7a2630;
    background: rgba(227, 30, 36, 0.12);
    border: 1px solid rgba(227, 30, 36, 0.25);
}

.vacancy-filters #searchInput {
    min-width: 250px;
}

.vacancy-filters #locationSelect {
    min-width: 220px;
}

.auth-panel {
    background: #fff;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 24px rgba(15, 39, 66, 0.06);
}

.login-page-wrap {
    min-height: calc(100vh - 260px);
    align-items: center;
}

.login-shell {
    position: relative;
    overflow: hidden;
}

.login-shell::before,
.login-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    z-index: 0;
}

.login-shell::before {
    width: 220px;
    height: 220px;
    right: 8%;
    top: 8%;
    background: radial-gradient(circle, rgba(14, 91, 169, 0.22) 0%, rgba(14, 91, 169, 0) 70%);
}

.login-shell::after {
    width: 260px;
    height: 260px;
    left: 6%;
    bottom: 6%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.16) 0%, rgba(227, 30, 36, 0) 70%);
}

.login-panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dce9f8;
    box-shadow: 0 16px 36px rgba(8, 32, 62, 0.12);
    max-width: 460px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
}

.login-panel h1 {
    font-weight: 800;
    color: var(--ppn-dark);
    font-size: 2.05rem;
    line-height: 1.1;
}

.login-subtitle {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem !important;
    line-height: 1.45;
}

.login-brand-pill {
    width: fit-content;
    margin: 0 auto 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0e5ba9;
    background: rgba(14, 91, 169, 0.1);
    border: 1px solid rgba(14, 91, 169, 0.25);
}

.login-panel .form-control {
    border-radius: 12px;
    height: 52px;
    background-color: #f2f7fe;
    border-color: #d7e4f3;
}

.login-panel .form-control:focus {
    background: #fff;
    border-color: #8bb6e3;
    box-shadow: 0 0 0 0.22rem rgba(14, 91, 169, 0.14);
}

.login-panel .form-floating > label {
    color: #627a96;
}

.login-panel #login-submit {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.login-panel .btn-secondary {
    border-radius: 12px;
    font-weight: 700;
}

.btn-idaman {
    background: linear-gradient(90deg, #516a86 0%, #5f7896 100%);
    border-color: #5f7896;
}

.btn-idaman:hover,
.btn-idaman:focus {
    background: linear-gradient(90deg, #425a74 0%, #4e6782 100%);
    border-color: #4e6782;
}

.login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    color: #7e90a7;
    font-size: 0.8rem;
    font-weight: 600;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #d7e4f3;
}

.login-divider span {
    padding: 0 0.75rem;
}

.auth-links p {
    margin-bottom: 0.35rem;
}

.auth-links a {
    font-weight: 500;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.pagination .page-item.active .page-link {
    background-color: var(--ppn-blue);
    border-color: var(--ppn-blue);
}

.pagination .page-link {
    color: var(--ppn-blue);
}

/* Global component theming for all pages */
.main-content .card {
    border: 1px solid #e5edf6;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 39, 66, 0.06);
}

.main-content .card .card-title,
.main-content .card h4,
.main-content .card h5 {
    color: var(--ppn-dark);
}

.main-content .card .card-header.bg-primary {
    border-bottom: none;
    background: linear-gradient(120deg, var(--ppn-blue) 0%, #0a76ca 55%, var(--ppn-red) 100%) !important;
}

.main-content .form-control,
.main-content .form-select {
    border-color: #d7e4f3;
    border-radius: 10px;
}

.main-content .form-control:focus,
.main-content .form-select:focus {
    border-color: #8bb6e3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 166, 0.12);
}

.main-content .table {
    border-color: #e7edf5;
}

.main-content .table thead th {
    background: #f6f9fe;
    color: var(--ppn-dark);
    font-weight: 700;
    border-bottom-width: 1px;
}

.main-content .table-hover tbody tr:hover {
    background-color: #f8fbff;
}

.main-content .nav-tabs {
    border-bottom-color: #dbe7f4;
}

.main-content .nav-tabs .nav-link {
    color: #4b5f78;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
}

.main-content .nav-tabs .nav-link.active {
    color: var(--ppn-blue);
    border-color: #dbe7f4 #dbe7f4 #fff;
    background: #fff;
}

.main-content .alert {
    border-radius: 10px;
}

.btn-secondary {
    background-color: #5a6e87;
    border-color: #5a6e87;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #4d6178;
    border-color: #4d6178;
}

.btn-warning,
.btn-warning:hover,
.btn-warning:focus {
    color: #fff;
}

.btn-ppn-red {
    background-color: var(--ppn-red);
    border-color: var(--ppn-red);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
}

.btn-ppn-red:hover,
.btn-ppn-red:focus {
    background-color: #c31920;
    border-color: #c31920;
    color: #fff;
}

/* Small responsive adjustments */
@media (max-width: 767.98px) {
    .main-content { padding: 16px 0; }
    .topbar { font-size: 0.85rem; }
    .topbar .container { justify-content: center !important; }
    .topbar-right { display: none !important; }
    .home-hero-banner,
    .home-hero-overlay { min-height: 320px; }
    .home-hero__title { font-size: 2rem; }
    .home-hero-tabs { gap: 0.9rem; }
    .vacancy-filters #searchInput,
    .vacancy-filters #locationSelect { min-width: 100%; }
    .footer-badges { align-items: flex-start; }
    .footer-tagline-image { width: 200px; }

    .login-page-wrap {
        min-height: auto;
    }

    .login-panel {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .login-panel .form-control {
        height: 52px;
    }
}

/* Identity area adjustments */
.area-identity .main-content .container {
    max-width: 980px;
}
.area-identity h1 {
    font-size: 1.5rem;
}
.area-identity .col-md-4 {
    width: 100%;
}

/* Vacancy card styles */
.cards, .cards2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.cards .card,
.cards2 .card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 18px rgba(34,34,34,0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
    padding: 16px;
}
.cards .card:hover,
.cards2 .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(34,34,34,0.08);
}

.cards .card .badge,
.cards2 .card .badge {
    display: inline-block;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 166, 0.08);
    color: var(--ppn-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.cards .card h3,
.cards2 .card h3 {
    font-size: 16px;
    margin: 6px 0 10px;
    color: var(--ppn-dark);
    font-weight: 700;
}

.cards .card .meta,
.cards2 .card .meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.cards .card .meta-item,
.cards2 .card .meta-item {
    display:flex;
    align-items:center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 8px;
}

.cards .card .meta-item span:first-child,
.cards2 .card .meta-item span:first-child {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    border-radius:6px;
    background: rgba(0, 86, 166, 0.08);
    color: var(--ppn-blue);
    font-size: 14px;
}

.application-shell .card {
    border: 1px solid #e5edf6;
    border-radius: 14px;
}

.application-shell .card-title {
    color: var(--ppn-dark);
    font-weight: 700;
}

.application-shell .card-header {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom: none;
    background: linear-gradient(120deg, var(--ppn-blue) 0%, #0a76ca 55%, var(--ppn-red) 100%) !important;
}

.application-shell .form-control:read-only {
    background-color: #f8fbff;
    border-color: #e5edf6;
}

.application-shell .disclaimer-box {
    background: #f7fbff;
    border: 1px solid #dceaf8;
    border-radius: 10px;
    padding: 0.75rem;
}

.application-request-page .request-main-card {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5edf6;
}

.application-request-page .request-badge {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ppn-blue);
    background: rgba(0, 86, 166, 0.1);
    border: 1px solid rgba(0, 86, 166, 0.18);
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 600;
}

.application-request-page .card-title {
    color: #1b4f8c !important;
}

.application-request-page .text-muted {
    color: #5e6f86 !important;
}

.application-request-page .request-vacancy-card,
.application-request-page .request-applicant-card {
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e3edf8;
    box-shadow: 0 6px 16px rgba(15, 39, 66, 0.05);
}

.application-request-page .request-vacancy-card .card-header {
    color: #fff;
    background: linear-gradient(90deg, #0e5ba9 0%, #1e77c7 55%, #d71f42 100%) !important;
}

.application-request-page .request-vacancy-card .card-header h5 {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.application-request-page .request-applicant-card .form-label {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #5e6f86;
}

.application-request-page .app-readonly {
    background: #f8fbff;
    border-color: #d8e6f5;
    color: #2d3f57;
}

.application-request-page .applicant-input-col {
    border-left: 1px dashed #d7e4f3;
}

.application-request-page .disclaimer-box {
    background: #f4f8ff;
    border: 1px solid #d7e4f3;
    color: #3a4c63;
}

.application-request-page #applicantForm .btn-primary {
    background: linear-gradient(90deg, #0e5ba9 0%, #1a6dbb 100%);
    border: none;
    font-weight: 600;
}

.application-request-page #applicantForm .btn-primary:disabled {
    background: #b8c7da;
    color: #fff;
}

@media (max-width: 767.98px) {
    .application-request-page .applicant-input-col {
        border-left: 0;
        border-top: 1px dashed #d7e4f3;
        padding-top: 1rem;
    }
}

.app-stepper {
    display: grid;
    grid-template-columns: repeat(7, minmax(100px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.app-step {
    text-align: center;
    min-width: 100px;
}

.app-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #c8d7ea;
    color: #7b8da8;
    background: #fff;
}

.app-step.done .app-step-dot {
    border-color: var(--ppn-blue);
    color: #fff;
    background: var(--ppn-blue);
}

.app-step-text {
    font-size: 11px;
    color: #5f6f86;
    line-height: 1.3;
}

.app-step.done .app-step-text {
    color: var(--ppn-dark);
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .cards, .cards2 { gap: 14px; }
    .cards .card,
    .cards2 .card { padding: 12px; }
}
.main-header {
    position: relative;
    z-index: 30;
}

.main-header .dropdown-menu {
    z-index: 2000;
}

.is-home .main-header .navbar .text-dark {
    color: var(--ppn-text) !important;
}
