html,
body {
  font-family: "Nunito", sans-serif;
}
p {
  line-height: 2;
}
.side-bar ul li a {
  text-decoration: none;
  display: block;
  padding: 2px 1px 1px 16px;
}
.side-bar ul li a.active {
  background-color: #61b991;
  color: #fff;
}

.youtube-container {
  display: flex;
  align-items: center;
}
.youtube-icon {
  font-size: 2rem;
  color: red;
  margin-left: 0.5rem;
  display: block;
}

/* Paragraph style */
/* my-6 text-lg text-gray-900 dark:text-gray-300 */
/* p {
  margin: 6px 0 0 6px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  background-color: ;
} */

.code-html {
  color: #a6aca9;
}
.code-meta {
  color: #3c76d0;
}
.code-keyword {
  color: #e09212;
}
.code-tag {
  color: #61b991;
}
.code-string {
  color: #e09212;
}
.code-attr {
  color: #30e7e2;
}
.code-comment {
  color: #7d8b8f;
}
.code-number {
  color: #e62020;
}
/* Javascript variables color */
.code-keyword {
  color: #e09212;
}
.var-name {
  color: #ddd;
}

.value-string {
  color: #61b991;
}
.value-number {
  color: #e62020;
}
.code-operator {
  color: #4caf50;
}
.code-integer {
  color: #6520e696;
}
.code-main {
  color: #999387;
}

table {
  width: 100%;
  margin: 1.5rem 0;
}
table,
th,
td {
  border: 1px solid #ddd;
}

th,
td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

/* Blogs */
/* views/styles.css */

/* Reset some default styles */
body,
h1,
h2,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

/* Style the header */
.header {
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
}

/* Style the navigation */
.navbar {
  background-color: #444;
  padding: 5px;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
}

/* Style the content */
.content {
  margin: 20px;
}

.card {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 10px;
  border-radius: 5px;
}

.card h2 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 10px;
}

.card a {
  display: inline-block;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 3px;
}

/* Style the search form */
.search {
  margin-bottom: 20px;
}

.search input[type="text"] {
  padding: 5px;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.search button {
  padding: 5px 10px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Style the pagination */
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.pagination a.active {
  background-color: #333;
  color: white;
  border: 1px solid #333;
}

.pagination a.disabled {
  pointer-events: none;
  color: #ccc;
  border: 1px solid #ccc;
}

/* Clear style */
/* Style for the certificate container */
#certificate-info-container {
  margin: 20px auto;
  padding: 20px;
  border: 2px solid #333;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  background-color: #fff;
}

/* Style for the certificate title */
#certificate-info-container h2 {
  color: #333;
  text-align: center;
}

/* Style for the certificate content */
#certificate-info {
  margin-top: 20px;
}

/* Style for the certificate details */
#certificate-info p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #031a4b;
}

/* Style for the download button */
#download-certificate-btn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #031a4b;
  font-size: 16px;
  cursor: pointer;
}

/* Hover effect for the download button */
#download-certificate-btn:hover {
  background-color: #0056b3;
}
p.dotted {
  text-align: center;
  border: 5px dotted #61b991;
}
p.dashed {
  text-align: center;
  border: 5px dashed #61b991;
}
p.solid {
  text-align: center;
  border: 5px solid #61b991;
}
p.double {
  text-align: center;
  border: 5px double #61b991;
}
p.groove {
  text-align: center;
  border: 5px groove #61b991;
}
p.ridge {
  text-align: center;
  border: 5px ridge #61b991;
}
p.inset {
  text-align: center;
  border: 5px inset #61b991;
}
p.outset {
  text-align: center;
  border: 5px outset #61b991;
}
p.none {
  border-style: none;
  text-align: center;
}
p.hidden {
  text-align: center;
  border-style: hidden;
}
p.mix {
  border-style: dotted dashed solid double;
  text-align: center;
  border-width: 5px;
  border-color: #61b991;
}
/* Override the styles to prevent overlay */
.gsc-modal-background-image {
  display: none !important;
}

.gsc-results-wrapper-overlay {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  box-shadow: none !important;
  padding: 0 !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: none !important;
  transition: none !important;
}
/* Ensure scrolling is enabled */
body {
  overflow: auto !important;
}

main {
  overflow-y: auto !important;
}

#registerBtn:disabled {
  cursor: not-allowed;
  opacity: 0.6; /* Optional: To make the button look visually disabled */
}

.status {
  color: #fff;
  font-size: 14px;
  font-weight: bolder;
  border-radius: 50px;
  padding: 10px 10px;
  background-color: #61b991;
}

/* Watch Style */
/* .container {
  display: flex;
} */
/* .sidebar {
  width: 30%;
  background-color: #f4f4f4;
  padding: 10px;
} */
.main-content {
  width: 70%;
  padding: 10px;
}
.course_and_progress {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-bottom: 2px solid #007bff;
  padding: 10px;
}
.modules {
  font-size: 2rem;
  font-weight: bold;
  color: #61b991;
  text-align: center;
  border-bottom: 2px solid #61b991;
}
iframe {
  width: 100%;
  height: 500px;
}
.completed {
  color: green;
}
.current-topic {
  font-weight: bold;
  color: blue;
}
.module-title {
  cursor: pointer;
  font-weight: bold;
  padding: 5px;
  margin-top: 10px;
}
.topic-list {
  list-style-type: none;
  display: none;
}
.topic-list li {
  margin: 10px 0;
  padding: 10px 0;
  background-color: #031a4b;
}
.register:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.progress {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.progress-bar {
  width: 100%;
  background-color: #e4e4e4;
}
.progress-fill {
  height: 20px;
  background-color: #76c7c0;
  text-align: center;
  color: white;
  line-height: 20px; /* Center text vertically */
}
.circular-progress-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  position: relative;
}

.circular-progress {
  transform: rotate(-90deg); /* Start from the top */
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke: #76c7c0;
  transition: stroke-dasharray 0.3s ease;
}

.percentage-text {
  fill: #333;
  font-size: 5px; /* Adjusted for better scaling */
  color: #007bff;
  font-weight: bold;
  text-anchor: middle; /* Centers text horizontally */
  dominant-baseline: middle; /* Centers text vertically */
}

/* Flash Message */
.alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.alert-success {
  background-color: #4caf50; /* Green for success */
  color: white;
}

.alert-danger {
  background-color: #f44336; /* Red for error */
  color: white;
}

/* Fade-out effect */
.flash-message.hidden {
  opacity: 0;
}
