/* DashboardPage.css - Modern & Clean Font Pairing */

.dashboard-container {
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--background-secondary);
}

.dashboard-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600; /* Semi-bold for titles */
  font-family: var(--font-ui); /* Use Inter for UI */
  color: var(--text-primary);
}

.dashboard-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-user-info span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dashboard-logout-button {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
  border: 1px solid var(--accent-primary);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500; /* Medium weight for buttons */
  font-family: var(--font-ui); /* Use Inter for UI */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dashboard-logout-button:hover {
  background-color: var(--accent-primary-hover);
}

.dashboard-main {
  padding: 1rem;
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-main h3 {
  font-size: 1.3rem;
  font-weight: 600; /* Semi-bold for headings */
  font-family: var(--font-ui); /* Use Inter for UI */
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dashboard-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
}

.dashboard-form input {
  width: 300px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-ui); /* Use Inter for UI */
  font-size: 0.9rem;
}

.dashboard-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-highlight-soft);
}

.dashboard-form button {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
  border: 1px solid var(--accent-primary);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500; /* Medium weight for buttons */
  font-family: var(--font-ui); /* Use Inter for UI */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dashboard-form button:hover:not(:disabled) {
  background-color: var(--accent-primary-hover);
}

.dashboard-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard-error {
  color: #dc3545;
  margin-top: 10px;
  font-size: 0.9rem;
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-content {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.dashboard-repos-section {
  flex: 1;
}

.dashboard-files-section {
  flex: 2;
  border-left: 1px solid var(--border-color);
  padding-left: 2rem;
}

.dashboard-section-title {
  font-size: 1.1rem;
  font-weight: 600; /* Semi-bold for section titles */
  font-family: var(--font-ui); /* Use Inter for UI */
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dashboard-repo-item {
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 5px;
  border-radius: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-repo-item:hover {
  border-color: var(--accent-primary);
  background-color: var(--accent-highlight-soft);
}

.dashboard-repo-item.selected {
  border: 2px solid var(--accent-primary);
  background-color: var(--accent-highlight-soft);
}

.dashboard-repo-item strong {
  font-weight: 600; /* Semi-bold for repo names */
  color: var(--text-primary);
}

.dashboard-file-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-file-item:last-child {
  border-bottom: none;
}

.dashboard-file-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-file-link:hover {
  text-decoration: underline;
}

.dashboard-share-button {
  background-color: var(--accent-highlight-soft);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 500; /* Medium weight for buttons */
  font-family: var(--font-ui); /* Use Inter for UI */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dashboard-share-button:hover {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
}

.dashboard-loading {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-ui); /* Use Inter for UI */
}

.dashboard-empty-state {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-ui); /* Use Inter for UI */
} 