/* LOGIN PAGE */
.login-body {
  background:
    linear-gradient(rgba(26, 37, 47, 0.7), rgba(26, 37, 47, 0.9)),
    url("../images/login-bg.jpg") center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.login-card-container {
  width: 100%;
  max-width: 450px;
  animation: loginSlideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes loginSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-glass-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  box-shadow: 0 45px 90px -25px rgba(0, 0, 0, 0.4);
  padding: 3rem 2.5rem;
}

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

.login-input-wrapper i {
  position: absolute;
  left: 1.25rem;
  color: var(--gray-400);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.login-input-wrapper .form-control {
  padding: 0.85rem 1rem 0.85rem 3.5rem;
  background-color: var(--gray-50);
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.login-input-wrapper .form-control:focus {
  background-color: #fff;
  border-color: var(--rulio-red);
  box-shadow: 0 0 0 4px rgba(176, 39, 44, 0.1);
  outline: none;
}

.login-input-wrapper:focus-within i {
  color: var(--rulio-red);
}

.login-input-group {
  margin-bottom: 1.5rem;
}

.login-input-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.btn-login {
  background-color: var(--rulio-red);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
  margin-top: 0.5rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 12px 24px -6px rgba(176, 39, 44, 0.4);
}

.btn-login:hover {
  background-color: var(--rulio-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(176, 39, 44, 0.5);
}

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

.version-pill {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 1.5rem;
}

/* COUNTDOWN TIMER BOXES (MAINTENANCE) */
.countdown-unit-box {
  background: #ffffff;
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: 10px;
  min-width: 66px;
  padding: 10px 10px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.countdown-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.15;
  margin-top: 3px;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.06em;
  line-height: 1;
}

.login-copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* FULLCALENDAR RULIO THEME */
:root {
  --fc-button-bg-color: var(--rulio-dark);
  --fc-button-border-color: var(--rulio-dark);
  --fc-button-hover-bg-color: var(--rulio-red);
  --fc-button-hover-border-color: var(--rulio-red);
  --fc-button-active-bg-color: var(--rulio-red);
  --fc-button-active-border-color: var(--rulio-red);
  --fc-today-bg-color: rgba(176, 39, 44, 0.05);
  --fc-border-color: var(--gray-200);
}
.fc .fc-toolbar-title {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #1a252f;
}
/* Generic Button Style */
.fc .fc-button,
.fc .btn-primary {
  background-color: var(--rulio-red) !important;
  border-color: var(--rulio-red) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  text-transform: capitalize !important;
  box-shadow: none !important;
  padding: 0.4rem 0.8rem !important;
}
.fc .fc-button:hover,
.fc .btn-primary:hover {
  background-color: var(--rulio-red-hover) !important;
  border-color: var(--rulio-red-hover) !important;
}
/* Today Button */
.fc .fc-today-button,
.fc .btn-secondary {
  background-color: #475569 !important;
  border-color: #475569 !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  opacity: 1 !important;
}
/* Active / Selected View */
.fc .fc-button-active,
.fc .btn-primary.active,
.fc .btn-primary:active {
  background-color: #0f172a !important;
  border-color: #0f172a !important;
  color: #fff !important;
}
/* Grid Header Styling */
.fc .fc-col-header-cell-cushion {
  color: #1a252f;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.75rem !important;
}

/* Event Styling: Pills with Shadow */
.fc-event {
  border-radius: 20px !important;
  padding: 0 10px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  margin: 1px 4px !important;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fc-event:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.fc-event-main,
.fc-event-title,
.fc-event-time {
  color: #1a252f !important; /* Premium Dark Navy/Grey */
  text-decoration: none !important;
}

/* Day Number & Grid Polish */
.fc-daygrid-day-number {
  color: var(--gray-600) !important;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.75rem !important;
  padding: 4px 8px !important;
}

.fc-day-today {
  background-color: var(--fc-today-bg-color) !important;
}

/* JOB VIEW SIDE TABS */
.job-view-tabs .nav-link {
  color: var(--gray-600);
  border: none;
  border-radius: 0;
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.2s ease;
  position: relative;
}

.job-view-tabs .nav-link:hover {
  color: var(--rulio-red);
  background: rgba(176, 39, 44, 0.05); /* Subtle hover indicator */
}


/* BREADCRUMB POLISH */
.breadcrumb-item a {
  color: var(--gray-500);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: var(--rulio-red);
}

.breadcrumb-item.active {
  color: var(--rulio-dark);
  font-weight: 600;
}

/* JOB VIEW TABS TRANSITIONS */
.job-view-tabs .nav-link {
  border-bottom: 3px solid transparent !important;
  margin-bottom: -1px;
}

.job-view-tabs .nav-link.active {
  border-bottom-color: var(--rulio-red) !important;
  color: var(--rulio-red) !important;
}

/* PREMIUM DROPDOWN STYLING */
.dropdown-menu {
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  padding: 0.5rem !important;
}

.dropdown-item {
  border-radius: 8px !important;
  padding: 0.6rem 1rem !important;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(176, 39, 44, 0.05) !important;
  color: var(--rulio-red) !important;
}

.dropdown-item i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  vertical-align: middle;
}

.dropdown-header {
  text-transform: uppercase;
  font-size: 0.7rem !important;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem !important;
}

/* MEDICAL ASSESSMENT FORM TABS */
#medFormTabs {
  border-bottom: 2px solid var(--gray-100);
  gap: 2px;
}

#medFormTabs .nav-link {
  border: none;
  color: var(--gray-500);
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

#medFormTabs .nav-link:hover:not(.disabled) {
  color: var(--rulio-red);
  background: rgba(176, 39, 44, 0.02);
}

#medFormTabs .nav-link.active {
  color: var(--rulio-red);
  background: transparent;
  border-bottom-color: var(--rulio-red);
}

#medFormTabs .nav-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* MEDICAL ASSESSMENT FORM CONTENT */
.section-number {
  background-color: var(--rulio-red) !important;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(176, 39, 44, 0.2);
}

.section-header {
  color: var(--rulio-dark);
  letter-spacing: -0.02em;
}

.form-label-small {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.form-field {
  margin-bottom: 1.5rem;
}

/* INFORMATIONAL CONTENT STYLING */
.info-section-header {
  color: var(--rulio-dark);
  border-left: 4px solid var(--rulio-red);
  padding-left: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.info-content p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--gray-700);
}

.notice-box {
  background: rgba(176, 39, 44, 0.04);
  border-left: 4px solid var(--rulio-red);
  padding: 1.5rem;
  border-radius: 4px 12px 12px 4px;
  margin: 2rem 0;
}

.notice-box h5, .notice-box h6 {
  color: var(--rulio-red);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-list {
  list-style: none;
  padding-left: 0;
}

.info-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.info-list li::before {
  content: "\F285"; /* bi-caret-right-fill */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--rulio-red);
  font-size: 0.9rem;
}

/* Material Select */
.form-select-material {
  border: none;
  border-bottom: 2px solid var(--gray-200);
  border-radius: 0;
  padding: 0.55rem 0;
  background-color: transparent;
  width: 100%;
  display: block;
  font-weight: 500;
  color: var(--gray-900);
  transition: all 0.2s;
  cursor: pointer;
}

.form-control-material:focus,
.form-select-material:focus {
  outline: none;
  border-bottom-color: var(--rulio-red);
  box-shadow: none;
}

/* Custom Radio Buttons */
.custom-radio {
  padding-left: 0;
}

.custom-radio .form-check-input {
  display: none;
}

.custom-radio .form-check-label {
  position: relative;
  padding: 8px 16px 8px 40px;
  cursor: pointer;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.2s ease;
  min-width: 90px;
  display: inline-block;
  text-align: left;
}

.custom-radio .form-check-label::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  background: #fff;
}

