/* OAuth Authorization Consent Screen */
.oauth-consent {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.oauth-consent__header h2 {
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.oauth-consent__client-info {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-background);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.oauth-consent__client-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 600;
}

.oauth-consent__client-info p {
  margin: 0 0 1rem 0;
  color: var(--color-text-secondary);
}

.oauth-consent__scopes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oauth-consent__scopes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--color-text);
}

.oauth-consent__scopes .icon {
  color: var(--color-success);
  flex-shrink: 0;
}

.oauth-consent__actions {
  margin-bottom: 1.5rem;
}

.oauth-consent__form {
  margin: 0;
}

.oauth-consent__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.oauth-consent__authorize,
.oauth-consent__deny {
  min-width: 120px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.oauth-consent__authorize {
  background: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
}

.oauth-consent__authorize:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.oauth-consent__deny {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.oauth-consent__deny:hover {
  background: var(--color-background);
  border-color: var(--color-text-secondary);
}

.oauth-consent__footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.oauth-consent__disclaimer {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Icon styles */
.icon-check::before {
  content: "✓";
  font-weight: bold;
}

/* OAuth Layout Styles */
.oauth-layout {
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.oauth-layout__container {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.oauth-layout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.oauth-layout__brand {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.oauth-layout__theme-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.oauth-layout__theme-toggle:hover {
  background: var(--color-background);
  border-color: var(--color-text-secondary);
}

.oauth-layout__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: calc(100vh - 140px); /* Account for header and footer */
}

.oauth-layout__footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
}

.oauth-layout__footer-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* OAuth Consent Adjustments for New Layout */
.oauth-layout .oauth-consent {
  margin: 0;
  width: 100%;
  max-width: 500px;
}