
/* =====================================================
   KERJIVA MALAYSIA
   MAIN STYLESHEET
   ===================================================== */

:root {
  --primary: #123b6d;
  --primary-dark: #0b2b50;
  --secondary: #f28c28;
  --text: #263445;
  --muted: #6b7785;
  --background: #f6f8fb;
  --white: #ffffff;
  --border: #e3e8ef;
  --shadow: 0 8px 25px rgba(18, 59, 109, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* HEADER */

.main-header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.header-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--primary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
}

.logo small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary);
  text-transform: uppercase;
  margin-top: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn,
.register-btn {
  padding: 10px 19px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s;
}

.login-btn {
  color: var(--primary);
  border: 1px solid var(--primary);
}

.login-btn:hover {
  background: #edf3fa;
}

.register-btn {
  background: var(--secondary);
  color: var(--white);
}

.register-btn:hover {
  background: #df7818;
}


/* HERO SECTION */

.hero-section {
  min-height: 440px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      110deg,
      rgba(11, 43, 80, 0.97),
      rgba(18, 59, 109, 0.90)
    );
  color: var(--white);
  padding: 75px 0;
}

.hero-content {
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

.hero-label,
.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text p {
  max-width: 560px;
  font-size: 17px;
  color: #e1eaf5;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s;
}

.primary-btn {
  background: var(--secondary);
  color: var(--white);
}

.primary-btn:hover {
  background: #df7818;
  transform: translateY(-2px);
}

.secondary-btn {
  border: 1px solid rgba(255,255,255,0.75);
  color: var(--white);
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.12);
}


/* =====================================================
   KERJIVA MALAYSIA
   COMPANY POST JOB BANNER & ADSENSE SPACE
===================================================== */

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 45px;
}

.hero-text {
  max-width: 680px;
  min-width: 0;
}

.hero-company-area {
  width: 100%;
  max-width: 390px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company-post-banner {
  padding: 25px 22px;
  background: var(--white);
  color: var(--primary);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border-top: 5px solid var(--secondary);
}

.company-banner-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.company-post-banner h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}

.company-post-banner h3 {
  color: var(--secondary);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 900;
  margin: 3px 0 8px;
}

.company-post-banner p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.company-post-banner-btn {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: 0.2s;
}

.company-post-banner-btn:hover {
  background: #df7818;
  transform: translateY(-2px);
}

.hero-ad-space {
  min-height: 105px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px dashed rgba(255, 255, 255, 0.65);
  border-radius: 9px;
  color: #e1eaf5;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

/* TABLET */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr 0.85fr;
    gap: 25px;
  }

  .company-post-banner {
    padding: 20px 16px;
  }

  .company-post-banner h2 {
    font-size: 27px;
  }

  .company-post-banner h3 {
    font-size: 33px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-company-area {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-ad-space {
    min-height: 90px;
  }
}

/* JOB SEARCH */

.search-section {
  position: relative;
  margin-top: -35px;
  z-index: 2;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.search-field input,
.search-field select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  outline: none;
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--primary);
}

