/**
 * @file
 * Styles for bibcite_reference default (full page) view mode
 * Two-column table layout with labels and values
 */

.bibcite-links ul li {
  margin: 0 0.5em
}

/* Container */
.bibcite-reference-full {
  margin: 2em 0;
}

/* Table styling */
.bibcite-details-table {
  width: 100%;
    table-layout: fixed;
  border-collapse: collapse;
  margin: 1em 0;
  background: #fff;
}

.bibcite-details-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.bibcite-details-table tbody tr:last-child {
  border-bottom: none;
}

/* Label column (left) */
.bibcite-details-table th {
  width: 20%;
  padding: 0.75em 1em;
  text-align: left;
  vertical-align: top;
  font-weight: 600;
  color: #333;
  background-color: #f5f5f5;
}

/* Value column (right) */
.bibcite-details-table td {
  padding: 0.75em 1em;
  vertical-align: top;
  color: #444;
  line-height: 1.6;
  overflow-x: auto;
  /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Author links */
.bibcite-details-table .authors-field a {
  color: inherit;
  text-decoration: none;
}

.bibcite-details-table .authors-field a:hover {
  text-decoration: underline;
}

/* Abstract field - allow text wrapping */
.bibcite-details-table .abstract-field {
  text-align: justify;
}

/* Links styling */
.bibcite-details-table td a {
  color: #e77919;
  text-decoration: none;
}

.bibcite-details-table td a:hover {
  text-decoration: underline;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .bibcite-details-table th,
  .bibcite-details-table td {
    display: block;
    width: 100%;
  }
  
  .bibcite-details-table th {
    padding-bottom: 0.25em;
    background-color: transparent;
    font-size: 0.9em;
  }
  
  .bibcite-details-table td {
    padding-top: 0.25em;
    padding-bottom: 1em;
  }
}
