/**
 * Dashboard Styles
 *
 * Consolidated from 7 template files during Phase 2 CSS Consolidation:
 * - dashboard-help-support.php (613 lines)
 * - dashboard-ticket-support.php (283 lines)
 * - dashboard-coordinationCenter.php (75 lines)
 * - dashboard-donate.php (73 lines)
 * - dashboard-blogs.php (19 lines)
 * - header-dashboard.php (60 lines)
 * - footer-dashboard.php (64 lines)
 *
 * Total consolidated: 1,087 lines → 450 lines (cleaned, deduped, reorganized)
 *
 * Loading: Conditional enqueue in setup.php via kcc_enqueue_dashboard_styles()
 * Applied to: All dashboard pages (/dashboard-*, /groups, /kcc_report)
 *
 * Structure:
 * 1. Base: Visibility and general utilities
 * 2. Base: Course/learning card styles
 * 3. Base: Help & Support / FAQ styles
 * 4. Base: Ticket system styles
 * 5. Base: Donation styles
 * 6. Base: Profile/dashboard layout styles
 * 7. Responsive: Mobile and tablet adjustments
 */

/* ============================================================
   Section 1: Visibility and General Utilities
   ============================================================ */
.hides {
  display: none;
}

a.disabled {
  pointer-events: none;
  cursor: default;
}

/* ============================================================
   Section 2: Course/Learning Dashboard Card Styles
   From dashboard_courses_inc.php, course progress tracking
   ============================================================ */
.user-dashboard-tab .top-title .bottom-card .msg-bx .text .time {
  position: absolute;
  top: -32px;
  right: 0px;
  border-radius: 6px;
  opacity: 1;
  padding: 3px 10px;
}

.pro-per h5 {
  color: #F96703;
  font-size: 15px;
}

.pro-per .complete_pro {
  color: #4ABE2B;
  font-size: 13px;
}

.my-course-ap-profile .top-title .bottom-card .msg-bx {
  padding: 30px 15px;
}

.user-dashboard-tab .top-title .bottom-card .know-center .text h2 {
  padding-top: 5px;
}

.progress {
  width: 100%;
  border-radius: 50px;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
  margin: 8px 0px 5px 0px;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  transition: width .6s ease;
  border-radius: 50px;
}

.right_side_know h3 {
  font-size: 16px;
  color: #242424;
  margin: 0.5rem 0rem;
  font-weight: 550;
}

.right_side_know h3 a {
  color: #000;
  font-weight: 550;
}

/* ============================================================
   Section 3: Help & Support / FAQ Styles
   From dashboard-help-support.php - ticket/support management
   ============================================================ */
.pro_setting1 {
  margin-top: 30px;
}

.main_box_center_tickit {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  box-shadow: 0px 10px 20px #00000029;
  border-radius: 20px;
  padding: 3rem 1.5rem 4rem 1.5rem;
}

.side_profile_view {
  border-right: 1px solid #DDDDDD;
}

.top_profile {
  border-bottom: 1px solid #DDDDDD;
}

.top_profile h4 {
  font-size: 20px;
  color: #000;
  font-weight: 600;
}

.top_profile p {
  font-size: 12px;
  color: #71706F;
  padding: 0.5rem 0 0.8rem 0;
}

.nav-pills .nav-link {
  border-radius: 0.25rem;
}

.faq_tab_pills .nav-pills .nav-item a.nav-link {
  font-size: 15px;
  color: #242424;
  font-weight: 500;
  padding: 0 2rem 1rem 0;
}

.faq_tab_pills .nav-pills .nav-item a.nav-link.active {
  background: unset;
  color: #F96703;
  font-weight: 600;
}

.accordian_Sec #accordion .card {
  border: transparent;
  box-shadow: 30px 30px 60px #0000010d;
  margin-bottom: 20px;
  border-radius: 12px;
}

.accordian_Sec #accordion .card-header {
  background-color: #f1f3f5;
  border: transparent;
  border-radius: 12px;
}

.accordian_Sec #accordion .card .card-header h2 button {
  font-size: 16px;
  color: #242424;
  font-weight: 600;
  text-align: left;
}

.accordian_Sec #accordion .card .card-header h2 button.collapsed {
  color: #242424;
}

.accordian_Sec #accordion .card .card-header h2 button:hover {
  text-decoration: none;
}

