/* Base Styles - Common styles across the application */

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Common button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #5a67d8;
  color: white;
  border-color: #5a67d8;
}

.btn-primary:hover {
  background: #4c51bf;
  border-color: #4c51bf;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: #4a5568;
  border-color: #e2e8f0;
}

.btn-secondary:hover {
  background: #f7fafc;
  color: #2d3748;
  text-decoration: none;
}

/* Common form styles */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s;
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: #5a67d8;
  box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.form-control::placeholder {
  color: #a0aec0;
}

/* Common card styles */
.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e1e5e9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-header {
  padding: 24px 32px;
  border-bottom: 1px solid #e1e5e9;
  background: #fafbfc;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 8px 0;
}

.card-subtitle {
  font-size: 14px;
  color: #8b95a1;
  margin: 0;
}

.card-body {
  padding: 32px;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Color utilities */
.text-primary { color: #5a67d8; }
.text-secondary { color: #718096; }
.text-success { color: #48bb78; }
.text-danger { color: #f56565; }
.text-warning { color: #ed8936; }

.bg-primary { background-color: #5a67d8; }
.bg-secondary { background-color: #f7fafc; }
.bg-success { background-color: #c6f6d5; }
.bg-danger { background-color: #fed7d7; }
.bg-warning { background-color: #feebc8; }