
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 14px;
}

.info-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-card p {
  margin: 0;
  line-height: 1.5;
}

.raw-link {
  color: #004080;
  font-weight: 700;
}

/* ===== File Browser ===== */
.breadcrumb {
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  color: #555;
}

.bc-link {
  color: #007DB8;
  cursor: pointer;
  font-weight: 600;
}

.bc-link:hover { text-decoration: underline; }

.browser-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.file-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.file-table thead th {
  background: #f0f4f8;
  padding: 10px 16px;
  text-align: left;
  color: #004080;
  font-weight: 700;
  border-bottom: 2px solid #d9e5f0;
}

.file-table tbody tr:hover { background: #f5faff; }

.file-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.file-table td:nth-child(2),
.file-table th:nth-child(2),
.file-table td:last-child,
.file-table th:last-child {
  white-space: nowrap;
}

.file-table th:last-child,
.file-table td:last-child { text-align: right; }

.file-table a { color: #007DB8; text-decoration: none; }
.file-table a:hover { text-decoration: underline; }

.row-folder td:first-child { font-weight: 600; color: #004080; }

.status-msg {
  padding: 24px;
  text-align: center;
  color: #666;
}

.status-error { color: #c0392b; font-weight: 600; }

@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-text h1 { font-size: 20px; }

  /* hide Last Modified column on small screens */
  .file-table th:nth-child(2),
  .file-table td:nth-child(2) { display: none; }
}