/* Metro UI Básico */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.container-fluid {
  width: 100%;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.cell-12 { width: 100%; padding: 0 15px; }
.cell-10 { width: 83.33%; padding: 0 15px; }
.cell-8 { width: 66.66%; padding: 0 15px; }
.cell-6 { width: 50%; padding: 0 15px; }

.p-4 { padding: 2rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

.text-leader {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #333;
}

.text-muted {
  color: #6c757d;
}

.d-flex {
  display: flex;
}

.flex-justify-between {
  justify-content: space-between;
}

.flex-align-center {
  align-items: center;
}

/* Botones */
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.button.primary {
  background-color: #0078d4;
  color: white;
}

.button.primary:hover {
  background-color: #106ebe;
}

.button.warning {
  background-color: #ff8c00;
  color: white;
}

.button.warning:hover {
  background-color: #e67e00;
}

.button.alert {
  background-color: #d13438;
  color: white;
}

.button.alert:hover {
  background-color: #b02a2e;
}

.button.info {
  background-color: #0078d4;
  color: white;
}

.button.info:hover {
  background-color: #106ebe;
}

.button.small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

/* Tabla */
.table-container {
  overflow-x: auto;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
}

.table.striped tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.table-border {
  border: 1px solid #dee2e6;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.25rem;
}

.tag.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.tag.alert {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Formularios */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #495057;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #0078d4;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, 0.25);
}

.form-actions {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Info Box */
.info-box {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Alertas */
.remark.alert {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.remark.alert h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.remark.alert ul {
  margin-bottom: 0;
}