/* ==========================================================================
   PENGUMPULAN KTI & SKRIPSI - DEDICATED STYLESHEET
   Institut Kesehatan Karsa Husada Garut
   ========================================================================== */

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

.step-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-flow-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  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;
}

.step-flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(7, 143, 134, 0.12);
  border-color: var(--primary, #078f86);
}

.step-num-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #09a89e 0%, #078f86 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 8px rgba(7, 143, 134, 0.25);
}

.step-flow-card h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.5rem;
}

.step-flow-card p {
  font-size: 0.875rem;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin: 0;
}

/* External Links Section */
.kti-links-section {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.kti-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .kti-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kti-links-grid {
    grid-template-columns: 1fr;
  }
}

.kti-link-card {
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.kti-link-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(7, 143, 134, 0.12);
  border-color: var(--primary, #078f86);
}

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

.kti-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary, #078f86);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccfbf1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

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

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

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

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

.kti-btn-main {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  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(7, 143, 134, 0.2);
}

.kti-btn-main:hover {
  background: linear-gradient(135deg, #078f86 0%, #056e67 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 143, 134, 0.3);
}

.kti-empty-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
}

/* Format File Table Box */
.format-box {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1024px) {
  .step-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .step-flow-grid {
    grid-template-columns: 1fr;
  }
  .kti-links-section, .format-box {
    padding: 2rem 1.5rem;
  }
}
