
/* ==== All Courses Page (No Image) ==== */

.ld-all-courses-page {
  background: #f8fafc;
  min-height: 80vh;
}

.ld-all-courses-page .container {
  max-width: 1200px;
  margin: 0 auto;
}

.courses-title {
  font-size: 2.2rem;
  text-align: center;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.course-card {
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.06);
}

.course-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.course-excerpt {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 15px;
  min-height: 45px;
}

.course-progress {
  margin-top: auto;
}

.course-progress small {
  color: #333;
  font-size: 0.8rem;
}

.no-courses {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-top: 40px;
}


/* ==== My Certificates Page ==== */

.ld-my-certificates-page {
  background: #f8fafc;
  min-height: 80vh;
}

.ld-my-certificates-page .container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 35px;
  text-align: center;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    background: white;
    padding: 0 0 0px;
}

.certificate-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  border: 1px solid #e3e6eb;
  padding: 25px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.certificate-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.certificate-status {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.certificate-view {
  display: inline-block;
  background: #0066cc;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.certificate-view:hover {
  background: #004c99;
}

.no-certificates {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 40px;
}
/* ==== My Reports Page ==== */
.ld-my-reports-page {
  background: #f8fafc;
  min-height: 80vh;
}

.ld-my-reports-page .container {
  max-width: 1000px;
  width:100%;
  margin: 0 auto;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 35px;
  text-align: center;
}

/* Summary Cards */
.report-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}

