/* Michigan Ewaste — public site overrides */

:root {
  --ewaste-green: #2d6a4f;
  --ewaste-green-dark: #1b4332;
  --ewaste-green-light: #40916c;
  --ewaste-bg: #f4f6f5;
  --ewaste-card: #ffffff;
  --ewaste-muted: #5c6b63;
}

body {
  background-color: var(--ewaste-bg);
  color: var(--ewaste-text, #30343a);
  background-image: linear-gradient(135deg, rgba(45, 106, 79, 0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(45, 106, 79, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(45, 106, 79, 0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(45, 106, 79, 0.04) 25%, var(--ewaste-bg) 25%);
  background-size: 24px 24px;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
  flex-shrink: 0;
}

.header-area.header-transparrent,
.headder-top {
  background: #eef2ef;
}

.header-area {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-sticky {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-area .headder-top {
  padding-top: 6px;
  padding-bottom: 6px;
}

.header-area .logo img,
.logo img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu nav ul#navigation > li {
  margin: 0 12px;
}

.main-menu nav ul#navigation > li > a {
  color: #30343a;
  font-weight: 600;
  padding-bottom: 6px;
  transition: all 0.2s ease;
}

.main-menu nav ul#navigation > li.current-menu-item > a,
.main-menu nav ul#navigation > li.active > a {
  border-bottom: 3px solid var(--ewaste-green);
  color: var(--ewaste-green-dark);
}

.main-menu nav ul#navigation > li > a:hover {
  border-bottom: 3px solid rgba(45, 106, 79, 0.45);
}

.header-btn a {
  margin-left: 10px;
}

.feature-padding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-padding30,
.section-padding40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.featured-job-area,
.job-list-area,
.services-area {
  background: var(--ewaste-card);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.section-tittle span {
  color: var(--ewaste-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.section-tittle h2 {
  font-weight: 800;
}

.section-tittle img.brand-mark {
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Hero / parallax-style banner */
.ewaste-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.92), rgba(45, 106, 79, 0.85)),
    url('../img/placeholders/data-destruction.svg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  margin-bottom: 0;
}

.ewaste-hero .hero__caption h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.ewaste-hero .hero__caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 540px;
}

.ewaste-hero .hero-actions .genric-btn {
  margin-right: 12px;
  margin-bottom: 8px;
}

/* Job cards */
.single-job-items.card-hero {
  border: 2px dashed rgba(45, 106, 79, 0.18);
  border-radius: 18px;
  padding: 22px;
  background: #fafcfb;
  transition: all 0.2s ease-in-out;
}

.single-job-items.card-hero:hover {
  border-style: solid;
  border-color: rgba(45, 106, 79, 0.35);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.job-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 14px;
}

.job-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 106, 79, 0.25);
  background: rgba(45, 106, 79, 0.08);
  color: var(--ewaste-green-dark);
  font-size: 13px;
  font-weight: 600;
  margin-right: 10px;
}

.job-pay {
  font-weight: 700;
  color: var(--ewaste-green-dark);
}

.job-tittle h4 {
  margin-bottom: 8px;
}

.job-tittle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-tittle ul li {
  display: inline-block;
  margin-right: 15px;
}

.items-link a {
  color: var(--ewaste-green);
  font-weight: 700;
}

/* How it works band */
.apply-process-area.apply-bg {
  background: linear-gradient(135deg, var(--ewaste-green-dark), var(--ewaste-green));
  background-attachment: fixed;
}

.apply-process-area .section-tittle.white-text h2,
.apply-process-area .section-tittle.white-text span {
  color: #fff;
}

/* Job detail */
.job-detail-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.apply-guest-cta {
  padding: 20px;
  background: #f0f7f4;
  border-radius: 12px;
  border: 1px solid rgba(45, 106, 79, 0.2);
}

.apply-guest-cta .genric-btn {
  margin: 6px 6px 0 0;
}

/* Job detail — application status (theme .disable is too faint) */
.apply-btn2 .genric-btn.disable {
  cursor: default;
  opacity: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.apply-btn2 .genric-btn.info-border.disable {
  color: #0c5460;
  background: #d1ecf1;
  border: 1px solid #9ec5cf;
}

.apply-btn2 .genric-btn.success-border.disable {
  color: #155724;
  background: #d4edda;
  border: 1px solid #a3d9a5;
}

.apply-btn2 .genric-btn.danger-border.disable {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #e8b4b8;
}

.apply-btn2 .application-status-link {
  margin-top: 14px;
  margin-bottom: 0;
}

.apply-btn2 .application-status-link a {
  color: var(--ewaste-link, var(--ewaste-green-dark, #1b4332));
  font-weight: 600;
  text-decoration: underline;
}

.apply-btn2 .application-status-link a:hover,
.apply-btn2 .application-status-link a:focus {
  color: var(--ewaste-green, #2d6a4f);
}

.alert-ewaste {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.alert-ewaste-success {
  background: #d8f3dc;
  border: 1px solid #95d5b2;
  color: #1b4332;
}

.alert-ewaste-info {
  background: #e8f4fd;
  border: 1px solid #b6d4fe;
  color: #084298;
}

.alert-ewaste-danger {
  background: #fde8e8;
  border: 1px solid #f5c2c2;
  color: #842029;
}

.contact-section .contact-info h3 {
  color: var(--ewaste-text, #30343a);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-section .contact-info p,
.contact-section .flex-grow-1 p {
  color: var(--ewaste-text, #30343a);
}

.contact-section .contact-detail-link,
.contact-section .flex-grow-1 a {
  color: var(--ewaste-link, var(--ewaste-green-dark)) !important;
  font-weight: 600;
  text-decoration: none;
}

.contact-section .contact-detail-link:hover,
.contact-section .flex-grow-1 a:hover,
.contact-section .flex-grow-1 a:focus {
  color: var(--ewaste-green) !important;
  text-decoration: underline;
}

.contact-section .contact-info__icon {
  color: var(--ewaste-green);
}

/* Compact sticky footer — theme default is 170px top padding */
.footer-area.footer-padding {
  padding-top: 32px;
  padding-bottom: 16px;
}

.footer-area .footer-tittle h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-area .footer-tittle ul li {
  margin-bottom: 4px;
  font-size: 14px;
}

.footer-bottom-area .footer-border {
  padding: 14px 0;
}

.footer-bottom-area p {
  margin-bottom: 0;
  color: #888;
  font-size: 14px;
}

.site-page {
  flex: 1 0 auto;
  width: 100%;
}

@media (max-width: 991.98px) {
  .logo img {
    height: 38px;
  }

  .ewaste-hero {
    min-height: 280px;
    background-attachment: scroll;
  }

  .ewaste-hero .hero__caption h1 {
    font-size: 1.8rem;
  }

  .card-hero ul {
    flex-wrap: wrap;
  }
}

/* Standalone login/register pages (BS5) */
body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ewaste-bg);
  background-image: linear-gradient(135deg, rgba(45, 106, 79, 0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(45, 106, 79, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(45, 106, 79, 0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(45, 106, 79, 0.04) 25%, var(--ewaste-bg) 25%);
  background-size: 24px 24px;
}

body.login-page .login-box {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px;
}

body.login-page .card-outline.card-primary {
  border-top: 3px solid var(--ewaste-green);
}

body.login-page .login-logo {
  text-align: center;
  margin-bottom: 16px;
}

body.login-page .btn-primary {
  background-color: var(--ewaste-green);
  border-color: var(--ewaste-green);
}

body.login-page .btn-primary:hover,
body.login-page .btn-primary:focus {
  background-color: var(--ewaste-green-dark);
  border-color: var(--ewaste-green-dark);
}

body.login-page a {
  color: var(--ewaste-green);
}

body.login-page a:hover {
  color: var(--ewaste-green-dark);
}

/* Public account pages */
.content-wrapper {
  padding: 24px 0 48px;
}

.content-header {
  margin-bottom: 8px;
}

.content-header .breadcrumb {
  margin-bottom: 0;
}

.box-profile .profile-user-img {
  max-width: 160px;
}

.apply-modal-content .progress-bar.bg-success {
  background-color: var(--ewaste-green, #2d6a4f) !important;
}

.apply-modal-content .form-label {
  font-weight: 600;
  color: var(--ewaste-text, #30343a);
}

.apply-modal-content .form-check-label {
  font-weight: 400;
}

/* Apply modal wizard */
.apply-modal-content .modal-header {
  border-bottom: 1px solid #e8ecea;
}

.apply-modal-job-title {
  color: var(--ewaste-muted, #5c6b63);
  font-size: 14px;
  margin-top: 4px;
}

.apply-modal-content .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

.apply-quick-summary {
  background: #f4f6f5;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(45, 106, 79, 0.15);
}

/* Theme .btn overrides squash Bootstrap modal buttons — reset inside apply modal */
.apply-modal-content .modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.apply-modal-content .modal-footer .btn {
  line-height: 1.5;
  padding: 0.55rem 1.35rem;
  margin: 0;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  overflow: visible;
  position: relative;
  z-index: auto;
  white-space: nowrap;
}

.apply-modal-content .modal-footer .btn::before {
  display: none;
}

.apply-modal-content .modal-footer .btn-secondary {
  background-color: #6c757d;
  border: 1px solid #6c757d;
  color: #fff;
}

.apply-modal-content .modal-footer .btn-secondary:hover,
.apply-modal-content .modal-footer .btn-secondary:focus {
  background-color: #5c636a;
  border-color: #565e64;
  color: #fff;
}

.apply-modal-content .modal-footer .btn-primary {
  background-color: var(--ewaste-green, #2d6a4f);
  border: 1px solid var(--ewaste-green, #2d6a4f);
  color: #fff;
}

.apply-modal-content .modal-footer .btn-primary:hover,
.apply-modal-content .modal-footer .btn-primary:focus {
  background-color: var(--ewaste-green-dark, #1b4332);
  border-color: var(--ewaste-green-dark, #1b4332);
  color: #fff;
}

.apply-modal-content .modal-footer .btn-success {
  background-color: #198754;
  border: 1px solid #198754;
  color: #fff;
}

.apply-modal-content .modal-footer .btn-success:hover,
.apply-modal-content .modal-footer .btn-success:focus {
  background-color: #157347;
  border-color: #146c43;
  color: #fff;
}

.apply-modal-content .modal-footer .btn:disabled {
  opacity: 0.65;
}
