/* ----------- Login Page Details ----------- */
.bodybg {
  
  min-height: 100vh;   /* full screen height */
  margin: 0;

  background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url("../assets/IVF helpdesk.png");
  background-size: cover;        /* scale image */
  background-position: center;   /* center image */
  background-repeat: no-repeat;  /* avoid repeat */

}

/* LEFT PANEL */
.left-panel {
  padding-left: 80px;
}

.main-logo {
  height: 280px;
  width: 400px;
}

.main-title {
  font-size: 42px;
  font-weight: bold;
  color: #7a1f1f;
}

.main-title span {
  color: #c89d3c;
}

.subtitle {
  color: #666;
}

.desc {
  color: #444;
  max-width: 400px;
}

/* LOGIN CARD */
.login-card {
  width: 380px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
}

/* ICON */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f2e6da;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 22px;
}

/* TEXT */
.welcome-text {
  font-weight: 600;
  color: #7a1f1f;
}

/* INPUT */
.input-group-text {
  background: #fff;
  border-radius: 10px 0 0 10px;
}

.form-control {
  border-radius: 0 10px 10px 0;
}

/* LOGIN BUTTON */
.login-btn {
  background: linear-gradient(90deg,#b13a2e,#8b0000);
  color: white;
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.login-btn:hover {
  background: #7a1f1f;
}

/* LINKS */
.forgot {
  color: #c0392b;
  font-size: 13px;
}

.register {
  color: #c0392b;
}

/* DIVIDER */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider span {
  font-size: 12px;
  color: #777;
}

/* SOCIAL BUTTONS */
.social-btn {
  border-radius: 10px;
}

/* FOOTER BOX */
.footer-box {
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  width: 80%;
  margin: auto;
}


#tableContainer,
#pendingWidgetContainer {
  transition: all 0.3s ease;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .left-panel {
    display: none;
  }
}



/* ----------- Index Page Details ----------- */


/* ======================
   ROOT VARIABLES
====================== */
:root {
  --primary: #0056D2;
  --accent: #FF6B00;
}


/* ======================
   NAVBAR
====================== */
.navbar-brand {
  color: #387ed1 !important;
}


/* ======================
   TABLE STYLING
====================== */
.table thead th {
  background: #f8fafc;
  font-size: 14px;
  color: #475569;
}

.table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  font-size: 14px;
}

/* Highlight danger rows */
.table tbody tr.table-danger td {
  background-color: #f8b5b5 !important;
}


/* ======================
   BADGES (Priority + Status)
====================== */
.priority-badge,
.status-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Priority Colors */
.priority-low { background: #e9ecef; color: #495057; }
.priority-medium { background: #dbeafe; color: #1d4ed8; }
.priority-high { background: #fff3cd; color: #b45309; }
.priority-critical { background: #f8d7da; color: #b91c1c; }

/* Status Colors */
.status-open { background: #e0f2fe; color: #0369a1; }
.status-in-process { background: #ede9fe; color: #6d28d9; }
.status-pending { background: #fff7ed; color: #c2410c; }
.status-resolved { background: #dcfce7; color: #15803d; }
.status-closed { background: #e2e8f0; color: #334155; }
.status-rejected { background: #fee2e2; color: #b91c1c; }


/* ======================
   BUTTONS
====================== */
.btn {
  border-radius: 50px;
}

.btn-primary {
  background-color: var(--primary);
  border: none;
}

.btn-primary:hover {
  background-color: #003f9a;
}


/* ======================
   BADGE ACCENT
====================== */
.badge.bg-warning {
  background-color: var(--accent) !important;
}


/* ======================
   CARDS / STATS
====================== */
.stat-card {
  border-radius: 12px;
  padding: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}

/* Hover */
.stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
}

/* Active */
.stat-card.active {
  border: 2px solid var(--primary);
}

/* Card Colors */
.total-card { background: #99d5ff; }
.open-card { background: #1bdef8; }
.process-card { background: #ffca1c; }
.pending-card { background: #ffb62f; }
.resolved-card { background: #00f815; }
.overdue-card { background: #ff1900; }


/* ======================
   LOGO
====================== */
.logo {
  height: 100px;
}

@media (max-width: 768px) {
  .logo {
    height: 30px;
  }
}


/* ======================
   TIMELINE
====================== */
#timelineContainer .timeline-item {
  position: relative;
}

#timelineContainer .timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #0d6efd;
  border-radius: 50%;
}


/* ======================
   CHART
====================== */
canvas {
  max-height: 320px;
}









