/*-----------------------------------------------
  UTILITY CLASSES
-----------------------------------------------*/

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Paddings */
.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Display */
.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

/* Flex utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* Width utilities */
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }

/* Border and shadow utilities */
.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.rounded { border-radius: 8px; }
.shadow-sm { box-shadow: 0 1px 3px var(--shadow-color); }
.shadow { box-shadow: 0 2px 8px var(--shadow-color); }
.shadow-lg { box-shadow: 0 4px 16px var(--shadow-color); }

/* Text styles */
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-small { font-size: 0.875rem; }
.text-large { font-size: 1.25rem; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent-color); }

/* Image utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Display utilities */
.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Icon utilities */
.icon-spacing {
  margin-right: 8px;
}

/* Info box utilities */
.info-box-accent {
  margin-bottom: 1.5rem;
  background-color: rgba(0, 102, 204, 0.08);
  border-left: 4px solid var(--accent-color);
}

.info-box-light {
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 102, 204, 0.05);
  border-radius: 8px;
}

/* Form utilities */
.form-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Button appearance utilities */
.btn-transparent {
  background: transparent;
  border: none;
  cursor: pointer;
}

.btn-icon-only {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Message/alert utilities */
.error-text {
  color: #ff3b30;
}

.success-text {
  color: #34c759;
}

.info-text {
  color: var(--accent-color);
}

/* List utilities */
.list-compact {
  margin: 0;
  padding-left: 20px;
} 