:root {
  --jidmac-orange: #E8620E;
  --jidmac-dark: #1f1b1b;
}
body {
  background: #f7f7f7!important;
  font-size: .95rem;
  color: #212529;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.bg-white {
  background: #fff!important;
}

.headerimg {
	width: 200px!important;
}
@media screen and (max-width: 768px) {
	.headerimg {
		justify-content: center!important;
		width: 100%!important;
	}
}
header h1 {
  color: var(--jidmac-orange);
  font-weight: 800;
  font-size: 2rem;
}
h1 {
  font-size: 1.4em;
}
header .subtext {
  color: #ddd;
}
.hero-progress {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 600px;
  padding: .5rem 1rem;
}
.hero-progress .step {
  flex: 1;
  text-align: center;
  color: #aaa;
  font-size: .8rem;
  font-weight: 600;
}
.hero-progress .step.active {
  color: var(--jidmac-orange);
}
.ticket-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
  padding: 1.5rem;
  margin: 1.5rem auto;
}
.signature-pad {
  border: 1px dashed #ccc;
  border-radius: 8px;
  width: 100%;
  height: 120px;
  opacity: 0;
  transition: opacity .3s ease;
}
#sigLoading {
  font-size: .9rem;
  color: #888;
  text-align: center;
  padding: 1rem;
}
#consentBox {
  border: 1px solid #e3e3e3;
  border-radius: .75rem;
  padding: 1rem;
  background: #fff;
}
.btn-primary {
  background: var(--jidmac-orange);
  border: none;
}
.btn-primary:hover {
  background: #cf5608;
}
.radio-group label {
  margin-right: 1.5rem;
  font-weight: 500;
}

:root {
  --bs-primary: #E8620E;
  --bs-primary-rgb: 232, 98, 14;

  --bs-secondary: #2F2B2A;
  --bs-secondary-rgb: 47, 43, 42;

  --bs-success: #198754;
  --bs-success-rgb: 25, 135, 84;

  --bs-danger: #D64550;
  --bs-danger-rgb: 214, 69, 80;

  --bs-warning: #F6B93B;
  --bs-warning-rgb: 246, 185, 59;

  --bs-info: #3AAED8;
  --bs-info-rgb: 58, 174, 216;

  --bs-light: #F8F9FA;
  --bs-light-rgb: 248, 249, 250;

  --bs-dark: #1F1B1B;
  --bs-dark-rgb: 31, 27, 27;

  /* Accent tweaks */
  --jidmac-orange: #E8620E;
}
.rounded-top-3 {
	border: 0px!important;
}

/* Buttons */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #cf560c;
  border-color: #cf560c;
}

