/* Gaya untuk header dokumen */
.dokumen-header {
  background: linear-gradient(135deg, #4a148c, #6a1b9a);
  padding: 25px 0;
  color: white;
}

.dokumen-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.dokumen-title {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kemenkes-badge {
  background-color: #e53935;
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
  animation: pulse 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

.intro-text {
  text-align: center;
  margin: 25px 0 30px;
  color: #555;
}

.intro-text p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 15px;
}

.dokumen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dokumen-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.dokumen-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
  color: white;
  padding: 25px;
  position: relative;
}

.card-header i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.dokumen-title-card {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}

.card-body {
  padding: 25px;
}

.dokumen-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.dokumen-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  color: #777;
  font-size: 0.9rem;
}

.dokumen-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-dokumen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.btn-view {
  background-color: #2196f3;
  color: white;
}

.btn-download {
  background-color: #4caf50;
  color: white;
}

.btn-view:hover {
  background-color: #0d8aee;
  transform: translateY(-2px);
}

.btn-download:hover {
  background-color: #43a047;
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: #777;
}

.empty-state i {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #555;
}

.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .dokumen-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dokumen-title {
    font-size: 1.4rem;
  }

  .dokumen-grid {
    grid-template-columns: 1fr;
  }

  .dokumen-actions {
    flex-direction: column;
  }

  .btn-dokumen {
    width: 100%;
  }
}

