/* Main container styling */
#password-gate-container {
    margin: 40px auto;
    text-align: center;
    border: none;
    padding: 0;
    width: 90%;
}

/* Style for the "Protected Area" heading */
#password-gate-container h3 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Style for the descriptive paragraph */
#password-gate-container p {
    font-size: 1.1em;
    color: #6c757d;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#password-gate-container input[type="password"] {
    width: 280px;
    padding: 12px 15px;
    font-size: 1em;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
}

#password-gate-container button {
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 500;
    color: white;
    background-color: #0d6efd; 
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

#password-gate-container button:hover {
    background-color: #0b5ed7;
}

#protected-content {
    margin: 40px auto;
    text-align: center;
    border: none;
    padding: 0;
}

/* ------------ Download Section ------------ */
/* Basic styling for the container and cards */
.downloads-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--pst-color-text-base);
  padding-top: 1rem;
  width: 90%;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--pst-color-border);
  border-radius: 8px;
  background-color: var(--pst-color-background);
  text-align: left;
}
html[data-theme="dark"] .download-card {
  background-color: var(--pst-color-surface);
}

/* Styling for the card header (icon and title) */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-header .icon {
  font-size: 1.1rem;
  color: #f39c12;
  background-color: #fef5e7;
  padding: 0.5rem;
  border-radius: 6px;
  line-height: 1;
}

.card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Styling for the list of download items */
.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.download-list li {
  margin-bottom: 1rem;
}

.download-list a {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
}

.download-list a:hover {
  text-decoration: underline;
}

.download-list .description,
.download-list .metadata {
  font-size: 0.8rem;
  color: var(--pst-color-text-muted);
  font-style: italic;
}

.download-list .description {
  margin-top: 0.25rem;
  display: block;
}

.download-list .metadata {
  display: inline; 
  margin-left: 0.5rem;
}

html[data-theme="dark"] .download-list a {
  color: inherit;
}