.search-btn {
  height: 48px;
  padding: 0 25px;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.search-btn:hover {
  background: var(--primary-dark);
}


/* SECTION HEADINGS */

.jobs-section {
  padding: 90px 0 75px;
  background: var(--background);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading h2,
.career-text h2,
.company-text h2,
.about-section h2 {
  color: var(--primary);
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-heading p,
.about-section p {
  color: var(--muted);
  font-size: 15px;
}

.view-all-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--secondary);
}


/* JOB GRID */

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.empty-jobs {
  grid-column: 1 / -1;
  padding: 45px 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.empty-jobs h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-jobs p {
  color: var(--muted);
  font-size: 14px;
}


/* CAREER SECTION */

.career-section {
  padding: 85px 0;
  background: var(--white);
}

.career-content {
  display: flex;
  align-items: center;
}

.career-text {
  max-width: 650px;
}

.career-text p,
.company-text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 25px;
}


/* COMPANY SECTION */

.company-section {
  padding: 85px 0;
  background: #f0f4f9;
}

.company-content {
  display: flex;
  align-items: center;
}

.company-text {
  max-width: 650px;
}


/* ABOUT SECTION */

.about-section {
  padding: 85px 0;
  text-align: center;
}

.about-section .section-label {
  margin-bottom: 12px;
}

.about-section h2 {
  max-width: 650px;
  margin: 0 auto 18px;
}

.about-section p {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}


/* FOOTER */

.main-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 55px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand h2 {
  font-size: 25px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #c7d5e5;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--secondary);
}

.footer-links a {
  color: #d6e0eb;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 18px 10px;
}

.footer-bottom p {
  color: #c7d5e5;
  font-size: 13px;
}


/* RESPONSIVE TABLET */

@media (max-width: 900px) {
  .header-content {
    flex-wrap: wrap;
    padding: 15px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-box {
    grid-template-columns: 1fr 1fr;
  }

  .search-btn {
    grid-column: 1 / -1;
  }
}


/* RESPONSIVE MOBILE */

@media (max-width: 600px) {
  .container {
    width: 90%;
  }

  .header-content {
    gap: 14px;
  }

  .logo {
    font-size: 24px;
  }

  .header-actions {
    gap: 7px;
  }

  .login-btn,
  .register-btn {
    padding: 8px 11px;
    font-size: 12px;
  }

  .main-nav {
    gap: 17px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .main-nav a {
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-section {
    min-height: 390px;
    padding: 65px 0;
  }

  .hero-text h1 {
    font-size: 39px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons a {
    text-align: center;
  }

  .search-section {
    margin-top: -20px;
  }

  .search-box {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
  }

  .search-btn {
    grid-column: auto;
    width: 100%;
  }

  .jobs-section,
  .career-section,
  .company-section,
  .about-section {
    padding: 60px 0;
  }

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

  .section-heading h2,
  .career-text h2,
  .company-text h2,
  .about-section h2 {
    font-size: 27px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .header-content {
    justify-content: center;
  }
     .logo {
    width: 100%;
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

   
/* =====================================================
   KERJIVA MALAYSIA
   JOBSEEKER DASHBOARD STYLES
   ===================================================== */

.dashboard-page {
  min-height: 100vh;
  background: var(--background);
}

.dashboard-page[hidden] {
  display: none !important;
}

.dashboard-header {
  min-height: 75px;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.dashboard-brand .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max-content;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}


.dashboard-brand .logo img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


.dashboard-brand .logo small {
  display: block;
  margin-top: 1px;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dashboard-header-right span {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-header-right button {
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-header-right button:hover {
  background: #edf3fa;
}

.dashboard-header-right #jobseekerLogoutBtn {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}


/* DASHBOARD LAYOUT */

.dashboard-layout {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 75px);
}


/* SIDEBAR */

.dashboard-sidebar {
  width: 255px;
  min-width: 255px;
  min-height: calc(100vh - 75px);
  padding: 28px 18px;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 75px;
  align-self: flex-start;
}

.sidebar-profile {
  text-align: center;
  padding: 10px 5px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 22px;
}

.profile-avatar {
  width: 65px;
  height: 65px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.sidebar-profile h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.sidebar-profile p {
  font-size: 12px;
  color: #c7d5e5;
}

.dashboard-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dashboard-menu-link {
  display: block;
  padding: 12px 14px;
  border-radius: 7px;
  color: #d6e0eb;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

.dashboard-menu-link:hover,
.dashboard-menu-link.active {
  background: rgba(255,255,255,0.13);
  color: var(--white);
}

.dashboard-menu-link.active {
  border-left: 3px solid var(--secondary);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 25px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.sidebar-footer p {
  font-size: 13px;
  font-weight: 700;
}

.sidebar-footer small {
  font-size: 11px;
  color: #c7d5e5;
}


/* MAIN CONTENT */

.dashboard-main {
  flex: 1;
  min-width: 0;
  padding: 35px;
}


.dashboard-content-section {
  display: none;
}

.dashboard-content-section:not([hidden]) {
  display: block;
}


.dashboard-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-page-heading h1 {
  color: var(--primary);
  font-size: 30px;
  margin-bottom: 7px;
}

.dashboard-page-heading p {
  color: var(--muted);
  font-size: 14px;
}


/* STATISTICS */

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}

.dashboard-stat-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.dashboard-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.dashboard-stat-card h2 {
  color: var(--primary);
  font-size: 30px;
  margin: 8px 0 3px;
}

.dashboard-stat-card p {
  color: var(--muted);
  font-size: 12px;
}


/* DASHBOARD PANELS */

.dashboard-panel {
  padding: 25px;
  margin-bottom: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.dashboard-panel h2 {
  color: var(--primary);
  font-size: 19px;
  margin-bottom: 15px;
}

.dashboard-panel p {
  color: var(--muted);
  font-size: 14px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin-bottom: 0;
}

.panel-heading button {
  padding: 9px 15px;
  border: 1px solid var(--primary);
  border-radius: 7px;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}


/* PROFILE COMPLETION */

.profile-completion > p {
  margin: 12px 0;
}

#profileCompletionPercent {
  color: var(--secondary);
  font-size: 20px;
  font-weight: 800;
}

.completion-progress {
  width: 100%;
  height: 9px;
  overflow: hidden;
  background: #e8edf3;
  border-radius: 20px;
}

.completion-progress-bar {
  width: 0;
  height: 100%;
  background: var(--secondary);
  border-radius: 20px;
  transition: width 0.3s;
}


/* EMPTY STATES */

.dashboard-empty-state {
  padding: 30px 15px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 8px;
}

.dashboard-empty-state h3 {
  color: var(--primary);
  font-size: 17px;
  margin-bottom: 7px;
}

.dashboard-empty-state p {
  margin-bottom: 12px;
}


/* PROFILE DETAILS */

#jobseekerProfileDetails,
#jobseekerProfessionalDetails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

#jobseekerProfileDetails p,
#jobseekerProfessionalDetails p {
  padding: 13px;
  background: #f8fafc;
  border-radius: 7px;
  overflow-wrap: anywhere;
}

#jobseekerProfileDetails strong,
#jobseekerProfessionalDetails strong {
  color: var(--primary);
}


/* DOCUMENT UPLOAD */

.document-upload-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.document-upload-form .search-field input,
.document-upload-form .search-field select {
  height: 46px;
}

.document-upload-form button {
  width: fit-content;
}

#jobseekerDocumentStatus {
  grid-column: 1 / -1;
}


/* JOB SEARCH */


.dashboard-panel .search-box {
  box-shadow: none;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Category / Job Type: full width on first row */
.dashboard-panel .search-box .search-field:first-child {
  grid-column: 1 / -1;
}

/* Search button: full width on last row */
.dashboard-panel .search-box .search-btn {
  grid-column: 1 / -1;
  width: 100%;
}

#jobseekerJobResults {
  margin-top: 20px;
}


#jobseekerJobResults {
  margin-top: 20px;
}


/* APPLICATIONS AND INTERVIEWS */

#jobseekerApplicationsList,
#jobseekerInterviewList,
#dashboardRecentApplications,
#dashboardUpcomingInterviews,
#jobseekerDocumentList {
  width: 100%;
  overflow-x: auto;
}


/* ACCOUNT SETTINGS */

#jobseekerSettings .dashboard-panel button {
  padding: 11px 18px;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}


/* RESPONSIVE TABLET */

@media (max-width: 1000px) {

  .dashboard-sidebar {
    width: 220px;
    min-width: 220px;
  }

  .dashboard-main {
    padding: 25px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* RESPONSIVE MOBILE */

@media (max-width: 650px) {

  .dashboard-header {
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .dashboard-header-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-header-right span {
    width: 100%;
  }

  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    min-width: 100%;
    min-height: auto;
    padding: 15px;
  }

  .sidebar-profile {
    display: none;
  }

  .dashboard-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }

  .dashboard-menu-link {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 12px;
  }

  .sidebar-footer {
    display: none;
  }

  .dashboard-main {
    width: 100%;
    padding: 20px 15px;
  }

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

  .dashboard-page-heading h1 {
    font-size: 25px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dashboard-stat-card {
    padding: 15px;
  }

  .dashboard-stat-card h2 {
    font-size: 24px;
  }

  .dashboard-panel {
    padding: 18px;
  }

  #jobseekerProfileDetails,
  #jobseekerProfessionalDetails {
    grid-template-columns: 1fr;
  }

  .document-upload-form {
    grid-template-columns: 1fr;
  }

  .document-upload-form button {
    width: 100%;
  }

  .dashboard-panel .search-box {
    grid-template-columns: 1fr;
  }
   }

   /* =====================================================
   KERJIVA MALAYSIA
   COMPANY DASHBOARD STYLES
   ===================================================== */

/* COMPANY HEADER */

#companyDashboard .dashboard-header {
  display: flex;
  align-items: center;
}

#companyDashboard .dashboard-header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}


#companyDashboard .dashboard-header-content .logo {
  font-size: initial;
  font-weight: normal;
}

#companyDashboard .dashboard-header-content .logo .company-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max-content;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}


#companyDashboard .dashboard-header-content .logo .company-logo img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


#companyDashboard .dashboard-header-content .logo .company-logo small {
  display: block;
  margin-top: 1px;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
}

#companyDashboard .dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#companyDashboard .dashboard-header-actions span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

#companyDashboard .dashboard-header-actions button {
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#companyDashboard #companyLogoutBtn {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}


/* COMPANY SIDEBAR */

#companyDashboard .sidebar-avatar {
  width: 65px;
  height: 65px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

#companyDashboard .dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#companyDashboard .dashboard-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 7px;
  color: #d6e0eb;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

#companyDashboard .dashboard-nav a:hover,
#companyDashboard .dashboard-nav a.active {
  background: rgba(255,255,255,0.13);
  color: var(--white);
}

#companyDashboard .dashboard-nav a.active {
  border-left: 3px solid var(--secondary);
}


/* COMPANY CONTENT */

#companyDashboard .dashboard-section-header {
  margin-bottom: 28px;
}

#companyDashboard .dashboard-section-header h2 {
  color: var(--primary);
  font-size: 30px;
  margin-bottom: 7px;
}

