/* custom css here */










/* login page custom css here */


.login-card {
    min-height: 100vh;
    margin: 0 auto;
    background: url(../img/login_bg.jpg);
}

.btn {
    box-shadow: none !important;
    border-radius: 50px;
}

.btn-warning {
    border: 0 !important;
    color: #000 !important;
    background: linear-gradient(69deg, #F0B90B 0%, #ff9508 51%, #F0B90B 100%) !important;
}

.bg-warning {
    background: linear-gradient(69deg, #F0B90B 0%, #ff9508 51%, #F0B90B 100%) !important;
}

.btn-warning:hover {
    background-position: right center !important;
    text-decoration: none !important;
    /* color: #fff !important; */
}

.form-control-lg {
    min-height: unset;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 0.5rem;
    border: 0;
}



.navbar-vertical.navbar-expand-xs .navbar-collapse {
    display: block;
    overflow: auto;
    height: calc(100vh - 170px);
}



/* dsfdf */

.form-control-sm {
    padding: 10px 12px;
    line-height: 1;
    min-height: unset;
    font-size: 13px;
    height: auto;
    line-height: 1;
    height: 35px;
}

.form-select.form-control-sm {
    padding-right: 35px;
}




.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    outline: 0px;
    background: rgb(33, 37, 39);
    border: 0;
    border-radius: 25px;
    backdrop-filter: blur(11px);
}

.otp_modal .modal-body {
    padding: 35px;
}

.otp_title {
    margin-bottom: 28px;
}


.otp_title h4 {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.otp_title p {
    font-size: 13px;
    font-weight: 500;
}




/*  */


/* ==================================================
   Visitor Details Modal – Clean Spacing + Creative UI
================================================== */

#visitorDetailsModal .modal-dialog {
  max-width: 820px;
}

#visitorDetailsModal .modal-content {
  border-radius: 22px;
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

/* ---------------- Header ---------------- */

#visitorDetailsModal .modal-header {
  padding: 1.6rem 2rem;
  background: linear-gradient(135deg, #fff7ed, #fefce8);
  border-bottom: 1px solid #f1f5f9;
}

#visitorDetailsModal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.4px;
}

#visitorDetailsModal .btn-close {
  opacity: 0.6;
}

/* ---------------- Body ---------------- */

#visitorDetailsModal .modal-body {
  padding: 2rem;
}

/* Grid spacing */
#visitorDetailsModal .row.g-3 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

/* ---------------- Profile Section ---------------- */

#visitorDetailsModal .col-md-4 {
  padding-top: 0.5rem;
}

#visitorDetailsModal img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #fde68a, #fca5a5);
  margin-bottom: 0.8rem;
}

#visitorDetailsModal h6 {
  margin-top: 0.6rem;
  font-size: 16px;
  font-weight: 700;
  color: #020617;
}

#visitorDetailsModal small {
  font-size: 13px;
  color: #64748b;
}

/* ---------------- Info Card ---------------- */

#visitorDetailsModal table {
    border-collapse: unset;
    width: 100%;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(2, 6, 23, 0.06);
    padding: 1.2rem 1.4rem !important;
}

#visitorDetailsModal table tr {
  height: 42px;
}

#visitorDetailsModal table th {
  width: 150px;
  font-weight: 600;
  color: #475569;
  font-size: 14px;
  padding: 6px 0;
}

#visitorDetailsModal table td {
  font-size: 14px;
  font-weight: 500;
  color: #020617;
  padding: 6px 0;
}

/* ---------------- Status Badge ---------------- */

#visitorDetailsModal .badge {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}

#visitorDetailsModal .badge.bg-warning {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #78350f;
}

#visitorDetailsModal .badge.bg-success {
  background: linear-gradient(135deg, #86efac, #22c55e);
}

#visitorDetailsModal .badge.bg-danger {
  background: linear-gradient(135deg, #fca5a5, #ef4444);
}

/* ---------------- Remarks ---------------- */

#visitorDetailsModal hr {
  margin: 2rem 0 1.2rem;
  border-color: #e2e8f0;
}

