.elementor-2262 .elementor-element.elementor-element-45fa6f7{--display:flex;}.elementor-2262 .elementor-element.elementor-element-45fa6f7.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-2262 .elementor-element.elementor-element-0531494{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-2262 .elementor-element.elementor-element-45fa6f7{--width:91.335%;}}/* Start custom CSS for html, class: .elementor-element-2eeb6f3 *//* =========================
   STUDENT DASHBOARD – UI
   ========================= */

.student-dashboard {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  font-family: "Inter", sans-serif;
}

/* Heading */
.student-dashboard h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #111;
}

/* Section titles */
.student-dashboard h2 {
  font-size: 20px;
  margin: 30px 0 15px;
  color: #222;
}

/* Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Card title */
.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Card text */
.card p {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
}

/* Buttons */
.card button {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.card button:hover {
  opacity: 0.95;
}

/* Remove earnings / instructor look */
.student-dashboard .earnings,
.student-dashboard .instructor {
  display: none !important;
}
.joined-btn {
  background: #e6f7ec;
  color: #1e824c;
  border: 1px solid #1e824c;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: not-allowed;
}
.joined-btn {
  background: #e5e7eb;
  color: #16a34a;
  cursor: not-allowed;
  font-weight: 600;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  margin:25px 0;
}

.stat-card{
  background:#ffffff;
  padding:20px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  text-align:center;
}

.stat-card h3{
  font-size:34px;
  margin:0;
  color:#4f46e5;
}

.stat-card p{
  margin:6px 0 0;
  font-weight:600;
  color:#555;
}
.dashboard-tabs {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.tab-btn {
  padding: 10px 16px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
}

.tab-btn.active {
  background: #4f46e5;
  color: #fff;
}

.joined-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.joined-on {
  font-size: 12px;
  color: #555;
}/* End custom CSS */