.custom-radio .form-check-input:checked + .form-check-label {
  background: rgba(176, 39, 44, 0.05);
  border-color: var(--rulio-red);
  color: var(--rulio-red);
}

.custom-radio .form-check-input:checked + .form-check-label::before {
  border-color: var(--rulio-red);
  background: var(--rulio-red);
  box-shadow: inset 0 0 0 3px #fff;
}

.rulio-radio-dot {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  background: #fff;
  vertical-align: middle;
  outline: none;
}

.rulio-radio-dot:checked {
  border-color: var(--rulio-red) !important;
  background: var(--rulio-red) !important;
  box-shadow: inset 0 0 0 3px #fff;
}

/* QUICK ACTIONS DASHBOARD */
.quick-action-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border-left: 0 solid var(--rulio-red) !important;
}

.quick-action-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateX(8px);
  color: #fff !important;
  border-left: 4px solid var(--rulio-red) !important;
}

/* MEDICAL ASSESSMENT REUSABLE COMPONENTS */
.banner-notice {
  background: rgba(26, 37, 47, 0.04);
  color: var(--rulio-dark);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-align: center;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.signature-box {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  border: 1.5px dashed rgba(176, 39, 44, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.signature-box:hover {
  border-color: var(--rulio-red);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(176, 39, 44, 0.08);
}

.bp-matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.bp-matrix-table th {
  background: #f8f9fa;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}

.bp-matrix-table td {
  font-size: 0.875rem;
}

/* RULIO MULTI-SELECT DROPDOWN COMPONENT */
.rulio-multiselect-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--gray-300, #cbd5e1);
  border-radius: 8px;
  min-height: 42px;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  color: var(--rulio-dark, #1a252f);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.rulio-multiselect-btn:hover {
  border-color: var(--rulio-red, #e61e2d);
  background-color: #fafbfc;
}

.rulio-multiselect-btn:focus,
.rulio-multiselect-btn.show {
  outline: none;
  border-color: var(--rulio-red, #e61e2d);
  box-shadow: 0 0 0 3px rgba(230, 30, 45, 0.12);
}

.rulio-multiselect-btn .multiselect-chevron {
  transition: transform 0.2s ease;
  color: var(--gray-500, #64748b);
}

.rulio-multiselect-btn.show .multiselect-chevron {
  transform: rotate(180deg);
  color: var(--rulio-red, #e61e2d);
}

.rulio-multiselect-menu {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
  padding: 6px;
  background: #ffffff;
  max-height: 290px;
  overflow-y: auto;
  z-index: 1050;
}

.rulio-multiselect-item {
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 2px;
  color: var(--rulio-dark, #1a252f);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rulio-multiselect-item:hover {
  background-color: rgba(230, 30, 45, 0.04);
  color: var(--rulio-red, #e61e2d);
}

.rulio-multiselect-item.is-selected {
  background-color: rgba(230, 30, 45, 0.07);
  color: var(--rulio-dark, #1a252f);
  font-weight: 600;
}

.rulio-multiselect-item .form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  border-color: #94a3b8;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0;
}

.rulio-multiselect-item .form-check-input:checked {
  background-color: var(--rulio-red, #e61e2d);
  border-color: var(--rulio-red, #e61e2d);
}

.rulio-multiselect-item i.bi:not(.check-indicator) {
  margin-left: 10px;
  margin-right: 8px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  flex-shrink: 0;
}

.rulio-multiselect-badge {
  background-color: #ffffff;
  color: var(--rulio-dark, #1a252f);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 0.35rem 0.75rem;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
}

.rulio-multiselect-badge i {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.rulio-multiselect-badge:hover {
  border-color: var(--rulio-red, #e61e2d);
}


