/* assets/css/profesionales.css */

.prof-layout {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px 32px;
}

.prof-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
}

.prof-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
}

.prof-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
}

.prof-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #2563eb;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.prof-actions a:hover {
  background: #2563eb;
  color: #ffffff;
}

/* Filtros */
.prof-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.prof-filters input,
.prof-filters select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

/* Cards */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.prof-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prof-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.prof-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #e5e7eb;
  flex-shrink: 0;
  object-fit: cover;
}

.prof-card-title {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
}

.prof-card-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.prof-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prof-pill {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e5f0ff;
  color: #1d4ed8;
}

.prof-desc {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.3;
  max-height: 3.2em;
  overflow: hidden;
}

.prof-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.prof-rate {
  font-size: 0.85rem;
  color: #111827;
}

.prof-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #2563eb;
  font-size: 0.8rem;
  color: #2563eb;
  text-decoration: none;
}

.prof-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

/* Perfil */

.prof-profile {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 16px 32px;
}

.prof-profile-head {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.prof-profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: #e5e7eb;
  object-fit: cover;
}

.prof-profile-main h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.prof-profile-main .meta {
  font-size: 0.9rem;
  color: #6b7280;
}

.prof-profile-main .tags {
  margin-top: 10px;
}

/* Registro */
.prof-form-wrap {
  max-width: 700px;
  margin: 24px auto;
  padding: 20px 18px 28px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
}

.prof-form-wrap h1 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.prof-form-wrap p {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 0.9rem;
}

.prof-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.prof-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.prof-form-group label {
  color: #374151;
}

.prof-form-group input,
.prof-form-group textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.prof-form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.prof-form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.prof-form-submit {
  border: none;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  padding: 8px 18px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .prof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .prof-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prof-grid {
    grid-template-columns: 1fr;
  }

  .prof-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .prof-profile-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
