/* Common styles for all pages */

/* Base button styles */
button {
  cursor: pointer;
  padding: 6px 12px;
  background: #1976d2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

button:hover {
  background: #1565c0;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

button:active {
  transform: translateY(1px);
}

/* Input styles */
input, select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

input:focus, select:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

/* Common page wrapper */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Utility classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.bg-white { background: white; }
.rounded { border-radius: 6px; }
.shadow { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* Loading and error states */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}

.error {
  color: #d32f2f;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
}

.success {
  color: #2e7d32;
  background: #e8f5e8;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
}
