/* ==========================================================================
   PENGESAHAN & CEK PLAGIARISME - DEDICATED STYLESHEET
   Institut Kesehatan Karsa Husada Garut
   ========================================================================== */

.plagiarism-section {
  padding: 4.5rem 0 5.5rem;
  background-color: var(--bg-body, #f8fafc);
  min-height: 60vh;
}

.plagiarism-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .plagiarism-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Left Column Styling */
.turnitin-spec-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.turnitin-spec-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.threshold-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.threshold-item {
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.threshold-label {
  font-weight: 700;
  color: var(--text-main, #0f172a);
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.threshold-desc {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
}

.threshold-badge {
  font-size: 1.125rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.guidelines-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-body, #475569);
  padding: 0;
  margin: 0;
  list-style: none;
}

.guidelines-list li {
  display: flex;
  gap: 0.65rem;
  line-height: 1.55;
}

.guidelines-list code {
  background: #f1f5f9;
  color: #09a89e;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8125rem;
}

.bullet-dot {
  color: var(--primary, #09a89e);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* Right Column: Links Cards */
.links-header-box {
  margin-bottom: 1.5rem;
}

.links-header-box .form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.35rem;
}

.links-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ext-link-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ext-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(9, 168, 158, 0.12);
  border-color: var(--primary, #09a89e);
}

.ext-link-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ext-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0fdfa;
  color: #09a89e;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccfbf1;
}

.ext-link-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.ext-link-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.ext-link-desc {
  font-size: 0.875rem;
  color: var(--text-body, #475569);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.ext-link-action {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle, #f1f5f9);
}

.ext-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, #09a89e 0%, #078f86 100%);
  color: #ffffff;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(9, 168, 158, 0.2);
}

.ext-link-btn:hover {
  background: linear-gradient(135deg, #078f86 0%, #056e67 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(9, 168, 158, 0.3);
}

.ext-link-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}
