/* Hero Section */
.hero {
  color: white;
  text-align: center;
  position: relative;
  height: fit-content;
  width: 100%;
}

.hero img {
  width: 100%;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero button {
  background-color: #6a66ff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 15px 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero button:hover {
  background-color: #5a55e0;
}

.hero .hero-decoration {
  position: absolute;
  right: 15%;
  bottom: 20px;
  height: 150px;
}

/* Content Area */
.content-area {
  padding: 40px 0;
}

main .content-area .container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

/* Sidebar */
.sidebar {
  flex: 0 0 200px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px 0;
  padding-top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar ul li a {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  text-align: center;
}

.sidebar ul li.active {
  background: linear-gradient(to right top, rgb(0, 98, 230), rgb(51, 174, 255));
}

.sidebar ul li.active a {
  color: white;
}

/* Main Content */
.main-content {
  flex-grow: 1;
  padding: 10px 30px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

article {
  width: 100%;
}

article .tabs {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

article .tabs button {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
  margin-right: 10px;
  background-color: white;
}

article .tabs button.active {
  background: linear-gradient(to right top, rgb(0, 98, 230), rgb(51, 174, 255));
  color: white;
}

article .mock-tabs {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

article .mock-tabs button {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
  margin-right: 10px;
  background-color: white;
}

article .mock-tabs button.active {
  background: linear-gradient(to right top, #0062e6, rgb(51, 174, 255));
  color: white;
}

article .intro-tabs {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

article .intro-tabs button {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
  margin-right: 10px;
  background-color: white;
}

article .intro-tabs button.active {
  background: linear-gradient(to right top, #0062e6, rgb(51, 174, 255));
  color: white;
}

.main-content h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.main-content p {
  line-height: 1.8;
  font-size: 16px;
  text-indent: 2em;
  margin-bottom: 15px;
}

.main-content table p {
  text-indent: 0 !important;
}

.content {
    flex: 1;
}

details {
    background: #fff;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

summary {
    padding: 1rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.5rem;
    color: #343a40;
    background-color: #f1f3f5;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

details[open] summary {
    border-bottom: 1px solid #dee2e6;
}

details section {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f3f5;
}

details section:last-child {
    border-bottom: none;
}

h3, h4 {
    color: #495057;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
}

td p {
    margin: 0 !important;
}

thead {
    background-color: #e9ecef;
}


@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
    nav {
        flex: 1;
    }
}

.module-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.module-card .module-header {
  display: flex;
  align-items: center;
}
.module-card .module-header .module-indicator {
  width: 4px;
  height: 18px;
  background-color: #0062e6;
  margin-right: 8px;
}
.module-body {
  display: flex;
  align-items: center;
}
.module-actions {
  margin-left: 20px;
  display: flex;
  align-items: center;
}
.module-actions a {
  color: white;
  width: fit-content;
  height: 43px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin: 0 16px;
}

.btn-orange {
  background-color: #f99432;
}
.btn-green {
  background-color: rgb(68, 193, 48);
}
.btn-blue {
  background-color: rgb(28, 138, 219);
}

.module-card-keguanti {
  width: 180px;
  position: absolute;
  top: 190px;
  left: -230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
}
.module-card-keguanti h3 {
  margin-bottom: 0;
}