/* ====== PROFIL ADMIN COMPLET ====== */
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.profile-meta .profile-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem;
}

.profile-meta .profile-role {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.profile-infos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.info-label {
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
}

.info-value {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.security-actions {
  display: flex;
  justify-content: flex-start;
}

.policy-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-link {
  background: none;
  border: none;
  color: #0ea5e9;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-size: 0.95rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.btn-link:hover {
  color: #0284c7;
}

.danger-zone {
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.danger-zone .card-title {
  color: #dc2626;
}

.danger-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.danger-help {
  font-size: 0.85rem;
  color: #991b1b;
  margin: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-body h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  color: #1e293b;
}

.modal-body p,
.modal-body li {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.modal-body ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

@media (max-width: 640px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-actions,
  .modal-footer {
    flex-direction: column;
  }
}