#companyDashboard .dashboard-section-header p {
  color: var(--muted);
  font-size: 14px;
}


/* COMPANY STATISTICS */

#companyDashboard .stat-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

#companyDashboard .stat-card h3 {
  color: var(--muted);
  font-size: 13px;
}

#companyDashboard .stat-card p {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  margin-top: 8px;
}


/* COMPANY FORMS */

#companyDashboard .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

#companyDashboard .form-group label {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

#companyDashboard .form-group input,
#companyDashboard .form-group select,
#companyDashboard .form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

#companyDashboard .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

#companyDashboard .form-group input:focus,
#companyDashboard .form-group select:focus,
#companyDashboard .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

#companyDashboard form button {
  padding: 11px 18px;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

#companyDashboard #saveCompanyJobDraftBtn {
  background: #64748b;
}

#companyDashboard #submitCompanyJobBtn {
  background: var(--secondary);
}

#companyDashboard form button:hover {
  opacity: 0.9;
}


/* COMPANY RESPONSIVE */

@media (max-width: 650px) {

  #companyDashboard .dashboard-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  #companyDashboard .dashboard-header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  #companyDashboard .dashboard-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }

  #companyDashboard .dashboard-nav a {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 12px;
  }

  #companyDashboard .dashboard-section-header h2 {
    font-size: 25px;
  }

  #companyDashboard .stat-card {
    padding: 15px;
  }

  #companyDashboard .stat-card p {
    font-size: 24px;
  }

  #companyDashboard form button {
    width: 100%;
    margin-bottom: 8px;
  }

}

/* =====================================================
   KERJIVA MALAYSIA
   LOGIN PAGE STYLES
   ===================================================== */

.auth-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
  background: #f1f5f9;
  font-family: inherit;
}

.auth-container {
  width: 100%;
  max-width: 460px;
  margin: auto;
}

.auth-card {
  width: 100%;
  padding: 38px 35px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.auth-brand {
  margin-bottom: 32px;
  text-align: center;
}

.auth-brand .logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #123b6d;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.auth-brand .logo small {
  margin-top: 4px;
  color: #f28c28;
  font-size: 13px;
  font-weight: 700;
}

.auth-brand p {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

.auth-heading {
  margin-bottom: 26px;
  text-align: center;
}

.auth-heading h1 {
  margin-bottom: 9px;
  color: #123b6d;
  font-size: 27px;
  font-weight: 800;
}

.auth-heading p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
}

.auth-form-group label {
  color: #123b6d;
  font-size: 14px;
  font-weight: 700;
}

.auth-form-group input {
  width: 100%;
  min-height: 47px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #1e293b;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-group input:focus {
  outline: none;
  border-color: #123b6d;
  box-shadow: 0 0 0 3px rgba(18, 59, 109, 0.1);
}

.auth-forgot-password {
  margin: -3px 0 22px;
  text-align: right;
}

.auth-forgot-password a {
  color: #123b6d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot-password a:hover {
  color: #f28c28;
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  min-height: 47px;
  padding: 12px 18px;
  border: none;
  border-radius: 7px;
  background: #123b6d;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-submit-btn:hover {
  background: #0d2e55;
}

.auth-status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
}

.auth-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.auth-footer p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.auth-footer a,
.auth-back-home a {
  color: #123b6d;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer a:hover,
.auth-back-home a:hover {
  color: #f28c28;
  text-decoration: underline;
}

.auth-back-home {
  margin-top: 22px;
  text-align: center;
}

.auth-back-home a {
  font-size: 13px;
}


/* LOGIN RESPONSIVE */

@media (max-width: 480px) {

  .auth-page {
    padding: 20px 14px;
  }

  .auth-card {
    padding: 30px 22px;
  }

  .auth-brand .logo {
    font-size: 29px;
  }

  .auth-heading h1 {
    font-size: 24px;
  }

}


/* =====================================================
   KERJIVA MALAYSIA
   REGISTER PAGE STYLES
   ===================================================== */

/* REGISTER CARD */

.auth-page:has(#registerForm) .auth-container {
  max-width: 540px;
}

.auth-page:has(#registerForm) .auth-card {
  padding: 38px 35px;
}


/* REGISTER SECTION */

#registerForm h2,
.auth-register-password h2 {
  margin: 25px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  color: #123b6d;
  font-size: 17px;
  font-weight: 800;
}

#registerForm h2:first-child {
  margin-top: 10px;
}


/* ACCOUNT TYPE SELECT */

#registerRole {
  width: 100%;
  min-height: 47px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #1e293b;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

#registerRole:focus {
  outline: none;
  border-color: #123b6d;
  box-shadow: 0 0 0 3px rgba(18, 59, 109, 0.1);
}


/* REGISTER INPUTS */

#registerForm .auth-form-group input {
  width: 100%;
}

#registerForm input:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}


/* PASSWORD SECTION */

.auth-register-password {
  margin-top: 25px;
}

.auth-register-password h2 {
  margin-top: 0;
}


/* REGISTER BUTTON */

#registerSubmitBtn {
  margin-top: 8px;
}


/* REGISTER RESPONSIVE */

@media (max-width: 480px) {

  .auth-page:has(#registerForm) .auth-card {
    padding: 30px 22px;
  }

  #registerForm h2,
  .auth-register-password h2 {
    font-size: 16px;
  }

}

/* REGISTER TEXTAREA */

#registerForm .auth-form-group textarea {
  width: 100%;
  min-height: 90px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #1e293b;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

#registerForm .auth-form-group textarea:focus {
  outline: none;
  border-color: #123b6d;
  box-shadow: 0 0 0 3px rgba(18, 59, 109, 0.1);
}

#registerForm .auth-form-group textarea:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}


/* =====================================================
   KERJIVA MALAYSIA
   JOBSEEKER MY PROFILE FORM
   ===================================================== */

#jobseekerProfile .jobseeker-profile-panel {
  padding: 30px;
}

#jobseekerProfile .jobseeker-profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

#jobseekerProfile .jobseeker-profile-top h2 {
  margin-bottom: 5px;
}

#jobseekerProfile .jobseeker-profile-top p {
  font-size: 13px;
}

#jobseekerProfile .jobseeker-profile-form fieldset {
  min-width: 0;
  border: none;
}

#jobseekerProfile .jobseeker-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 4px;
}

#jobseekerProfile .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin-bottom: 19px;
}

#jobseekerProfile .form-group.full-width {
  grid-column: 1 / -1;
}

#jobseekerProfile .form-group label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

#jobseekerProfile .form-group input,
#jobseekerProfile .form-group select,
#jobseekerProfile .form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#jobseekerProfile .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

#jobseekerProfile .form-group input:focus,
#jobseekerProfile .form-group select:focus,
#jobseekerProfile .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 59, 109, 0.08);
}

#jobseekerProfile .form-group input:disabled,
#jobseekerProfile .form-group select:disabled,
#jobseekerProfile .form-group textarea:disabled {
  background: #f8fafc;
  color: #475569;
  cursor: default;
  opacity: 1;
}

#jobseekerProfile #profileEmailInput {
  background: #f1f5f9;
  cursor: not-allowed;
}

#jobseekerProfile .profile-edit-btn,
#jobseekerProfile #saveJobseekerProfileBtn,
#jobseekerProfile #cancelJobseekerProfileBtn {
  min-height: 42px;
  padding: 10px 19px;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

#jobseekerProfile .profile-edit-btn,
#jobseekerProfile #saveJobseekerProfileBtn {
  background: var(--primary);
  color: var(--white);
}

#jobseekerProfile .profile-edit-btn:hover,
#jobseekerProfile #saveJobseekerProfileBtn:hover {
  background: var(--primary-dark);
}

#jobseekerProfile #cancelJobseekerProfileBtn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
}

#jobseekerProfile #cancelJobseekerProfileBtn:hover {
  background: #f1f5f9;
}

#jobseekerProfile .jobseeker-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

#jobseekerProfile #jobseekerProfileStatus {
  color: var(--muted);
  font-size: 13px;
}

#jobseekerProfile .jobseeker-profile-buttons {
  display: flex;
  gap: 10px;
}

#jobseekerProfile button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 650px) {

  #jobseekerProfile .jobseeker-profile-panel {
    padding: 19px;
  }

  #jobseekerProfile .jobseeker-profile-top {
    flex-direction: column;
    align-items: stretch;
  }

  #jobseekerProfile .profile-edit-btn {
    width: 100%;
  }

  #jobseekerProfile .jobseeker-profile-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #jobseekerProfile .form-group.full-width {
    grid-column: auto;
  }

  #jobseekerProfile .jobseeker-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  #jobseekerProfile .jobseeker-profile-buttons {
    flex-direction: column;
  }

  #jobseekerProfile .jobseeker-profile-buttons button {
    width: 100%;
  }

}

/* PASSWORD SHOW / HIDE */

.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 48px;
}

.toggle-password-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 4px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.toggle-password-btn:hover {
  color: #123b6d;
}

.toggle-password-btn .eye-icon {
  width: 21px;
  height: 21px;
}