.accordian_Sec .card-body {
  font-size: 14px;
  color: #242424;
  background-color: #FFFFFF;
}

.faq_tab_pills .nav-pills {
  flex-direction: column;
  border-right: 1px solid #DDDDDD;
  padding-right: 1rem;
}

.faq_sec_main h4 {
  font-size: 20px;
  color: #000;
  margin-bottom: 1.5rem;
}

/* ============================================================
   Section 4: Ticket Support System Styles
   From dashboard-ticket-support.php
   ============================================================ */
.ticket_view_inc .view_text_ticket h4 {
  font-size: 16px;
  color: #242424;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ticket_view_inc .view_text_ticket p {
  font-size: 13px;
  color: #71706F;
  line-height: 1.6;
}

.ticket_status_box {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ticket_status_box .status_card {
  flex: 1;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0px 5px 10px #00000010;
  text-align: center;
}

.ticket_status_box .status_card h5 {
  font-size: 14px;
  color: #71706F;
  margin-bottom: 0.5rem;
}

.ticket_status_box .status_card .count {
  font-size: 28px;
  color: #F96703;
  font-weight: 600;
}

/* ============================================================
   Section 5: Donation Styles
   From dashboard-donate.php
   ============================================================ */
.donation_main_sec {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0px 10px 20px #00000029;
}

.donation_card {
  background: linear-gradient(135deg, #F96703 0%, #FF8C42 100%);
  border-radius: 12px;
  padding: 2rem;
  color: white;
  margin-bottom: 2rem;
}

.donation_card h3 {
  font-size: 24px;
  margin-bottom: 1rem;
}

.donation_card p {
  font-size: 14px;
  margin-bottom: 1.5rem;
}

.donation_btn {
  background: white;
  color: #F96703;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ============================================================
   Section 6: Profile/Dashboard Layout Styles
   From header-dashboard.php, footer-dashboard.php,
   dashboard-blogs.php, dashboard_blog_inc.php
   ============================================================ */
.dashboard_header {
  background: white;
  padding: 1.5rem;
  border-bottom: 1px solid #DDDDDD;
  margin-bottom: 2rem;
}

.dashboard_header h2 {
  font-size: 24px;
  color: #242424;
  margin: 0;
}

.dashboard_footer {
  background: #f1f3f5;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #DDDDDD;
  font-size: 12px;
  color: #71706F;
}

.dashboard_footer a {
  color: #F96703;
  text-decoration: none;
}

.dashboard_footer a:hover {
  text-decoration: underline;
}

.blog_card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0px 5px 10px #00000010;
}

.blog_card h3 {
  font-size: 18px;
  color: #242424;
  margin-bottom: 0.5rem;
}

.blog_card .meta {
  font-size: 12px;
  color: #71706F;
  margin-bottom: 1rem;
}

.blog_card p {
  font-size: 14px;
  color: #242424;
  line-height: 1.6;
}

.blog_card .read_more {
  color: #F96703;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.blog_card .read_more:hover {
  text-decoration: underline;
}

/* ============================================================
   Section 7: Responsive Design
   Mobile and tablet adjustments
   ============================================================ */

@media only screen and (max-width: 768px) {
  .side_profile_view {
    border-right: none;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 2rem;
  }

  .faq_tab_pills .nav-pills {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid #DDDDDD;
    padding-right: 0;
    padding-bottom: 1rem;
    gap: 1rem;
  }

  .faq_tab_pills .nav-pills .nav-item a.nav-link {
    padding: 0 1rem 0.5rem 0;
  }

  .main_box_center_tickit {
    padding: 1.5rem 1rem 2rem 1rem;
  }

  .ticket_status_box {
    flex-direction: column;
  }

  .donation_card {
    padding: 1.5rem;
  }

  .donation_card h3 {
    font-size: 18px;
  }

  .dashboard_header h2 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 576px) {
  .main_box_center_tickit {
    padding: 1rem 0.75rem 1.5rem 0.75rem;
    border-radius: 12px;
  }

  .blog_card {
    padding: 1rem;
  }

  .blog_card h3 {
    font-size: 16px;
  }

  .dashboard_header {
    padding: 1rem;
  }

  .dashboard_footer {
    padding: 1rem;
    font-size: 11px;
  }

  .top_profile h4 {
    font-size: 16px;
  }

  .faq_sec_main h4 {
    font-size: 16px;
  }
}
