/* Extracted component styles from index.html inline <style> */

/* OAuth buttons and divider */
.oauth-buttons { margin-bottom: 20px; }
.btn-oauth {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}
.btn-oauth:hover { background: #f5f5f5; }
.btn-google { color: #4285f4; }
.btn-github { color: #333; }

.divider { text-align: center; margin: 20px 0; position: relative; }
.divider span { background: white; padding: 0 10px; color: #999; position: relative; }
.divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px; background: #ddd; z-index: -1;
}

/* Token display and lists */
.token-display { margin: 20px 0; padding: 15px; background: #f8f9fa; border-radius: 4px; }
.token-value { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; background: white; border: 1px solid #ddd; border-radius: 4px; }
.token-value code { flex: 1; word-break: break-all; }
.tokens-list { margin-top: 30px; }
.token-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; margin-bottom: 10px; background: #f8f9fa; border-radius: 4px; }

/* Alerts */
.alert { padding: 10px; margin-bottom: 10px; border-radius: 4px; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }

/* Loading spinner */
.loading {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #007bff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Form help */
.form-help { display: block; margin-top: 5px; color: #6c757d; font-size: 12px; }

/* Admin Invite Codes */
.invite-codes-list { margin-top: 30px; }
.invite-code-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; margin-bottom: 10px; background: #f8f9fa; border-radius: 4px; border: 1px solid #dee2e6; }
.invite-code-info { flex: 1; }
.invite-code-value { font-size: 18px; font-family: monospace; color: #007bff; }
.invite-code-details { margin-top: 5px; }
.invite-code-details small { display: inline-block; margin-right: 15px; color: #6c757d; }
.invite-code-details .status { padding: 2px 6px; border-radius: 3px; font-weight: bold; text-transform: uppercase; font-size: 10px; }
.invite-code-details .status.active { background-color: #d4edda; color: #155724; }
.invite-code-details .status.inactive { background-color: #f8d7da; color: #721c24; }
.invite-code-actions { display: flex; gap: 5px; }
.invite-form { padding: 20px; background: #f8f9fa; border-radius: 4px; margin-bottom: 20px; }
.invite-form .form-group { margin-bottom: 15px; }
.text-danger { color: #dc3545; }
.text-muted { color: #6c757d; }
.btn-warning { background-color: #ffc107; border-color: #ffc107; color: #212529; }
.btn-warning:hover { background-color: #e0a800; border-color: #d39e00; }

/* MCP Setup Section in Tokens Modal */
.mcp-setup-section { margin-bottom: 30px; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #dee2e6; }
.mcp-setup-section h4 { margin: 0 0 15px 0; color: #2c3e50; font-size: 18px; }
.mcp-setup-section .config-box { background: white; border: 1px solid #ddd; border-radius: 4px; position: relative; margin: 15px 0; }
.mcp-setup-section .config-box pre { margin: 0; padding: 15px; font-family: 'Monaco','Menlo','Ubuntu Mono', monospace; font-size: 13px; line-height: 1.4; overflow-x: auto; }
.mcp-setup-section .config-box code { background: transparent; padding: 0; }
.mcp-setup-section .copy-btn { position: absolute; top: 10px; right: 10px; background: #007bff; color: white; border: none; padding: 6px 10px; border-radius: 3px; cursor: pointer; font-size: 11px; transition: background-color 0.3s ease; }
.mcp-setup-section .copy-btn:hover { background: #0056b3; }
.mcp-setup-section .config-note { font-size: 13px; color: #666; margin: 10px 0 0 0; }
.config-subsection { margin-bottom: 20px; }
.config-subsection h5 { margin: 0 0 10px 0; font-size: 14px; color: #495057; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.config-subsection h5 i { font-size: 13px; }