/* =====================================================
   KERJIVA MALAYSIA
   JOBSEEKER PROFILE PHOTO
   ===================================================== */

#jobseekerProfile .jobseeker-photo-panel {
  padding: 25px 30px;
}

#jobseekerProfile .jobseeker-photo-content {
  display: flex;
  align-items: center;
  gap: 25px;
}

#jobseekerProfile .jobseeker-photo-preview {
  width: 115px;
  height: 115px;
  min-width: 115px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 36px;
  font-weight: 800;
  border: 4px solid #edf3fa;
}

#jobseekerProfile .jobseeker-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#jobseekerProfile .jobseeker-photo-details {
  flex: 1;
  min-width: 0;
}

#jobseekerProfile .jobseeker-photo-details h2 {
  margin-bottom: 6px;
}

#jobseekerProfile .jobseeker-photo-requirements {
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}

#jobseekerProfile .jobseeker-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
}

#jobseekerProfile .jobseeker-photo-actions button {
  min-height: 40px;
  padding: 9px 16px;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

#jobseekerProfile #chooseJobseekerAvatarBtn {
  background: var(--primary);
}

#jobseekerProfile #uploadJobseekerAvatarBtn {
  background: var(--secondary);
}

#jobseekerProfile #removeJobseekerAvatarBtn {
  background: #64748b;
}

#jobseekerProfile .jobseeker-photo-actions button:hover:not(:disabled) {
  opacity: 0.9;
}

#jobseekerProfile #jobseekerAvatarStatus {
  margin-top: 10px;
  font-size: 13px;
}

@media (max-width: 650px) {

  #jobseekerProfile .jobseeker-photo-panel {
    padding: 20px;
  }

  #jobseekerProfile .jobseeker-photo-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #jobseekerProfile .jobseeker-photo-preview {
    width: 105px;
    height: 105px;
    min-width: 105px;
  }

  #jobseekerProfile .jobseeker-photo-actions {
    flex-direction: column;
  }

  #jobseekerProfile .jobseeker-photo-actions button {
    width: 100%;
  }

}

/* =========================================
   JOBSEEKER DOCUMENT EDIT BUTTON
   ========================================= */

.document-edit-btn {
  margin-left: 12px;
  padding: 9px 20px;
  background: #1e3a5f;
  color: #ffffff;
  border: 1px solid #1e3a5f;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.document-edit-btn:hover {
  background: #142b49;
  border-color: #142b49;
}

/* =========================================
   JOBSEEKER DOCUMENT EDIT FORM
   ========================================= */

.document-edit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-sizing: border-box;
}

.document-edit-form > label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: -6px;
}

.document-edit-form select,
.document-edit-form input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #334155;
  box-sizing: border-box;
  font: inherit;
}

.document-edit-form p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.document-edit-form button {
  align-self: flex-end;
  min-width: 110px;
  padding: 10px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.document-edit-form button:hover {
  background: #e2e8f0;
}

@media (max-width: 650px) {
  .document-edit-form {
    padding: 14px;
  }

  .document-edit-form button {
    width: 100%;
  }
}


/* =========================================================
   KERJIVA MALAYSIA
   COMPANY LOGO - COMPANY PROFILE
   ========================================================= */

.company-logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.company-logo-preview-wrapper {
  width: 120px;
  height: 120px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.company-logo-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.company-logo-preview-wrapper img[hidden] {
  display: none;
}

.company-logo-placeholder {
  color: #64748b;
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

#companyLogoUploadLabel {
  display: inline-block;
  padding: 10px 18px;
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

#companyLogoUploadLabel:hover {
  background: #1e40af;
}

.company-logo-group small {
  color: #64748b;
  font-size: 12px;
}

/* COMPANY LOGO - FIX BUTTON TEXT VISIBILITY */

#companyLogoUploadLabel {
  background-color: #1e3a8a !important;
  color: #ffffff !important;
  opacity: 1;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
}

#companyLogoUploadLabel:hover {
  background-color: #1e40af !important;
  color: #ffffff !important;
}

/* =========================================
   FIND JOBS - CATEGORY / JOB TYPE MULTI SELECT
   ========================================= */

.multi-select-dropdown {
  position: relative;
  width: 100%;
}

.multi-select-toggle {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.multi-select-toggle:hover {
  border-color: #2563eb;
}

.multi-select-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.multi-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.multi-select-options[hidden] {
  display: none;
}

.multi-select-group-title {
  padding: 10px 8px 7px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

.multi-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 6px;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
}

.multi-select-option:hover {
  background: #f3f4f6;
}

.multi-select-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #2563eb;
  cursor: pointer;
}

/* =====================================================
   KERJIVA MALAYSIA
   HOMEPAGE LATEST JOBS
   ===================================================== */

.job-card {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 59, 109, 0.12);
}

.job-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}

.job-card-company-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  object-fit: contain;
  padding: 4px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.job-card-company-name {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.job-card-title {
  color: var(--primary);
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.job-card-category {
  display: inline-block;
  margin-bottom: 15px;
  padding: 5px 10px;
  background: #edf3fa;
  color: var(--primary);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.job-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.job-card-details p {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.job-card-salary {
  margin-top: 15px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 800;
}

.job-card-loading,
.job-card-error {
  grid-column: 1 / -1;
  padding: 35px 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .job-card {
    padding: 19px;
  }
}

/* =====================================================
   KERJIVA MALAYSIA
   HOMEPAGE JOB MODALS
   ===================================================== */

.job-modal[hidden] {
  display: none !important;
}

.job-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.65);
  overflow-y: auto;
}

.job-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}


/* HOMEPAGE JOB DETAILS TWO COLUMN LAYOUT */

.homepage-job-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
  grid-template-areas: "main notice";
  gap: 24px;
  align-items: start;
}

.homepage-job-details-main {
  grid-area: main;
  min-width: 0;
}

