* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
  padding: 20px;
  background: #f5f5f5;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1 {
  margin-bottom: 20px;
}
.auth-section {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}
input[type="password"] {
  padding: 8px;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 10px;
}
button {
  padding: 8px 16px;
  background: #0366d6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
button:hover {
  background: #0256c2;
}
button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.actions {
  margin: 20px 0;
  display: flex;
  gap: 10px;
}
.queue-info {
  margin: 20px 0;
  padding: 10px;
  background: #e8f4f8;
  border-radius: 4px;
}
.email-list {
  margin-top: 20px;
}
.email-item {
  padding: 8px 12px;
  margin: 4px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-item input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}
.email-item-content {
  flex: 1;
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 14px;
}
.email-item-content > span {
  min-width: 0;
}
.email-to {
  font-weight: 500;
  min-width: 200px;
}
.email-from {
  color: #666;
  min-width: 200px;
}
.email-subject {
  flex: 1;
}
.email-time {
  color: #999;
  font-size: 12px;
  min-width: 150px;
}
.select-all {
  margin-bottom: 10px;
  padding: 8px;
  background: #f0f0f0;
  border-radius: 4px;
}
.select-all label {
  cursor: pointer;
  font-weight: 500;
}
.status {
  margin: 10px 0;
  padding: 10px;
  border-radius: 4px;
}
.status.success {
  background: #d4edda;
  color: #155724;
}
.status.error {
  background: #f8d7da;
  color: #721c24;
}
.status.info {
  background: #d1ecf1;
  color: #0c5460;
}
.user-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
}
.user-info span {
  font-weight: 500;
}
.health-check {
  margin-bottom: 20px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
}
.health-check strong {
  margin-right: 10px;
}
.add-email-form {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}
.add-email-form h3 {
  margin-bottom: 15px;
}
.form-group {
  margin-bottom: 10px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.form-group textarea {
  min-height: 80px;
  resize: vertical;
}
button.secondary {
  background: #6c757d;
}
button.secondary:hover {
  background: #5a6268;
}
.endpoints-section {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}
.endpoints-section h2 {
  margin-bottom: 10px;
  font-size: 18px;
}
.endpoints-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.endpoints-section table th {
  padding: 8px;
  text-align: left;
  background: #f5f5f5;
  border-bottom: 2px solid #ddd;
  font-weight: 600;
}
.endpoints-section table td {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}
.endpoints-section table tr:hover {
  background: #fafafa;
}
