/**
 * Bloques reutilizables (dashboard, tablas vacías, panel admin).
 */

.portal-lead {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.portal-placeholder {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 16px 20px;
  border-radius: 4px;
  margin-top: 16px;
  color: #856404;
}

.portal-info {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 15px;
  margin-top: 24px;
  border-radius: 4px;
}

.portal-info strong {
  color: #1976d2;
}

.dashboard-panel {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.dashboard-panel h3 {
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.dashboard-panel--exp h3 {
  border-bottom-color: #e74c3c;
}

.dashboard-panel--alq h3 {
  border-bottom-color: #3498db;
}

.dashboard-panel--srv h3 {
  border-bottom-color: #9b59b6;
}

.portal-table-wrap {
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.portal-table thead tr {
  background: #f8f9fa;
}

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

.portal-table th {
  border-bottom: 2px solid #dee2e6;
}

/* Panel admin — tarjetas (mismo criterio visual que original) */
.admin-section {
  margin-bottom: 50px;
}

.admin-section h3 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #667eea;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.admin-tile-link {
  text-decoration: none;
  display: block;
}

.admin-tile {
  color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
}

.admin-tile-link:hover .admin-tile {
  transform: translateY(-5px);
}

.admin-tile .emoji {
  font-size: 48px;
  margin-bottom: 15px;
}

.admin-tile h4 {
  margin: 0 0 10px 0;
  font-size: 24px;
}

.admin-tile p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.bg-auth {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-cat {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.bg-conf {
  background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
}

.bg-contr {
  background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}

.bg-alq {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.bg-srv {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.bg-cons {
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.bg-amen {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-exp {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.bg-contact {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bg-infoutil {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.bg-notif {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.bg-docs {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.bg-upload {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.bg-download {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.border-auth {
  border-bottom-color: #5c4d7a !important;
}

.border-conf {
  border-bottom-color: #667eea !important;
}

.border-inmo {
  border-bottom-color: #16a085 !important;
}

.border-adm {
  border-bottom-color: #e67e22 !important;
}

.border-gen {
  border-bottom-color: #e74c3c !important;
}

.border-back {
  border-bottom-color: #2ecc71 !important;
}
