/* Dropbox sign-in button style (matches Google sign-in button) */
.dropbox-btn {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff; /* changed from blue to white */
  color: #222; /* changed from #1f1f1f to a darker shade for contrast */
  background-image: none;
  border: 1px solid #747775;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dropbox-btn:hover {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.dropbox-btn .dropbox-logo {
  height: 20px;
  width: 20px;
  min-width: 20px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}
.dropbox-btn .dropbox-btn-contents {
  flex-grow: 1;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
/*{
  display: flex;
  align-items: center;
  font-size: 1.02rem;
  color: var(--syncona-mid);
  margin-top: 2px;
  margin-bottom: 2px;
  gap: 0.4em;
}*/
.pin-icon {
  font-size: 1.15rem;
  margin-right: 0.3em;
  color: var(--syncona-accent);
}
/* Job Search Header */
.job-search-header {
  margin: 32px auto 18px auto;
  text-align: left;
  max-width: 900px;
}
.job-search-header h1 {
  font-size: 2rem;
  color: var(--syncona-dark);
  font-weight: 700;
  margin: 0 0 8px 0;
}

/* Search/Filter Bar */
.job-search-bar {
  background: #f7faff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(45, 62, 80, 0.07);
  max-width: 900px;
  margin: 0 auto 24px auto;
  padding: 18px 24px;
}
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.search-input,
.search-select,
.sort-select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #bfc7d5;
  font-size: 1rem;
  background: #fff;
  color: var(--syncona-dark);
}
.search-btn {
  background: var(--syncona-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s;
}
.search-btn:hover {
  background: var(--syncona-dark);
}
.clear-btn {
  background: #e3eafc;
  color: var(--syncona-dark);
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s;
}
.clear-btn:hover {
  background: #cfd8e8;
}

/* Job Results Section */
.job-results {
  max-width: 900px;
  margin: 0 auto 32px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(45, 62, 80, 0.08);
  padding: 24px 24px 18px 24px;
}
.job-results-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.job-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.2s;
}

.job-result.expired {
  background: #f5f5f5;
  /* Two-pane job search layout */
  .two-pane {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    min-height: 500px;
  }

  .job-list-pane {
    width: 340px;
    background: #f7f7fa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 1.2rem 0.8rem;
    display: flex;
    flex-direction: column;
  }
  .job-list-header {
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
  }
  .job-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .job-list-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    padding: 0.7rem 1rem;
    margin-bottom: 0.2rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    font-family: "Segoe UI", "Roboto", Arial, sans-serif;
    font-size: 1rem;
    transition: border 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .job-list-item.active {
    border: 2px solid #5b3fa3;
    background: #f3f0fa;
  }
  .job-list-item.expired {
    background: #f5f5f5;
    color: #aaa;
    border: 1px solid #d3d3d3;
    opacity: 0.7;
    cursor: not-allowed;
  }
  .job-list-title {
    font-weight: 500;
    font-size: 1.05rem;
    color: #222;
  }
  .job-list-item.expired .job-list-title {
    color: #aaa;
  }
  .job-list-meta {
    font-size: 0.92rem;
    color: #666;
  }
  .job-list-type {
    font-size: 0.85rem;
    color: #888;
  }
  .job-detail-pane {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 2rem 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .job-detail-header {
    border-bottom: 1px solid #ececec;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
  }
  .job-detail-header h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #3a2c6b;
    margin: 0;
    font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  }
  .job-detail-meta {
    font-size: 1rem;
    color: #666;
    margin-top: 0.2rem;
  }
  .job-detail-desc {
    font-size: 1.02rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  }
  .job-detail-apply {
    display: flex;
    align-items: center;
  }
  .job-detail-apply-btn {
    background: #5b3fa3;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    transition: background 0.2s;
    text-decoration: none;
  }
  .job-detail-apply-btn:hover {
    background: #432a7a;
  }

  @media (max-width: 900px) {
    .two-pane {
      flex-direction: column;
      gap: 1.2rem;
    }
    .job-list-pane {
      width: 100%;
      min-width: 0;
      margin-bottom: 1rem;
    }
    .job-detail-pane {
      padding: 1.2rem;
    }
  }
  text-decoration: none;
  transition: background 0.18s;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
}
.job-result-apply:hover {
  background: var(--syncona-dark);
}