/* Alerts */
.alert-primary {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}
/* Base Toast Box */
.notyf__toast {
  border-radius: 8px;
  font-family: system-ui, sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* ✅ Success (already green but you can tweak) */
.notyf__toast--success {
  background-color: #3CB878 !important; /* your success green */
}

/* ❌ Error */
.notyf__toast--error {
  background-color: #D64550 !important;
}

/* 🟧 Primary / Brand */
.notyf__toast--primary {
  background-color: #E8620E !important;
  color: #fff !important;
}

/* Optional text contrast fix */
.notyf__toast--primary .notyf__message {
  color: #fff !important;
}

.booking-summary {
  transition: all 0.25s ease;
}
.booking-summary:hover {
  background: #fff8f4;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.progress-step-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.progress-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.progress-step-card.completed {
  border-color: #28a745;
  background: #f0fff5;
}

.progress-step-card.completed i {
  color: #1c7c37 !important; /* dark green tick */
}
.calendar-header {
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.calendar-header .btn-light {
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}
.calendar-header .btn-light:hover {
  background: #E8620E;
  color: #fff;
  border-color: #E8620E;
}
.bg-light {
  background: #dbdbdb!important;
}
/* ===== Clickable Available Slots ===== */
.slot-available {
  background: #e6fff2;
  border-left: 5px solid #00b35c;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ===== Clickable Available Slots ===== */
.slot-available {
  background: #e6fff2;
  border: 1px dashed #777!important;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

/* Hover lift */
.slot-available:hover {
  background: #ccffea;
}

/* ===== Book Slot Button ===== */
.btn-outline-success {
  border-radius: 20px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.4;
  margin-left: 6px;
}
.btn-outline-success:hover {
  background-color: #00b35c;
  color: #fff;
}
.calendar-lock {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.calendar-lock-content {
  background: #fff;
  border: 2px solid #E8620E;
  border-radius: 12px;
  padding: 20px 30px;
  color: #E8620E;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.text-warning {
  color: #E8620E !important;
}
.booking-status-card {
  border-radius: 12px;
  background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
}

.bg-teal {
  background: #009999;
}
h2 {
  font-size: 1.5em;
}
@media (max-width: 768px) {
  .booking-status-card .fs-4 {
    font-size: 1.2rem !important;
  }
  .booking-status-card .fw-bold.fs-6 {
    font-size: 1rem !important;
  }
  .booking-status-card .btn {
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .borderm {
    margin-left: 0!important;
    text-align: left!important;
    border-radius: 8px;
    background: linear-gradient(to bottom,  #ffffff 0%,#f3f3f3 50%,#ededed 100%,#ffffff 100%);
  }
  h2 {
    font-size: 1.2em!important;
  }
}
.form-label {
  color: #333;
  font-size: 13px;
}
.modal-title {
  font-weight: normal;
  font-size: 1.3em;
}
.ss1 {
  border:1px dashed #222!important;
  background: #f2f2f2;
}
em {
  font-size: 17px;
}

.logo-approve {
  width: 330px;
}
.bg2 {
  background: #E9EEF6!important;
}
.card1 {
  max-width: 600px!important;
}
.area-btn{
    border:none;background:#fff;border-radius:.75rem;
    box-shadow:0 2px 5px rgba(0,0,0,.07);
    width:100%;text-align:left;padding:1rem;position:relative;
    transition:all .2s ease;
  }
  .area-btn:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,.1);}
  .area-btn h6{margin:0;font-weight:600;color:#212529;}
  .area-btn small{color:#6c757d;}
  .progress{height:6px;border-radius:3px;}
  .fault-card{
    border:none;border-radius:.75rem;
    box-shadow:0 1px 3px rgba(0,0,0,.08);
    margin-bottom:.75rem;
  }
  .fault-header{
    display:flex;justify-content:space-between;align-items:center;
    border-bottom:1px solid #e9ecef;padding:.5rem .75rem;
  }
  .fault-body{padding:.5rem .75rem;}
  .status-icon{font-size:1.2rem;cursor:pointer;color:#6c757d;}
  .status-icon[data-status="Pending"]{color:#ffc107;}
  .status-icon[data-status="Completed"]{color:#198754;}
  .status-icon[data-status="Scheduled"]{color:#0d6efd;}
  .section-title{font-size:.85rem;font-weight:600;color:#6c757d;margin-top:1.5rem;}
  #calendar{background:#fff;border-radius:.75rem;box-shadow:0 2px 5px rgba(0,0,0,.07);padding:1rem;}
  .nav-pills .nav-link.active{
    background:#0d6efd;
  }
  .btn-light {
    border:1px solid #ccc;
    background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%);
  }
.jidmac-logo {
  width: 150px;
  transition: width 0.2s ease;
}
@media (max-width: 768px) {
  .jidmac-logo {
    width: 80px;
  }
}
.activebox {
  background: #1F1B1B;
}
.activebox i {
  color: #fff!important;
}
h2 {
  font-weight: bold;
  padding-bottom: 20px;
}
.unit {
  font-size: 15px!important;
  text-transform: uppercase;
}
.bg-grey {
  padding-top: 5px!important;
  padding-bottom: 1px!important;
  padding-left: 10px!important;
  background: linear-gradient(135deg,  #e1edec 1%,#ffffff 100%,#e1edec 100%,#cccccc 100%,#8a6c99 100%,#e1edec 100%);
}
.bg-pending {
  padding-top: 5px!important;
  padding-bottom: 1px!important;
  padding-left: 10px!important;
  background: linear-gradient(45deg,  #ededed 0%,#ffffff 100%);
}
.bg-5 {
  background: #EA5213;
  color: #fff!important;
  border-top: 1px solid #EF5F1F;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.border-dashed {
  border-radius: 14px;
  background: #fff!important;
  color: #000!important;
}
.g {
  background: #444;
}
.folder-tabs-container {
    display: flex;
    justify-content: left;
    gap: 12px;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    z-index: 20;
}

.folder-tab {
    background: #fff;
    padding: 6px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    cursor: pointer;
    color: #000;
    transition: 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}
.folder-tab.active {
    background: #EA5213;
    color: #fff;
    border-top: 1px solid #EF5F1F;
    border-left: 1px solid #EF5F1F;
    border-right: 1px solid #EF5F1F;
    box-shadow: 0 4px 10px rgba(243,107,41,0.35);
}
.mb0 {
  padding-bottom: 0px!important;
}
.title {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #198754;
  color: #fff;
  font-weight: bold;
  margin-bottom: 20px;
  border-radius: 10px;
}
.title2 {
  padding: 15px;
  background: #222;
  color: #fff;
  font-weight: bold;
  margin-bottom: 20px;
  border-radius: 10px;
}

.area-card {
    position: relative;
}

.area-status {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 5;
    
}

.area-status.completed {
    background-color: #28a745; /* green */
}

.area-status.pending {
    background-color: #ccc; /* yellow */
    color: #000;
}
.rotate-180 {
  transform: rotate(180deg);
  transition: .25s ease;
}
.toggle-row i { transition: .25s ease; 
}
/* placeholder grey box */
.photo-placeholder {
    width: 100%;
    height: 110px;
    border-radius: 6px;
    background: #d0d0d0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* shimmering flash (skeleton) */
.shimmer::before {
    content: "";
    position: absolute;
    top: 0; left: -150px;
    width: 150px;
    height: 110px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    animation: shimmerAnim 1.5s infinite;
}
@keyframes shimmerAnim {
    0% { left: -150px; }
    100% { left: 100%; }
}

/* real photo container */
.photo-thumb-real {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.photo-thumb-real img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    opacity: 0;
    transition: opacity .4s ease;
}
.delete-photo-ribbon {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 36px;
    height: 36px;
    background: #dc3545;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 20;
    border-radius: 50% 50% 0 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    transition: 0.2s ease;
}

.delete-photo-ribbon:hover {
    background: #b02a37;
    transform: scale(1.12) rotate(-5deg);
}
.bg-6 {
  background: #f2f5f6;

}
.photos {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 30px;
  background: linear-gradient(135deg,  #efefef 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%);
}
.photo-load-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: 0.2s ease;
}

.photo-load-btn i {
    font-size: 1.2rem;
    color: #333;
}

.photo-load-btn:hover {
    background: #ffffff;
    transform: scale(1.08);
}
button:disabled,
button[disabled],
.btn:disabled,
.btn[disabled] {
    background: #d0d0d0;
    border-color: #ccc;
    color: #aaa !important;
    opacity: 0.8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}
.dashboard-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e3e3e3;
    transition: 0.2s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 16px rgba(0,0,0,0.08);
}
.mt-save {
  margin-top: 28px;
}
.round-checkbox {
  width: 37px;
  height: 37px;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  margin-top: 6px;
  background: #f1f1f1;
  border: 2px solid #ccc;
  border-radius: 6px;        /* Rounded */
  display: inline-block;
  position: relative;
}

/* Checkmark when active */
.round-checkbox:checked {
  background: #2ecc71;       /* Soft green */
  border-color: #27ae60;
}

.round-checkbox:checked::after {
  content: "✔";
  color: white;
  font-size: 22px;
  position: absolute;
  top: -2px;
  left: 3px;
  font-weight: bold;
}
.s1 {
  background-color: #ccc!important;
  border:1px solid #000;
}
.spin { display:inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }