/**
 * Dashboard Styles
 * OnlineLearning365 - Dashboard Layout & Components
 */

:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --muted: #8b8f95;
  --text: #1f2328;
  --line: #e9eaee;
  --chip: #f3f6fb;
  --chip-text: #48505e;
  --brand: #111827;
  /* top buttons */
  --accent: #ff6b00;
  /* little highlight dots */
  --green: #16a34a;
  --red: #e11d48;
  --amber: #d97706;
  --blue: #2563eb;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(16, 24, 40, .02), 0 4px 20px rgba(16, 24, 40, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* LAYOUT */
.app {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  height: 100%
}

@media (max-width:1100px) {
  .app {
    grid-template-columns: 1fr
  }
}

aside.sidebar {
    background-color: rgb(31, 29, 13);
  border-right: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
}

.brand .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #111827;
  display: grid;
  place-items: center
}

.search {
  position: relative;
  margin-top: 10px
}

.search input {
  width: 100%;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  outline: none;
}

.search i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted)
}

.nav-group {
  margin-top: 10px
}

.nav-group h6 {
  margin: 16px 10px 6px;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #2b3137;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
}

.nav a:hover {
  background: #f3f4f6
}

.nav a.active {
  background: #111827;
  color: #fff
}

.nav .badge {
  margin-left: auto;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3
}

.upgrade {
  margin-top: auto;
  background: #fff7ed;
  border: 1px dashed #fdba74;
  padding: 14px;
  border-radius: 12px;
  color: #7c2d12;
}

/* MAIN */
.main {
  padding: 22px 26px 70px;
}

@media (max-width:1100px) {
  .sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 30% 0 0;
    transform: translateX(-100%);
    transition: .25s
  }

  .sidebar.open {
    transform: none
  }

  .topbar .burger {
    display: inline-flex
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 10px 0 18px;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center
}

.title {
  font-size: 22px;
  font-weight: 700
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.mebership_plan_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.btn.dark {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff
}

.btn.icon {
  width: 40px;
  height: 40px;
  justify-content: center
}

.avatar-stack {
  display: flex
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #fff;
  margin-left: -6px;
  background: #cbd5e1
}

.profile {
  display: flex;
  align-items: center;
  gap: 8px
}

.profile img {
  width: 38px;
  height: 38px;
  border-radius: 999px
}

.chip-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 16px;
  margin: 14px 0 18px
}

@media (max-width:1100px) {
  .stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:600px) {
  .stats {
    grid-template-columns: 1fr
  }
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.stat h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #667085
}

.stat .value {
  font-size: 22px;
  font-weight: 800
}

.delta {
  font-size: 12px;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green);
  font-weight: 700
}

/* TOOLBAR */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: space-between;
}

.toolbar .group {
  display: flex;
  gap: 10px;
  align-items: center
}

/* TABLE */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 14px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0
}

thead th {
  text-align: left;
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafafb;
}

tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
  background: #fff;
}

tbody tr:hover td {
  background: #fcfcff
}

.status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.in-stock {
  background: #eefdf3;
  color: #166534
}

.out-stock {
  background: #fff1f2;
  color: #be123c
}

.restock {
  background: #fffbeb;
  color: #92400e
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px
}

.rating .star {
  color: #f59e0b
}

.pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 700
}

/* TABLE FOOT */
.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #fafafa
}

.pagination {
  display: flex;
  gap: 6px;
  align-items: center
}

.pagination .page {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.pagination .page.active {
  background: #111827;
  color: #fff;
  border-color: #111827
}

/* BULK BAR */
.bulkbar {
  position: sticky;
  bottom: 18px;
  left: 0;
  width: 100%;
  display: none;
  justify-content: center;
  z-index: 5;
}

.bulkbar .inner {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}

.divider {
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 6px
}

.count {
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 999px;
  font-weight: 700
}

/* UTIL */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--chip);
  color: var(--chip-text);
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

.dashboard-logo img {
  width: 100%;
}

.notification-number {
  margin-top: -23px;
  margin-left: -13px;
  color: #de0000;
  display: block;
}

/* Fixed Bottom Footer */
.dashboard-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  z-index: 20;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-footer a {
  color: #1F1D0D;
  text-decoration: none;
  font-weight: 600;
  margin: 0 8px;
}

.dashboard-footer a:hover {
  color: #FFD32B;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .dashboard-footer {
    font-size: 11px;
    padding: 10px 15px;
  }
  
  .dashboard-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