@media (max-width: 700px) {
  .job-search-header,
  .job-search-bar,
  .job-results {
    max-width: 98vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .search-form {
    gap: 10px;
  }
  .job-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 8px;
  }
  .job-result-title,
  .job-result-meta,
  .job-result-desc,
  .job-result-apply {
    min-width: 0;
    width: 100%;
    text-align: left;
    margin: 0;
  }
  .job-result-apply {
    margin-top: 8px;
    text-align: center;
  }
}
/*
  Optimized Job Grid & Slider Solution
  -----------------------------------
  - Mobile: horizontal slider, one job box at a time, scroll-snap
  - Tablet: 2-column grid
  - Desktop: 3-column grid, dynamic sizing
  - Prevents cutoff/overlap, fits all screen sizes
*/
/* Professional vertical job list styles */
.job-grid {
  /* Desktop/tablet: spacious job boxes and visible buttons */
  @media (min-width: 900px) {
    .main-bg {
      max-width: 900px;
      border-radius: 18px;
      margin: 48px auto 32px auto;
      padding: 0 32px;
    }
    .job-grid {
      max-height: 540px;
      gap: 18px;
      padding: 18px 0;
    }
    .job-box {
      /* Prevent wrapping for all children */
      flex-wrap: nowrap;
    }
    min-height: 64px;
    max-height: none;
    padding: 18px 24px;
    font-size: 1.08rem;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  .job-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.12rem;
    margin-bottom: 0;
    font-weight: 600;
    flex: 1 1 180px;
  }
  .job-meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.04rem;
    margin-bottom: 0;
    flex: 0 0 140px;
    text-align: left;
    margin-left: 18px;
  }
  .job-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.04rem;
    margin-left: 18px;
    margin-bottom: 0;
    flex: 2 1 320px;
    text-align: left;
  }
  .job-box .cta {
    padding: 8px 24px;
    font-size: 1.04rem;
    margin-left: 18px;
    margin-top: 0;
    width: auto;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
  }
}
/* ...existing code... */

@media (max-width: 900px) {
  .main-bg {
    max-width: 98vw;
    border-radius: 10px;
    margin: 12px auto;
    padding: 0 2vw;
  }
  .job-grid {
    max-height: 420px;
    padding: 4px 0;
    gap: 10px;
  }
  .job-box {
    width: 100%;
    min-height: 44px;
    max-height: 72px;
    padding: 8px 10px;
    font-size: 0.98rem;
  }
}

