/* Dataset Page Styles - Redesigned */

/* Dataset Header */
.dataset-header {
  background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
  color: white;
  padding: 50px 0 35px;
}

.dataset-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dataset-header .lead {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Main Section */
.dataset-main {
  background: #f8f9fa;
}

/* Dataset Title Card */
.dataset-title-card {
  background: white;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #388E3C;
}

.dataset-main-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
  margin-bottom: 10px;
}

.dataset-main-title em {
  font-style: italic;
}

.dataset-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Files Card */
.files-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.files-card h4 {
  color: #2E7D32;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E8F5E9;
}

/* Files Table */
.files-table thead th {
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  color: #495057;
  font-size: 0.85rem;
  padding: 10px 12px;
}

.files-table tbody td {
  vertical-align: middle;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.files-table tbody tr:hover {
  background-color: #E8F5E9;
}

/* Access Button */
.btn-access {
  background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-access:hover {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Funding Banner */
.funding-banner {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: 8px;
  padding: 12px 20px;
  color: #2E7D32;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Publications Section */
.publications-section {
  background: white;
}

.section-heading {
  color: #2E7D32;
  font-weight: 600;
  font-size: 1.3rem;
}

.publication-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid #388E3C;
  transition: all 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.publication-type {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.publication-title {
  color: #212529;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.publication-authors {
  color: #6c757d;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

/* Citation Section */
.citation-section {
  background: #f8f9fa;
}

.citation-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #388E3C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.citation-label {
  font-weight: 600;
  color: #2E7D32;
  font-size: 0.9rem;
}

.citation-text {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.6;
  word-break: break-word;
}

.citation-bibtex {
  background: #2d2d2d;
  color: #4CAF50;
  padding: 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
}

.copy-btn {
  font-size: 0.8rem;
  padding: 4px 12px;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
}

/* Footer */
.footer {
  background-color: #2d2d2d;
  color: white;
  padding: 30px 0 15px;
  margin-top: 0;
}

.footer i {
  margin-bottom: 10px;
  color: #388E3C;
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #4CAF50 !important;
}

/* Responsive */
@media (max-width: 767.98px) {
  .dataset-header {
    padding: 40px 0 30px;
  }
  
  .dataset-header h1 {
    font-size: 1.8rem;
  }
  
  .dataset-main-title {
    font-size: 1.2rem;
  }
  
  .dataset-title-card,
  .files-card {
    padding: 20px;
  }
  
  .btn-access {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .btn-outline-success {
    display: block;
    width: 100%;
    margin-left: 0 !important;
  }
  
  .funding-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .publication-card {
    padding: 15px;
  }
  
  .publication-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .dataset-header h1 {
    font-size: 1.6rem;
  }
  
  .files-table {
    font-size: 0.8rem;
  }
}