.homepage-job-details-notice {
  grid-area: notice;
  min-width: 0;
  position: static;
}

#homepageApplyStatus:not([hidden]) {
  display: block;
  width: 100%;
  padding: 16px;
  margin: 0 0 16px;
  background: #e8f7ed;
  border: 1px solid #a7dfb8;
  border-left: 5px solid #22a447;
  border-radius: 8px;
  color: #176b32;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.job-modal-content h2 {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 22px;
}

.job-modal-content p {
  margin-bottom: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.job-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--primary);
  font-size: 25px;
  cursor: pointer;
}

.job-modal-close:hover {
  background: #e2e8f0;
}

#homepageJobDetailsContent {
  padding-top: 15px;
}

#homepageJobDetailsContent h2,
#homepageJobDetailsContent h3 {
  color: var(--primary);
  overflow-wrap: anywhere;
}

#homepageJobDetailsContent p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

#homepageApplyNowBtn,
#submitHomepageApplicationBtn {
  width: 100%;
  margin-top: 15px;
}

#homepageApplyDocumentList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.homepage-apply-document-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.homepage-apply-document-item input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}

.homepage-apply-document-item span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}

#homepageApplyCoverLetter {
  display: block;
  width: 100%;
  min-height: 120px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

#homepageApplyStatus,
#homepageApplyDocumentStatus {
  margin-top: 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
}



@media (max-width: 600px) {
  .job-modal {
    align-items: flex-start;
    padding: 12px;
  }

  .job-modal-content {
    max-height: 94vh;
    padding: 24px 18px;
    margin: auto 0;
  }

  .job-modal-content h2 {
    padding-right: 35px;
    font-size: 19px;
  }

  .homepage-job-details-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "notice"
      "main";
    gap: 12px;
  }

  .homepage-job-details-notice {
    position: static;
  }
}

/* =====================================================
   KERJIVA MALAYSIA
   HOMEPAGE HAMBURGER NAVIGATION
   ===================================================== */

/* HEADER LAYOUT */

.main-header {
  position: relative;
  z-index: 1000;
}

.header-content {
  flex-wrap: nowrap;
  min-height: 82px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

/* HAMBURGER WRAPPER */

.hamburger-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* HAMBURGER BUTTON */

.hamburger-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hamburger-btn:hover {
  background: #edf3fa;
  border-color: var(--primary);
}

.hamburger-btn span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 3px;
  background: var(--primary);
}


/* =====================================================
   HAMBURGER DROPDOWN MENU
   ===================================================== */

.hamburger-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  max-height: 75vh;
  overflow-y: auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(18, 59, 109, 0.15);
  z-index: 1001;
  box-sizing: border-box;
}

/* OPEN MENU */

.hamburger-dropdown.is-open {
  display: flex;
  flex-direction: column;
  animation: hamburgerFadeIn 0.2s ease;
}

/* MENU LINKS */

.hamburger-dropdown a {
  text-decoration: none;
}

.hamburger-dropdown .hamburger-menu-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease;
}

.hamburger-dropdown .hamburger-menu-link:hover {
  background: #edf3fa;
  color: var(--primary);
}

/* MENU ICONS */

.hamburger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  font-size: 17px;
  line-height: 1;
}

/* DASHBOARD LINKS */

.hamburger-dropdown .dashboard-menu-item {
  color: var(--primary);
  font-weight: 700;
}

/* DIVIDER */

.hamburger-divider {
  flex: 0 0 1px;
  height: 1px;
  margin: 7px 5px;
  background: var(--border);
}

/* LANGUAGE SWITCHER */

.language-switcher {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
}

.language-switcher-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.language-select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.language-select:hover {
  border-color: var(--primary);
}

.language-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.language-select option {
  background: var(--white);
  color: var(--text);
}

/* KEYBOARD ACCESSIBILITY */

.hamburger-dropdown .hamburger-menu-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* DROPDOWN ANIMATION */

@keyframes hamburgerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */

@media (max-width: 900px) {
  .header-content {
    flex-wrap: nowrap;
    padding: 12px 0;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .header-content {
    gap: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .login-btn,
  .register-btn {
    padding: 8px 11px;
    font-size: 12px;
  }

  .hamburger-btn {
    width: 40px;
    height: 40px;
  }

 .hamburger-dropdown {
  width: 270px;
  max-width: calc(100vw - 24px);
}
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .header-content {
    justify-content: space-between;
  }

  .logo {
    width: auto;
    text-align: left;
  }

  .header-actions {
    justify-content: flex-end;
  }
}

/* COMPANY DASHBOARD TITLE & BACK HOME BUTTON */

.company-dashboard-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.company-dashboard-title-row h2 {
  margin: 0;
}

.company-back-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--white);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.company-back-home-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* MOBILE */
@media (max-width: 600px) {
  .company-dashboard-title-row {
    align-items: flex-start;
    gap: 12px;
  }

  .company-back-home-btn {
    padding: 9px 13px;
    font-size: 13px;
  }
}
      
/* =====================================================
   KERJIVA MALAYSIA
   COMPANY INCOMING APPLICANTS
   ===================================================== */

/* APPLICANT LIST */

#companyDashboard #companyApplicantsList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

#companyDashboard .company-applicant-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

#companyDashboard .company-applicant-card:hover {
  border-color: #b8c9dc;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

#companyDashboard .company-applicant-card h3 {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 19px;
  font-weight: 800;
}

#companyDashboard .company-applicant-card p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* APPLICATION STATUS */

#companyDashboard .company-applicant-card p:nth-of-type(3) {
  display: inline-block;
  width: fit-content;
  margin-top: 10px;
  padding: 5px 11px;
  border-radius: 20px;
  background: #fff3df;
  color: #a65b08;
  font-size: 11px;
  font-weight: 800;
}

/* VIEW DETAILS BUTTON */

#companyDashboard .company-applicant-card button {
  min-height: 40px;
  margin-top: 13px;
  padding: 10px 19px;
  border: none;
  border-radius: 7px;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

#companyDashboard .company-applicant-card button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* APPLICANT DETAILS PANEL */

#companyDashboard #companyApplicantDetails {
  margin-top: 25px;
  scroll-margin-top: 20px;
}

#companyDashboard #companyApplicantDetails h3 {
  margin-bottom: 17px;
  color: var(--primary);
  font-size: 19px;
}

/* APPLICANT PROFILE */

#companyDashboard #companyApplicantProfile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#companyDashboard #companyApplicantProfile p {
  min-width: 0;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#companyDashboard #companyApplicantProfile p strong {
  display: block;
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 12px;
}

/* APPLIED POSITION */

#companyDashboard #companyApplicantProfile > p:first-child {
  grid-column: 1 / -1;
  background: #eef5fc;
  border-color: #dce8f5;
  color: var(--primary);
  font-weight: 700;
}

/* PROFILE LINKS */

#companyDashboard #companyApplicantProfile a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

#companyDashboard #companyApplicantProfile a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* COVER LETTER */

#companyDashboard #companyApplicantProfile h4 {
  grid-column: 1 / -1;
  margin: 12px 0 -5px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-size: 16px;
}

#companyDashboard #companyApplicantProfile h4 + p {
  grid-column: 1 / -1;
  padding: 17px;
  border: 1px solid #e8edf3;
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  white-space: pre-wrap;
  line-height: 1.8;
}

/* APPLICATION DOCUMENTS */

#companyDashboard #companyApplicantDocuments {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#companyDashboard .company-applicant-document {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #ffffff;
}

#companyDashboard .company-applicant-document p {
  min-width: 0;
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* OPEN DOCUMENT BUTTON AND LINK */

#companyDashboard .company-applicant-document button,
#companyDashboard .company-applicant-document a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border: none;
  border-radius: 7px;
  background: var(--secondary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

#companyDashboard .company-applicant-document button:hover,
#companyDashboard .company-applicant-document a:hover {
  opacity: 0.85;
}

#companyDashboard .company-applicant-document button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* MOBILE RESPONSIVE */

@media (max-width: 650px) {

  #companyDashboard .company-applicant-card {
    padding: 17px;
  }

  #companyDashboard #companyApplicantProfile {
    grid-template-columns: 1fr;
  }

  #companyDashboard #companyApplicantProfile > p:first-child,
  #companyDashboard #companyApplicantProfile h4,
  #companyDashboard #companyApplicantProfile h4 + p {
    grid-column: auto;
  }

  #companyDashboard .company-applicant-document {
    align-items: stretch;
    flex-direction: column;
  }

  #companyDashboard .company-applicant-document button,
  #companyDashboard .company-applicant-document a {
    width: 100%;
    box-sizing: border-box;
  }

}

/* ALIGN APPLICANT ACTION BUTTONS */

#companyDashboard .company-applicant-card button.company-applicant-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 5px);
  min-width: 0;
  min-height: 42px;
  padding: 10px 8px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  vertical-align: top;
}

#companyDashboard .company-applicant-card button.company-applicant-action + button.company-applicant-action {
  margin-left: 10px;
}

@media (max-width: 650px) {
  #companyDashboard .company-applicant-card button.company-applicant-action {
    font-size: 12px;
    padding: 9px 5px;
  }
}


/* =====================================================
   KERJIVA MALAYSIA
   COMPANY MY JOBS - PUBLISH BUTTON
   ===================================================== */

#companyDashboard .company-job-publish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 40px;
  margin-top: 12px;
  padding: 10px 20px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(18, 59, 109, 0.15);
  transition: background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.2s ease;
}

#companyDashboard .company-job-publish-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 5px 12px rgba(18, 59, 109, 0.22);
  transform: translateY(-2px);
}

#companyDashboard .company-job-publish-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(18, 59, 109, 0.15);
}

#companyDashboard .company-job-publish-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

@media (max-width: 600px) {
  #companyDashboard .company-job-publish-btn {
    width: 100%;
    min-height: 42px;
  }
}


/* =====================================================
   KERJIVA MALAYSIA - PRIVACY POLICY PAGE
===================================================== */

body.privacy-page {
  min-height: 100vh;
  padding: 40px 20px;
}

.privacy-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-back-btn {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
  text-align: center;
}

.privacy-content {
  width: 100%;
  margin: 0 auto;
  padding: 40px 45px;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
}

.privacy-header {
  text-align: center;
  margin-bottom: 30px;
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.privacy-content p {
  text-align: center;
}

.privacy-section {
  margin-top: 35px;
}

.privacy-content ul {
  padding: 0;
  list-style-position: inside;
  text-align: center;
}

.privacy-content li {
  text-align: center;
  margin-bottom: 10px;
}

.privacy-contact {
  text-align: center;
}

.privacy-thank-you {
  margin-top: 35px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 600px) {
  body.privacy-page {
    padding: 20px 12px;
  }

  .privacy-content {
    padding: 25px 18px;
  }
}


/* =====================================================
   KERJIVA MALAYSIA - TERMS & CONDITIONS PAGE
===================================================== */

body.terms-page {
  min-height: 100vh;
  padding: 40px 20px;
}

.terms-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.terms-back-btn {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
  text-align: center;
}

.terms-content {
  width: 100%;
  margin: 0 auto;
  padding: 40px 45px;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
}

.terms-header {
  text-align: center;
  margin-bottom: 30px;
}

.terms-content h1,
.terms-content h2,
.terms-content h3,
.terms-content p {
  text-align: center;
}

.terms-section {
  margin-top: 35px;
}

.terms-content ul {
  padding: 0;
  list-style-position: inside;
  text-align: center;
}

.terms-content li {
  text-align: center;
  margin-bottom: 10px;
}

.terms-contact {
  text-align: center;
}

.terms-thank-you {
  margin-top: 35px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 600px) {
  body.terms-page {
    padding: 20px 12px;
  }

  .terms-content {
    padding: 25px 18px;
  }
}



/* =====================================================
   KERJIVA MALAYSIA - CONTACT US PAGE
===================================================== */

body.contact-page {
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
}

.contact-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.contact-content {
  width: 100%;
  margin: 0 auto;
  padding: 40px 45px;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
}

.contact-header {
  text-align: center;
  margin-bottom: 35px;
}

.contact-header h1 {
  color: #123b6d;
  margin-bottom: 10px;
}

.contact-header h2 {
  margin-bottom: 20px;
}

.contact-header p {
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px auto;
  max-width: 600px;
}

.contact-card {
  padding: 22px 20px;
  background: #f6f8fb;
  border-radius: 10px;
  text-align: center;
}

.contact-card h3 {
  color: #123b6d;
  margin-bottom: 10px;
}

.contact-card p {
  margin: 0;
  line-height: 1.7;
}

.contact-card a {
  color: #123b6d;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-thank-you {
  margin-top: 35px;
  font-weight: 600;
  text-align: center;
}

.contact-back-btn {
  display: block;
  width: fit-content;
  margin: 25px auto 0;
  text-align: center;
}

@media (max-width: 600px) {
  body.contact-page {
    padding: 20px 12px;
  }

  .contact-content {
    padding: 25px 18px;
  }
}


/* =====================================================
   KERJIVA MALAYSIA - HELP PAGE
===================================================== */

body.help-page {
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
}

.help-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.help-header {
  text-align: center;
  margin-bottom: 35px;
}

.help-header h1 {
  color: #123b6d;
  margin-bottom: 10px;
}

.help-header p {
  line-height: 1.7;
}

.help-content {
  width: 100%;
  margin: 0 auto;
  padding: 40px 45px;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
}

.help-section {
  margin-bottom: 35px;
}

.help-section:last-child {
  margin-bottom: 0;
}

.help-section h2 {
  color: #123b6d;
  margin-bottom: 20px;
}

.help-section h3 {
  color: #263445;
  margin-top: 22px;
  margin-bottom: 8px;
}

.help-section p {
  line-height: 1.7;
  margin-top: 0;
}

.help-section a {
  color: #123b6d;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.help-section a:hover {
  text-decoration: underline;
}

.help-thank-you {
  margin-top: 35px;
  font-weight: 600;
  text-align: center;
}

.help-back-btn {
  display: block;
  width: fit-content;
  margin: 25px auto 0;
  text-align: center;
}

@media (max-width: 600px) {
  body.help-page {
    padding: 20px 12px;
  }

  .help-content {
    padding: 25px 18px;
  }
}


/* =====================================================
   KERJIVA MALAYSIA - ABOUT PAGE
===================================================== */

body.about-page {
  min-height: 100vh;
  padding: 40px 20px;
}

.about-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 30px;
}

.about-header h1 {
  color: #123b6d;
  margin-bottom: 10px;
}

.about-header p {
  line-height: 1.7;
}

.about-content {
  width: 100%;
  margin: 0 auto;
  padding: 40px 45px;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
}

.about-section {
  margin-top: 35px;
}

.about-section:first-child {
  margin-top: 0;
}

.about-section h2 {
  color: #123b6d;
  margin-bottom: 18px;
}

.about-section h3 {
  color: #263445;
  margin-top: 25px;
  margin-bottom: 12px;
}

.about-section p {
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 15px;
}

.about-content ul {
  padding: 0;
  list-style-position: inside;
  text-align: center;
  margin-top: 12px;
}

.about-content li {
  text-align: center;
  line-height: 1.7;
  margin-bottom: 10px;
}

.about-highlight {
  margin-top: 25px !important;
  font-weight: 600;
}

.about-tagline-bottom {
  margin-top: 25px !important;
  font-weight: 700;
  color: #123b6d;
}

.about-footer {
  text-align: center;
  margin-top: 30px;
}

.about-back-btn {
  display: block;
  width: fit-content;
  margin: 0 auto 20px;
  text-align: center;
}

.about-copyright {
  color: #6b7785;
  font-size: 14px;
}

@media (max-width: 600px) {
  body.about-page {
    padding: 20px 12px;
  }

  .about-content {
    padding: 25px 18px;
  }
}


/* =====================================================
   KERJIVA MALAYSIA
   HOMEPAGE LOGO - IMAGE ABOVE MALAYSIA TEXT
   ===================================================== */

.main-header .header-content .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: max-content;
  text-align: center;
  line-height: 1;
}

.main-header .header-content .logo img {
  display: block;
  width: 165px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.main-header .header-content .logo small {
  display: block;
  margin-top: 1px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
}

/* MOBILE */
@media (max-width: 600px) {
  .main-header .header-content .logo img {
    width: 125px;
  }
}

/* SMALL MOBILE */
@media (max-width: 380px) {
  .main-header .header-content .logo {
    width: auto;
    align-items: center;
    text-align: center;
  }

  .main-header .header-content .logo img {
    width: 115px;
  }
}


/* KERJIVA MALAYSIA - AUTH PAGE LOGO */
.auth-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 2px;
}

.auth-logo-image {
  display: block;
  width: clamp(115px, 32vw, 165px);
  height: auto;
  object-fit: contain;
}

.auth-logo-country {
  display: block;
  color: #f28c28;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* =========================================================
   KERJIVA MALAYSIA - INTERVIEW NOTIFICATION
========================================================= */

#companyInterviewNotification {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
}

#companyInterviewNotification[hidden] {
  display: none;
}

/* SUCCESS - GREEN */
#companyInterviewNotification.success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

/* ERROR - RED */
#companyInterviewNotification.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

#companyInterviewStatus {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
/* Prevent notifications from blocking page interactions */
#kerjivaNotification {
  pointer-events: none;
}