@media (max-width: 600px) {
  .main-bg {
    max-width: 100vw;
    border-radius: 0;
    margin: 0;
    padding: 0 1vw;
  }
  .job-grid {
    max-height: 480px;
    gap: 14px;
    padding: 6px 0;
  }
  .job-box {
    width: 100%;
    min-height: 90px;
    max-height: none;
    padding: 12px 10px;
    font-size: 1.05rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
  }
  .job-title,
  .job-meta,
  .job-desc,
  .job-box .cta {
    min-width: 0;
    flex: 1 1 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
  .job-title {
    margin-bottom: 2px;
  }
  .job-meta {
    margin-bottom: 2px;
  }
  .job-desc {
    margin-bottom: 6px;
    margin-top: 2px;
  }
  .job-box .cta {
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
  }
  .job-title {
    font-size: 1.08rem;
    margin-bottom: 4px;
  }
  .job-meta {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .job-desc {
    font-size: 0.98rem;
    margin-left: 0;
    margin-top: 4px;
    width: 100%;
  }
  .job-box .cta {
    padding: 6px 16px;
    font-size: 1rem;
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
}
.job-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 auto;
  padding: 8px 0;
  box-shadow: none;
  background: #f7faff;
  scrollbar-width: none; /* Firefox */
  cursor: grab;
  border-radius: 12px;
  /* Professional vertical job list styles */
  .job-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 8px 0;
    box-shadow: none;
    background: #f7faff;
    scrollbar-width: none; /* Firefox */
    cursor: grab;
    border-radius: 12px;
    border: 1px solid #e3eafc;
  }
  .job-grid::-webkit-scrollbar {
    display: none;
  }
  .job-grid:active {
    cursor: grabbing;
  }
  .job-box {
    background: #fff;
    border: 1px solid #e3eafc;
    color: var(--syncona-dark);
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(45, 62, 80, 0.06);
    width: 99%;
    min-height: 48px;
    max-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 1.01rem;
    transition: box-shadow 0.18s, border-color 0.18s;
    position: relative;
  }
  .job-title {
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--syncona-dark);
    margin-bottom: 2px;
  }
  .job-meta {
    font-size: 0.98rem;
    color: #3949ab;
    margin-bottom: 0;
    font-weight: 500;
  }
  .job-desc {
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 0;
    line-height: 1.45;
    flex: 1;
    margin-left: 18px;
  }
  .job-box .cta {
    margin-left: 18px;
    padding: 6px 18px;
    font-size: 0.98rem;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(45, 62, 80, 0.06);
    transition: background 0.18s;
  }
  /* Expired jobs: faded, disabled button */
  .job-box.expired {
    background: #f3f3f3;
    color: #aaa;
    border-color: #e3eafc;
    opacity: 0.7;
  }
  .job-box.expired .cta {
    background: #e3eafc;
    color: #aaa;
    cursor: not-allowed;
    pointer-events: none;
    border: 1px solid #ccc;
  }
  font-size: 0.98rem;
  color: var(--syncona-mid);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(45, 62, 80, 0.08);
  z-index: 100;
  pointer-events: auto;
}
.footer-link {
  color: var(--syncona-accent);
  text-decoration: underline;
  margin: 0 2px;
}
@media (max-width: 600px) {
  .footer-mini {
    font-size: 0.92rem;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
  }
}
/*
  Syncona Color Palette
  ---------------------
  --syncona-bg: Main page background (matches logo background)
  --syncona-dark: Header/footer, dark text, active taskbar
  --syncona-mid: Taskbar background
  --syncona-accent: Buttons, highlights, borders
  --syncona-light: Job box background, light accents
  --syncona-white: White text/background
*/
:root {
  --syncona-bg: #8ca6c6;
  --syncona-dark: #1a2c4b;
  --syncona-mid: #2d5c88;
  --syncona-accent: #0077cc;
  --syncona-light: #e3eafc;
  --syncona-white: #fff;
}