/* Custom Modal Popup */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 29, 13, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content-custom {
  position: relative;
  background: #ffffff;
  margin: 10% auto;
  padding: 0;
  width: 90%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
  overflow: hidden;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header-custom {
  background: linear-gradient(135deg, #1F1D0D 0%, #3a3620 100%);
  padding: 24px 28px;
  color: #F7FF62;
  border-bottom: 3px solid #FFD32B;
}

.modal-header-custom h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header-custom i {
  font-size: 24px;
}

.modal-body-custom {
  padding: 32px 28px;
  color: #29281E;
  line-height: 1.6;
}

.modal-body-custom h4 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1F1D0D;
  font-weight: 700;
}

.modal-body-custom p {
  margin: 0 0 20px;
  color: #6c757d;
  font-size: 15px;
}

.modal-footer-custom {
  padding: 20px 28px;
  background: #f8f9fa;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #e9ecef;
}

.modal-close-btn {
  background: #1F1D0D;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-close-btn:hover {
  background: #FFD32B;
  color: #1F1D0D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 210, 43, 0.3);
}

.modal-cancel-btn {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #e9ecef;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-cancel-btn:hover {
  background: #e9ecef;
  color: #495057;
  border-color: #dee2e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
  .modal-content-custom {
    margin: 20% auto;
    width: 95%;
  }

  .modal-header-custom,
  .modal-body-custom,
  .modal-footer-custom {
    padding: 20px;
  }
}

/* PRICING SECTION STYLES */
.pricing_section {
  padding: 60px 0;
  margin-bottom: 0px !important;
      background-color: rgb(247, 255, 98);
}

.section_space_lg {
  padding-top: 40px;
  padding-bottom: 40px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.pricing_wrapper {
  width: 100%;
}

.section_heading {
  margin-bottom: 50px;
}

.section_heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.pricing_tabs {
  margin-bottom: 50px;
}

.tab_nav {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 25px;
  padding: 4px;
  gap: 4px;
}

.tab_btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: 20px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.tab_btn.active {
  background: #1a202c;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tab_btn:hover:not(.active) {
  color: #2d3748;
}

.pricing_plans {
  width: 100%;
}



.row.justify-content-center {
  justify-content: center;
}

.row.align-items-center {
  align-items: center;
}

.col-lg-4,
.col-md-6,
.col-lg-6 {
  padding: 0 15px;
  margin-bottom: 30px;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  min-width: 300px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.pricing_card {
  background: rgb(31, 29, 13) !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.pricing_card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.pricing_card.featured {
  border: 3px solid #fbbf24 !important;
  transform: none !important;
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.pricing_card.featured:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(251, 191, 36, 0.2), 0 6px 15px rgba(0, 0, 0, 0.1) !important;
}

.popular_badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff !important;
  color: rgb(0, 0, 0) !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing_header {
  text-align: center;
  margin-bottom: 24px;
}
.popular_badge:hover{
  background: #ffffff !important;
  color: rgb(0, 0, 0) !important;
}

.plan_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.plan_description {
  color: #ffffff;
  font-size: 14px;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.price_info {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.period {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 500;
}

.price_detail {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.pricing_body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.pricing_body ul li{
  color: #ffffff;
}
.pricing_body p{
  color: #ffffff;
}
.mebership_plan_btn {
  display: inline-block ;
  padding: 14px 28px ;
  border-radius: 10px ;
  text-decoration: none;
  font-weight: 600 ;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer ;
}

.mebership_plan_btn_primary {
  background: rgb(247, 255, 98);
  color: rgb(0, 0, 0) ;
  border-radius: 8px;
  font-weight: 600;
}

.mebership_plan_btn:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
  color: #000000;
}

.mebership_plan_btn_outline {
  background: #ffffff;
  color: #1a202c;
  border: 2px solid #1a202c;
  border-radius: 8px;
  font-weight: 600 ;
}

.mebership_plan_btn_outline:hover {
  background: rgb(247, 255, 98);
  color: rgb(0, 0, 0);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
}

.pricing-buton {
  margin-bottom: 16px;
}
.pricing-buton:hover{
  color: #fff;
}
.purchase_note,
.cancel_note,
.guarantee_note {
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.feature_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature_list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 2px 0;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.5;
}

.feature_list li i {
  color: #10b981;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.annual_benefits {
  margin-top: 20px;
}

.annual_benefits p {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.teams_content {
  margin-top: 40px;
}

.teams_description {
  padding-right: 40px;
}

.teams_title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.teams_subtitle {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.teams_card {
  background: #000000;
  color: white;
  border: none;
}

.teams_card .plan_title,
.teams_card .plan_description,
.teams_card .price,
.teams_card .price_detail,
.teams_card .feature_list li {
  color: white;
}

.teams_card .period {
  color: rgba(255, 255, 255, 0.8);
}

.teams_card .guarantee_note {
  color: rgba(255, 255, 255, 0.9);
}

.teams_card .btn_primary {
  background: white;
  color: #000000;
}

.teams_card .btn_primary:hover {
  background: #f8f9ff;
  color: #5a6fd8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 992px) {
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .teams_description {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .section_heading h2 {
    font-size: 2rem;
  }
  
  .teams_title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-6,
  .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .pricing_card.featured {
    transform: none;
  }
  
  .pricing_card.featured:hover {
    transform: translateY(-4px);
  }
  
  .section_heading h2 {
    font-size: 1.8rem;
  }
  
  .teams_title {
    font-size: 1.6rem;
  }
  
  .price {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .col-lg-4,
  .col-md-6,
  .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Disabled navbar styling */
.sidebar .nav a.disabled {
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  color: #ffffff !important;
}

.sidebar .nav a.disabled:hover {
  background: transparent !important;
  color: #ffffff !important;
}

/* Welcome message for new users */
.new-user-welcome {
  background-color: rgb(31, 29, 13);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
}

.new-user-welcome h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.new-user-welcome p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}
.team-anual-card{
      max-width: 564px !important;
}