.smoothScroll {
  scroll-behavior: smooth;
}

.backgroundColorChange {
  background-color: #f1f5f9;
}
.jtLogo {
  background-image: url("../img/Special%20Writers.svg");
  height: 100%;
  width: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.removeCorner {
  border-radius: 0%;
}
.setBackImg {
  background-image: url("../img/special_writers_background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.colorRed {
  color: red;
}

.horizontal-scroll-menu-container {
  position: relative;
  display: flex;
  align-items: center;
}

.horizontal-scroll-menu {
  overflow-x: hidden;
  white-space: nowrap;
  flex: 1;
}

.horizontal-scroll-menu a {
  display: inline-block;
  padding: 10px 20px;
  white-space: normal;
  border: 1px solid #ddd;
  margin-right: 10px;
  text-align: center;
}

.horizontal-scroll-menu a:hover {
  background-color: #f1f1f1;
}

.scroll-arrow {
  cursor: pointer;
  font-size: 24px;
  user-select: none;
  padding: 10px;
}
.smallText {
  font-size: smaller;
}
.imageSize {
  height: 230px;
}
.backGroundRed {
  background-color: #ff0d0d;
}
.textredChange {
  color: #ff0d0d;
}

.number {
  transition: opacity 0.5s;
}

body {
  background-color: #f1f5f9 !important;
}

/* Custom Sidebar Light Theme */
#sidebar.sidebar-wrapper {
  background-color: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}
#sidebar.sidebar-wrapper .app-brand {
  background-color: #ffffff !important;
  border-bottom: 1px solid #edf2f7 !important;
}

#sidebar.sidebar-wrapper .sidebar-menu > li > a {
  color: #334155 !important;
}

#sidebar.sidebar-wrapper .sidebar-menu > li.active > a,
#sidebar.sidebar-wrapper .sidebar-menu > li.current-page > a {
  color: #FE8550 !important;
  background: rgba(254, 133, 80, 0.1) !important; /* light orange highlight */
  border-left-color: #FE8550 !important; /* orange left border */
}

#sidebar.sidebar-wrapper .sidebar-menu > li:hover > a {
  color: #FE8550 !important;
  background: rgba(254, 133, 80, 0.05) !important;
  border-left-color: #FE8550 !important;
}

#sidebar.sidebar-wrapper hr {
  border-color: rgba(24, 20, 20, 0.15) !important;
}

/* CSS drop shadow filter to make the original white/orange logo readable on light orange background */
#sidebar.sidebar-wrapper .app-brand img {
  /* filter: drop-shadow removed */
}

/* Custom Footer Light Theme */
.app-footer {
  background-color: #f8fafc !important;
  color: #475569 !important;
}

/* Fill the page background with light gray on all inner pages */
.page-wrapper {
  background-color: #f8fafc !important;
  min-height: 100vh;
}
body:has(.page-wrapper) {
  background-color: #f8fafc !important;
}

/* Custom Header Light Theme */
.app-hero-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Sticky Footer Layout to eliminate space below footer */
.app-container {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}
.app-body {
  flex: 1 0 auto !important;
}
.app-footer {
  margin-top: auto !important;
}

/* ==========================================================
   Dashboard theme tokens (shared: user + admin)
   ========================================================== */
:root {
  --accent-orange: #FE8550;
  --accent-orange-soft: rgba(254, 133, 80, 0.1);
  --navy-dark: #101828;
  --surface-light: #f8fafc;
}

/* Stat cards (rounded-icon-square + label + value) */
.stat-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef1f5;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  position: relative;
}
.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 2px;
}
.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.2;
}
.stat-card .stat-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}
.stat-card .stat-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Internship Completion progress bar */
.progress-track {
  height: 8px;
  border-radius: 4px;
  background: #eef1f5;
  overflow: hidden;
  position: relative;
}
.progress-track .progress-fill {
  height: 100%;
  background: var(--accent-orange);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Quick Access icon grid */
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.quick-access-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #374151;
  font-size: 0.78rem;
  text-align: center;
}
.quick-access-grid a .qa-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.quick-access-grid a:hover .qa-icon {
  background: var(--accent-orange);
  color: #fff;
}

/* ID card panel wrapper */
.id-card-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef1f5;
  padding: 16px;
}

/* Notification bell + dropdown */
.notif-bell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 18px;
  cursor: pointer;
  background: #f1f5f9;
}
.notif-bell .notif-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.notif-dropdown {
  width: 320px;
  max-height: 380px;
  overflow-y: auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.notif-dropdown .notif-header {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1a1a2e;
}
.notif-item {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid #f8fafc;
  text-decoration: none;
  color: #374151;
}
.notif-item.unread {
  background: #fff7f0;
}
.notif-item .notif-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
}
.notif-item .notif-msg {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 0;
}
.notif-item .notif-time {
  font-size: 0.7rem;
  color: #9ca3af;
}
.notif-empty {
  padding: 24px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.82rem;
}

/* Header greeting */
.header-greeting .greet-name {
  font-weight: 700;
  color: #1a1a2e;
}
.header-greeting .greet-datetime {
  font-size: 0.8rem;
  color: #64748b;
}


.app-header {
  min-height: 68px !important;
  padding: 0.8rem 1.5rem !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #eef1f5 !important;
}
