/* Lei ID Page Styles - Detail View */
:root {
  --primary-color-dim: rgba(var(--primary-color-rgb), 0.1);
  --card-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

body {
  background-color: #f7fafc;
}

.lei-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Page Header */
.page-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-content p {
  color: #718096;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.btn-back {
  background: white;
  color: #718096;
  border: 1px solid #cbd5e0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-back:hover {
  background: #edf2f7;
  color: #2d3748;
}

.detail-card {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  border: 1px solid #edf2f7;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #718096;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.description-box {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.description-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  text-align: justify;
}

/* File Download Section */
.file-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition);
}

.file-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e0;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.file-icon {
  font-size: 2rem;
  color: #e53e3e; /* PDF Red */
}

.file-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1rem;
}

.btn-download {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-download:hover {
  filter: brightness(110%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .file-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-download {
    width: 100%;
    justify-content: center;
  }
}