#visitorDetailsModal h6 + p {
  margin-top: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border-left: 5px solid #6366f1;
  font-size: 14px;
  line-height: 1.6;
  color: #0f172a;
}

/* ---------------- Footer ---------------- */

#visitorDetailsModal .modal-footer {
  padding: 1.2rem 2rem;
  background: #f9fafb;
  border-top: 1px solid #f1f5f9;
}

/* Buttons */

#visitorDetailsModal .btn {
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s ease;
}

#visitorDetailsModal .btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
}

#visitorDetailsModal .btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
}

#visitorDetailsModal .btn-secondary {
  background: #e5e7eb;
  color: #020617;
  border: none;
}

#visitorDetailsModal .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.15);
}

/* ---------------- Mobile ---------------- */

@media (max-width: 576px) {
  #visitorDetailsModal .modal-body {
    padding: 1.4rem;
  }

  #visitorDetailsModal img {
    width: 100px;
    height: 100px;
  }

  #visitorDetailsModal table {
    padding: 1rem;
  }

  #visitorDetailsModal table th {
    width: 120px;
    font-size: 13px;
  }
}




/* employee details modal */




/* =====================================================
   EMPLOYEE MODAL – ULTRA CREATIVE (GLASS / PREMIUM)
===================================================== */

.employee-modal {
  position: relative;
  border-radius: 26px;
  border: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.92)),
    radial-gradient(circle at top right, #bfdbfe, transparent 55%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 50px 120px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
}

/* Neon Border Glow */
.employee-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(135deg, #60a5fa, #38bdf8, #818cf8);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ================= HEADER ================= */

.employee-modal .modal-header {
  position: relative;
  padding: 2rem 2.4rem;
  background:
    radial-gradient(circle at left, #e0f2fe, transparent 60%),
    linear-gradient(135deg, #f8fafc, #eef2ff);
  border-bottom: none;
}

.employee-modal .modal-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.employee-modal small {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

/* ================= AVATAR ================= */

.emp-avatar {
  width: 76px;
  height: 76px;
  padding: 4px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, #38bdf8, #6366f1, #38bdf8);
  animation: rotateGlow 6s linear infinite;
}

.emp-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

/* @keyframes rotateGlow {
  100% { transform: rotate(360deg); }
} */

/* ================= BODY ================= */

.employee-modal .modal-body {
  padding: 2.6rem;
}

/* ================= STATS ================= */

.emp-stat {
  position: relative;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  box-shadow:
    0 20px 45px rgba(2,6,23,0.12);
  transition: all 0.35s ease;
}

.emp-stat:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 30px 65px rgba(2,6,23,0.2);
}

.emp-stat span {
  font-size: 12px;
  color: #64748b;
}

.emp-stat strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #020617;
}

/* ================= INFO CARD ================= */

.emp-info-card {
  position: relative;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 25px 70px rgba(2,6,23,0.18);
}

.emp-info {
  padding: 0.6rem 0;
}

.emp-info span {
  font-size: 12px;
  color: #64748b;
}

.emp-info p {
  margin: 0.2rem 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #020617;
}

/* ================= BIO ================= */

.emp-bio {
  margin-top: 2.2rem;
}

.emp-bio h6 {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #020617;
}

.emp-bio p {
  margin-top: 0.6rem;
  padding: 1.4rem 1.6rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #eef2ff, #f8fafc);
  font-size: 14px;
  line-height: 1.7;
  color: #0f172a;
}

/* ================= FOOTER ================= */

.employee-modal .modal-footer {
  padding: 1.6rem 2.4rem;
  background:
    linear-gradient(135deg, #f8fafc, #eef2ff);
  border-top: none;
}

/* Buttons */

.employee-modal .btn-primary {
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background:
    linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  border: none;
  transition: all 0.3s ease;
}

.employee-modal .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.6);
}

.employee-modal .btn-outline-secondary {
  border-radius: 999px;
  padding: 10px 26px;
}

/* ================= MOBILE ================= */

@media (max-width: 576px) {
  .employee-modal .modal-body {
    padding: 1.6rem;
  }

  .emp-avatar {
    width: 60px;
    height: 60px;
  }
}