/*
  Global body styles
  ------------------
  Controls page background and default text color
*/
body {
  background: var(--syncona-bg);
  color: var(--syncona-dark);
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Two-pane job search layout fix */
.job-results {
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: 1100px;
}
.job-results-list {
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
}
.job-search-content.two-pane {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(45, 62, 80, 0.08);
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  margin: 0 auto;
  min-height: 480px;
  max-width: 1100px;
}
.job-list-pane {
  width: 320px;
  min-width: 220px;
  background: #f7f7fa;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  height: auto;
}
.job-list-header {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--syncona-accent) #e3eafc;
}
.job-list-item {
  background: var(--syncona-light);
  border: 2px solid var(--syncona-accent);
  border-radius: 12px;
  padding: 1.6rem 1.4rem 1.2rem 1.4rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 12px rgba(45, 62, 80, 0.09);
  cursor: pointer;
  font-size: 1.12rem;
  transition: border 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 110px;
  max-width: 100%;
  justify-content: center;
}
.job-list-item.active {
  border: 2.5px solid var(--syncona-dark);
  background: #e3eafc;
}
.job-list-item.expired {
  background: #f5f5f5;
  color: #aaa;
  border: 2px solid #d3d3d3;
  opacity: 0.7;
  cursor: not-allowed;
}
.job-list-title {
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--syncona-dark);
  margin-bottom: 2px;
}
.job-list-item.expired .job-list-title {
  color: #aaa;
}
.job-list-meta {
  font-size: 1rem;
  color: var(--syncona-mid);
}
.job-list-type {
  font-size: 0.98rem;
  color: var(--syncona-accent);
}
.job-detail-pane {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 2rem 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.job-detail-header {
  border-bottom: 1px solid #ececec;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
}
.job-detail-header h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #3a2c6b;
  margin: 0;
}
.job-detail-meta {
  font-size: 1rem;
  color: #666;
  margin-top: 0.2rem;
}
.job-detail-desc {
  font-size: 1.02rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.job-detail-apply {
  display: flex;
  align-items: center;
}
.job-detail-apply-btn {
  background: #5b3fa3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition: background 0.2s;
  text-decoration: none;
}
.job-detail-apply-btn:hover {
  background: #432a7a;
}

@media (max-width: 900px) {
  .job-search-content.two-pane {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem;
    min-width: 0;
    max-width: 98vw;
  }
  .job-list-pane {
    width: 100%;
    min-width: 0;
    margin-bottom: 1rem;
  }
  .job-detail-pane {
    padding: 1.2rem;
  }
}

/*
  Header styles
  -------------
  Top bar background and text color
*/
header {
  background: var(--syncona-dark);
  color: var(--syncona-white);
  padding: 1em;
}
/* Logo image styling (adds subtle shadow) */
/* Logo styling */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 24px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo-img {
  height: 90px;
  width: 90px;
  display: block;
  margin: 0 0 0 0;
  filter: drop-shadow(0 2px 8px rgba(48, 148, 255, 0.12));
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 12px rgba(45, 62, 80, 0.08);
}
/*
  Taskbar styles
  --------------
  Navigation bar below header
*/
/* Striped taskbar background */
.taskbar-striped {
  background: repeating-linear-gradient(
    135deg,
    var(--syncona-mid) 0 32px,
    var(--syncona-accent) 32px 64px
  );
  box-shadow: 0 2px 12px rgba(45, 62, 80, 0.08);
}
.taskbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5em 1em;
  border-bottom: 1px solid #e3eafc;
}

.taskbar-left,
.taskbar-right {
  display: flex;
  gap: 1em;
}

.taskbar-link {
  color: #fff; /* Make links visible on dark background */
  text-decoration: none;
  font-weight: 500;
  padding: 0.5em 0.7em;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.taskbar-link.active,
.taskbar-link:hover {
  background: var(--syncona-accent, #e3eafc);
  color: #222; /* Contrast for hover/active */
}

@media (max-width: 700px) {
  .taskbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5em 0.5em;
  }
  .taskbar-left,
  .taskbar-right {
    justify-content: flex-start;
    gap: 0.5em;
    margin-bottom: 0.3em;
  }
  .taskbar-right {
    justify-content: flex-end;
  }
}
/*
  Main content background
  ----------------------
  White card behind job grid and hero section
*/
/*
  Main content background
  ----------------------
  Light blue card behind job grid and hero section
*/
.main-bg {
  background: var(--syncona-light);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(45, 62, 80, 0.1);
  padding: 0;
  margin: 0 auto;
  overflow: visible;
  max-width: none;
}
/*
  Job box styles
  --------------
  Controls color for job application cards
*/
.job-box {
  background: var(--syncona-light);
  border: 2px solid var(--syncona-accent);
  color: var(--syncona-dark);
}
.job-box.active {
  background: var(--syncona-accent);
  color: var(--syncona-white);
  border-color: var(--syncona-dark);
}
.job-box.expired {
  background: #bfc7d5;
  color: #eee;
  border-color: #ccc;
}
/*
  Call-to-action button styles
  ---------------------------
  Used for Apply Now and other main buttons
*/
.cta {
  background: var(--syncona-accent);
  color: var(--syncona-white);
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(45, 62, 80, 0.08);
  transition: background 0.2s;
}
.cta:hover {
  background: var(--syncona-dark);
  color: var(--syncona-white);
}
/*
  Footer styles
  -------------
  Bottom bar background and text color
*/
footer {
  background: transparent !important;
  color: transparent !important;
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: static !important;
  width: auto !important;
  bottom: auto !important;
}
@media (min-width: 601px) {
  .job-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 8px 0;
    box-shadow: none;
    /* Professional vertical job list styles */
    .job-grid {
      display: flex;
      flex-direction: column;
      gap: 14px;
      width: 100%;
      max-height: 340px;
      overflow-y: auto;
      overflow-x: hidden;
      margin: 0 auto;
      padding: 8px 0;
      box-shadow: none;
      background: #f7faff;
      scrollbar-width: none; /* Firefox */
      cursor: grab;
      border-radius: 12px;
      border: 1px solid #e3eafc;
    }
    .job-grid::-webkit-scrollbar {
      display: none;
    }
    .job-grid:active {
      cursor: grabbing;
    }
    .job-box {
      background: #fff;
      border: 1px solid #e3eafc;
      color: var(--syncona-dark);
      border-radius: 8px;
      box-shadow: 0 1px 8px rgba(45, 62, 80, 0.06);
      width: 99%;
      min-height: 48px;
      max-height: 80px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 18px;
      font-size: 1.01rem;
      transition: box-shadow 0.18s, border-color 0.18s;
      position: relative;
    }
    .job-title {
      font-weight: 600;
      font-size: 1.08rem;
      color: var(--syncona-dark);
      margin-bottom: 2px;
    }
    .job-meta {
      font-size: 0.98rem;
      color: #3949ab;
      margin-bottom: 0;
      font-weight: 500;
    }
    .job-desc {
      font-size: 0.97rem;
      color: #444;
      margin-bottom: 0;
      line-height: 1.45;
      flex: 1;
      margin-left: 18px;
    }
    .job-box .cta {
      margin-left: 18px;
      padding: 6px 18px;
      font-size: 0.98rem;
      border-radius: 6px;
      font-weight: 600;
      box-shadow: 0 1px 4px rgba(45, 62, 80, 0.06);
      transition: background 0.18s;
    }
    /* Expired jobs: faded, disabled button */
    .job-box.expired {
      background: #f3f3f3;
      color: #aaa;
      border-color: #e3eafc;
      opacity: 0.7;
    }
    .job-box.expired .cta {
      background: #e3eafc;
      color: #aaa;
      cursor: not-allowed;
      pointer-events: none;
      border: 1px solid #ccc;
    }
    @media (max-width: 600px) {
      .job-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 98vw;
      }
      .job-box {
        padding: 18px 8px 14px 8px;
        .job-box {
          min-width: 92vw;
          max-width: 92vw;
          flex: 0 0 92vw;
          padding: 8px 2px 6px 2px;
          font-size: 0.96rem;
        }
      }
      .application-container {
        max-width: 98vw;
        padding: 12px;
        box-shadow: none;
        border-radius: 0;
      }
      .profile-photo {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
      }
      h2,
      h3 {
        font-size: 1.2em;
      }
      label {
        font-size: 1em;
      }
      input,
      select,
      textarea,
      button {
        font-size: 1em;
        padding: 8px;
      }
      button {
        width: 100%;
        padding: 12px;
        font-size: 1.1em;
      }
    }

    @media (min-width: 601px) and (max-width: 1024px) {
      .application-container {
        max-width: 80vw;
        padding: 24px;
      }
      h2,
      h3 {
        font-size: 1.4em;
      }
      input,
      select,
      textarea,
      button {
        font-size: 1.05em;
      }
    }
    body {
      background: var(--syncona-bg);
      color: #222;
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
    }
    header {
      background: var(--syncona-dark);
      color: #fff;
      padding: 1em;
    }
    .logo {
      font-weight: bold;
      font-size: 1.2em;
    }
    nav a {
      color: #fff;
      margin-right: 1em;
      text-decoration: none;
    }
    nav a:hover {
      text-decoration: underline;
    }
    .hero {
      padding: 2em;
      text-align: center;
    }
    .cta {
      display: inline-block;
      margin-top: 1em;
      padding: 0.5em 1.5em;
      background: #0077cc;
      color: #fff;
      border-radius: 4px;
      text-decoration: none;
      font-weight: bold;
    }
    footer {
      background: transparent !important;
      color: transparent !important;
      text-align: center;
      padding: 0 !important;
      margin: 0 !important;
      font-size: 0 !important;
      border: none !important;
      box-shadow: none !important;
      position: static !important;
      width: auto !important;
      bottom: auto !important;
    }
    .login-section,
    .signup-section,
    .forgot-section {
      max-width: 400px;
      margin: 3rem auto;
      background: #fff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    }
    .login-section h2,
    .signup-section h2,
    .forgot-section h2 {
      margin-bottom: 1.5rem;
    }
    .login-form label,
    .signup-form label,
    .forgot-form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
    }
    .application-container label {
      display: inline-block;
      min-width: 220px;
      margin-bottom: 12px;
      font-weight: 500;
      vertical-align: top;
    }
    .application-container input,
    .application-container select,
    .application-container textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 24px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 1em;
    }
    .application-container textarea {
      min-height: 180px;
      resize: vertical;
      width: 100%;
      box-sizing: border-box;
      max-width: 100%;
    }
    .application-container button {
      background: #2d3e50;
      color: #fff;
      border: none;
      padding: 12px 28px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 1.1rem;
      margin-top: 16px;
    }
    .application-container form > * {
      margin-bottom: 18px;
    }
    .login-form button[type="submit"],
    .signup-form button[type="submit"],
    .forgot-form button[type="submit"] {
      width: 100%;
      background: #3949ab;
      color: #fff;
      border: none;
      padding: 0.75rem;
      border-radius: 4px;
      font-size: 1.1rem;
      cursor: pointer;
      margin-bottom: 1rem;
    }
    .login-form button[type="submit"]:hover,
    .signup-form button[type="submit"]:hover,
    .forgot-form button[type="submit"]:hover {
      background: #1a237e;
    }
    .oauth-buttons {
      display: flex;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    .oauth-buttons button {
      flex: 1;
      background: #e3eafc;
      color: #3949ab;
      border: none;
      padding: 0.5rem;
      border-radius: 4px;
      font-size: 1rem;
      cursor: pointer;
      font-weight: 500;
    }
    .oauth-buttons .oauth-linkedin {
      background: #0077b5;
      color: #fff;
    }
    .oauth-buttons .oauth-linkedin:hover {
      background: #005983;
    }
    .oauth-buttons .oauth-google {
      background: #fff;
      color: #4285f4;
      border: 1px solid #bfc7d5;
    }
    .oauth-buttons .oauth-google:hover {
      background: #e3eafc;
    }
    .forgot {
      display: block;
      text-align: right;
      color: #3949ab;
      text-decoration: none;
      font-size: 0.95rem;
    }
    .forgot:hover {
      text-decoration: underline;
    }
    .about-section,
    .confirmation-section {
      max-width: 600px;
      margin: 3rem auto;
      background: #fff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    }
    footer {
      background: #1a237e;
      color: #fff;
      text-align: center;
      padding: 1rem 0;
      margin-top: 3rem;
      font-size: 0.95rem;
    }
  }
}
.application-container .dropbox-btn {
  background: #fff !important;
  color: #222 !important;
  border: 1px solid #747775;
}