.report-card {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  border: 1px solid #e3e6eb;
  padding: 25px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.report-card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.report-card p {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3498db;
  margin: 0;
}

/* Course Progress List */
.course-progress-item {
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
  padding:40px 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  width:90%;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.course-header h3 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.course-header h3 a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}

.course-header .percent {
  font-weight: 600;
  color: #3498db;
}

.progress-fill {
  background: #0066cc;
  height: 100%;
  border-radius: 8px 0 0 8px;
  transition: width 0.4s ease;
}

.no-courses {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 40px;
}

/* ==== My Notifications Page ==== */
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container{
	padding:30px 0!important;
}
.ld-my-notifications-page {
  background: #f8fafc;
  min-height: 80vh;
}

.ld-my-notifications-page .container {
  margin: 10px auto;
  width: 100%;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 35px;
  text-align: center;
}

.notifications-wrapper {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e3e6eb;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 20px;
}

.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notification-item {
  border-bottom: 1px solid #e6e9ed;
  padding: 20px 10px;
  transition: background 0.2s ease;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background: #f1f5fb;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.note-title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.note-date {
  font-size: 0.85rem;
  color: #777;
}

.note-message {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

/* Notification Types */
.note-info {
  border-left: 4px solid #007bff;
}

.note-success {
  border-left: 4px solid #28a745;
}

.note-warning {
  border-left: 4px solid #ffc107;
}

.note-error {
  border-left: 4px solid #dc3545;
}

.no-notifications {
  text-align: center;
  font-size: 1rem;
  color: #555;
  padding: 40px 0;
}

/* Help/Support Page */
.help-page {
  padding: 40px;
}

.help-page .page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.help-page .faq-item {
  background: #f9fafb;
  border-left: 4px solid #0057b8;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.help-page .faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #333;
}

.help-page .help-resources ul {
  list-style: disc;
  margin-left: 20px;
}

.help-page .help-contact {
  margin-top: 40px;
  background: #f0f3f7;
  padding: 20px;
  border-radius: 10px;
}

.help-page .help-contact h2 {
  margin-bottom: 10px;
}

.help-page a {
  color: #0057b8;
  text-decoration: none;
}
/* Help & Support Page Styling */
.help-center-wrapper {
  background: #f8f9fb;
  min-height: 80vh;
}

.help-container {
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 25px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.help-subtitle {
    font-size: 1rem;
    color: #555;
    width: 75%;
    margin: 0 auto 30px;
    text-align: center;
}

/* FAQ */
.help-faq h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #b71c1c;
  padding-bottom: 5px;
}

.faq-list {
  margin-top: 20px;
}

.faq-item {
  border: 1px solid #e2e6eb;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #f9fafc;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 1.05rem;
  text-align: left;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  background: #f9fafc;
  color: #444;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Form */
.help-contact {
  margin-top: 50px;
}

.help-contact h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-card {
    background: #f8faff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
    margin: 10px 0;
}

/* Contact Form 7 styling */
.wpcf7 form p {
  margin-bottom: 15px;
  padding:0!important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid #ccd4dd;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.95rem;
  transition: 0.3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #0057b8;
  box-shadow: 0 0 0 2px rgba(0,87,184,0.1);
}

.wpcf7 input[type="submit"] {
  background: #b71c1c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.wpcf7 input[type="submit"]:hover {
  background: #00469a;
}


/* Dashboard Layout */
/* Dashboard Layout */
.dashboard-page {
  padding: 10px;
  background: #f5f7fa;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
}

.dashboard-header p {
  color: #555;
  margin-bottom: 25px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.active-course-card,
.org-info-card,
.todo-card,
.info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px 25px;
}

/* Active Course */
.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.progress-bar {
  background: #e5e7eb;
  border-radius: 4px;
  height: 8px;
  width: 100%;
  margin: 10px 0 20px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-bar span {
  display: block;
  background: #0066cc;
  height: 100%;
  transition: width .3s ease;
}
.progress-bar .progress {
  height: 100%;
  background: #0057b8;
  border-radius: 4px;
}

.course-actions .btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 8px;
}
.btn-primary {
  background: #b71c1c;
  color: #fff;
}
.btn-outline {
    border: 1px solid #b71c1c;
    color: #b71c1c;
}

/* Org Info */
.org-logo {
    width: 180px;
    margin-bottom: 25px;
}

/* To Do List */
.todo-card ul {
  list-style: none;
  padding: 0;
}
.todo-card li {
  padding: 10px 0;
  border-bottom: 1px solid #e8ebf0;
  display: flex;
  justify-content: space-between;
}
.todo-card li.done a { color: #777; text-decoration: line-through; }
.status {
  font-size: 0.8rem;
  color: #999;
}
.status.completed {
  color: #b71c1c;
  font-weight: 600;
}

/* Info Cards */
.info-card, .active-course-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-card{
    align-items: center;
}
.course-actions{
	display: flex;
    justify-content: center;
}
.active-course-card .progress-bar {
    margin-bottom: 25px;
}
.info-card.profile-card a {
    background: #b71c1c;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
}
.profile-card .profile-pic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Base tab styles */
.ld-tab-bar__tab {
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  border-radius: 6px 6px 0 0;
  padding: 10px 16px !important;
  transition: all 0.2s ease-in-out;
  position: relative;
}

/* Active tab */
.ld-tab-bar__tab[aria-selected="true"] {
  background-color: #d32f2f !important; /* red */
  color: #fff !important;
  border-color: #d32f2f !important;
  z-index: 2;
}

/* Hover state for inactive tabs */
.ld-tab-bar__tab:not([aria-selected="true"]):hover {
  background-color: #fbeaea !important;
  color: #d32f2f !important;
  border-color: #f5b5b5 !important;
}

/* Remove default LearnDash bottom border highlight */
.ld-tab-bar__tab::after {
  content: none !important;
}

/* Remove blue bottom line on focus/hover */
.ld-tab-bar__tab:focus,
.ld-tab-bar__tab:hover {
  outline: none !important;
  box-shadow: none !important;
}

/* SVG icons inherit colors */
.ld-tab-bar__tab svg {
  color: inherit !important;
  fill: currentColor !important;
}

/* Ensure active tab's SVG stays white */
.ld-tab-bar__tab[aria-selected="true"] svg path {
  fill: #fff !important;
}

/* Hovered tab's SVG becomes red */
.ld-tab-bar__tab:not([aria-selected="true"]):hover svg path {
  fill: #d32f2f !important;
}





.tab-btn.active::after, .ld-navigation__progress-mark-complete-button{
	background: #b71c1c!important;
}
.tab-btn.active, .ld-navigation__progress-completed-action, .ld-progress-bar__label-icon--complete, .ld-accordion__item-icon--progress, .ld-navigation__icon--lesson-complete, .ld-accordion__item-attribute-icon--progress{
    color: #b71c1c!important;
}

.ld-navigation__back-to-course-link:active, .ld-navigation__back-to-course-link:hover, .ld-navigation__next-link:active, .ld-navigation__next-link:hover, .ld-navigation__previous-link:active, .ld-navigation__previous-link:hover{
	color:#b71c1c!important;
	background:#fff3f3!important;
}
.ld-navigation__back-to-course-link:active, .ld-navigation__back-to-course-link:focus, .ld-navigation__back-to-course-link:hover, .ld-navigation__next-link:active, .ld-navigation__next-link:focus, .ld-navigation__next-link:hover, .ld-navigation__previous-link:active, .ld-navigation__previous-link:focus, .ld-navigation__previous-link:hover{
	border-color:#b71c1c!important;
}

.overview-card{
	border-left: 4px solid #b71c1c!important;
}
.ld-tab-bar__tab[aria-selected=true]:after {
    border-color: #b71c1c!important;
}
.profile-info h1 {
    color: #fff;
}


/* Agreement Page */


.agreement-wrapper{
    background:#f5f6f8;
    padding:40px 20px;
}

.agreement-card{
    max-width:900px;
    margin:auto;
    background:#ffffff;
    border-radius:14px;
    padding:35px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
}

.agreement-card h2{
    font-size:34px;
    margin-bottom:10px;
    color:#1e1e1e;
}

.agreement-intro{
    color:#666;
    margin-bottom:35px;
    line-height:1.7;
}

.agreement-section{
    margin-bottom:35px;
}

.agreement-section h3{
    margin-bottom:18px;
    font-size:22px;
    color:#1e1e1e;
}

.agreement-section label{
    display:block;
    margin-bottom:14px;
    line-height:1.7;
}

.agreement-section input[type="checkbox"]{
    margin-right:8px;
}

.agreement-section a{
    color:#c62828;
    text-decoration:none;
    font-weight:600;
}

.agreement-section a:hover{
    text-decoration:underline;
}

.agreement-section input[type="text"],
.agreement-section input[type="date"],
.agreement-section textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    margin-top:8px;
    margin-bottom:18px;
    font-size:15px;
    background:#fff;
}

.agreement-section textarea{
    resize:vertical;
}

.highlight-box{
    background:#f8f8f8;
    padding:16px;
    border-radius:8px;
    border:1px solid #ececec;
}

.agreement-btn{
    background:#c62828;
    color:#fff;
    border:none;
    padding:14px 28px;
    font-size:16px;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s ease;
    font-weight:600;
}

.agreement-btn:hover{
    background:#b71c1c;
}

.policy-list{
    margin-top:15px;
    padding-left:20px;
}

.policy-list li{
    margin-bottom:10px;
}

details summary{
    cursor:pointer;
    font-weight:600;
    color:#1e1e1e;
}

@media(max-width:768px){
    .agreement-card{
        padding:25px;
    }
    .agreement-card h2{
        font-size:28px;
    }
}
img.agreement-page-logo {
    max-width: 275px;
    margin: 5px auto 25px;
    display: block;
}
.course-stats{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:20px;
	margin:25px 0;
	text-align:center;
}

.course-stats div{
	background:#f8f8f8;
	padding:18px;
	border-radius:10px;
}

.continue-btn{
	display:inline-block;
	background:#b71c1c;
	color:#fff;
	padding:10px 22px;
	border-radius:8px;
	text-decoration:none;
	font-weight:600;
}

.continue-btn:hover{
	background:#8d1515;
	color:#fff;
}

.report-card .icon{
	font-size:34px;
	margin-bottom:10px;
}

@media(max-width:768px){
	.course-stats{
		grid-template-columns:repeat(2,1fr);
	}
}
