/* ===========================
   KALKI DASHBOARD V2 (SAFE)
   =========================== */

.kalki-new-dashboard {
  padding: 40px 60px;
  background: #f6f7fb;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

/* HEADER */
.kdb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.kdb-greet h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.kdb-greet p {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.kdb-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.kdb-search input {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  outline: none;
}

.kdb-bell {
  font-size: 20px;
  cursor: pointer;
}

/* MAIN GRID */
.kdb-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

/* ===============================
   DASHBOARD OVERVIEW CARDS (V2)
================================ */

.kdb-ov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.kdb-ov-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  min-height: 120px;
  transition: transform 0.3s ease;
}

.kdb-ov-card:hover {
  transform: translateY(-5px);
}

.kdb-ov-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.kdb-ov-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.kdb-ov-title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.kdb-ov-number {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

/* Animated line */
.kdb-progress {
  width: 100%;
  height: 4px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}

.kdb-progress-fill {
  display: block;
  height: 100%;
  width: 100%; /* FULL underline */
  border-radius: 10px;
}


/* Color themes */
.kdb-orange .kdb-ov-icon { background: #ffe6d8; color: #ff7a18; }
.kdb-progress-fill.orange { background: #ff9f43; }

.kdb-green .kdb-ov-icon { background: #e6f8f1; color: #00b894; }
.kdb-progress-fill.green  { background: #10ac84; }

.kdb-blue .kdb-ov-icon { background: #eaf1ff; color: #4a6cf7; }
.kdb-progress-fill.blue   { background: #4b7bec; }

.kdb-purple .kdb-ov-icon { background: #f3e8ff; color: #a855f7; }
.kdb-progress-fill.purple { background: #a55eea; }

/* RIGHT PANEL */
.kdb-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kdb-profile {
  background: white;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.kdb-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.kdb-profile h4 {
  margin: 6px 0 2px;
}

.kdb-profile p {
  font-size: 13px;
  color: #6b7280;
}

/* CALENDAR */
.kdb-calendar {
  background: white;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* EVENTS */
.kdb-events {
  background: white;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.kdb-event {
  padding: 10px;
  border-radius: 10px;
  background: #eef2ff;
  margin-top: 10px;
  font-size: 14px;
}

/* GRID BELOW OVERVIEW */
.kdb-learning-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

/* COMMON CARD */
.kdb-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* CARD TITLES */
.kdb-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* EMPTY STATE */
.kdb-empty p {
  color: #6b7280;
  font-size: 14px;
}

.kdb-link {
  color: #6d6afc;
  font-weight: 600;
  text-decoration: none;
}

/* RECOMMENDED COURSES */
.kdb-recommended {
  margin-top: 30px;
}

.kdb-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.kdb-course-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
}

.kdb-course-card img {
  width: 100%;
  border-radius: 12px;
  height: 120px;
  object-fit: cover;
}

.kdb-course-card h5 {
  margin: 10px 0 5px;
}

.kdb-course-card p {
  font-size: 13px;
  color: #6b7280;
}

.kdb-course-card button {
  margin-top: 10px;
  padding: 8px 14px;
  background: #6d6afc;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.calendar-grid {
  margin-top: 12px;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 6px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  border-radius: 8px;
  background: #f4f6ff;
  color: #374151;
}

.calendar-day.today {
  background: #4f46e5;
  color: #ffffff;
  font-weight: 700;
}

.calendar-header {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #4f46e5; /* blue */
  margin-bottom: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

