.mt {
  margin-top: 20px;
}
.adherent-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
}

.adherent-modal-container {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  animation: adherent-modal-slide-up 0.3s ease-out;
}

.adherent-modal-large {
  max-width: 900px;
}

@keyframes adherent-modal-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.adherent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.adherent-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.adherent-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1rem;
  color: #1f2937;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.adherent-modal-close-btn:hover {
  background-color: #e5e7eb;
  border-color: #9ca3af;
}

.adherent-modal-close-btn:active {
  transform: scale(0.95);
}

.adherent-modal-body {
  padding: 1.5rem;
}
.adherent-modal-body img {
  width: 100%;
  height: 30vh;
  object-fit: contain;
}

.adherent-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.adherent-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.adherent-info-section {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 8px;
}

.adherent-info-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.adherent-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.adherent-info-row:last-child {
  border-bottom: none;
}

.adherent-info-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.adherent-info-value {
  font-size: 0.875rem;
  color: #111827;
  font-weight: 600;
  text-align: right;
}

.adherent-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  min-height: 300px;
}

.adherent-form-group {
  margin-bottom: 1.25rem;
}

.adherent-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.adherent-form-label-required::after {
  content: " *";
  color: #ef4444;
}

.adherent-form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s;
  background: white;
}
input[type="checkbox"] {
  width: auto;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s;
  background: white;
}

.adherent-form-input:focus {
  outline: none;
  border-color: #2569a1;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.adherent-form-input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.adherent-photo-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.adherent-photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}

.adherent-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed #d1d5db;
}

.adherent-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.adherent-btn-primary {
  background: #2569a1;
  color: white;
}

.adherent-btn-primary:hover {
  background: #2563eb;
}

.adherent-btn-danger {
  background: #ef4444;
  color: white;
}

.adherent-btn-danger:hover {
  background: #dc2626;
}
.adherent-btn-success {
  background: #00a013;
  color: white;
}

.adherent-btn-success:hover {
  background: #00750c;
}

.adherent-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.adherent-btn-secondary:hover {
  background: #e5e7eb;
}

.adherent-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.adherent-delete-warning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.adherent-delete-warning-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #991b1b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.adherent-delete-warning-text {
  color: #7f1d1d;
  font-size: 0.875rem;
  margin: 0;
}

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

.adherent-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.adherent-icon-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.adherent-icon-btn-view {
  color: #2569a1;
}

.adherent-icon-btn-edit {
  color: #f59e0b;
}

.adherent-icon-btn-delete {
  color: #ef4444;
}
.adherent-icon-btn-get {
  color: darkgreen;
}

.adherent-icon-btn-delete:hover {
  background: #fef2f2;
  border-color: #fecaca;
}

@media (min-width: 768px) {
  .adherent-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adherent-modal-overlay {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .adherent-modal-container {
    max-height: 100vh;
    border-radius: 0;
  }

  .adherent-modal-header,
  .adherent-modal-body,
  .adherent-modal-footer {
    padding: 1rem;
  }

  .adherent-info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .adherent-info-value {
    text-align: left;
  }
}

/* ---------- */

.modal-placeholder {
  border: 2px dashed #d1d5db;
  background-color: #f9fafb;
  color: #9ca3af;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  max-width: 36rem;
}

.magContItem {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clickable-icon {
  cursor: pointer;
  display: flex;
  color: var(--primary-color);
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  transition: color 0.2s;
}

.clickable-icon:hover {
  color: var(--primary-color);
  opacity: 0.5;
}

.d-none {
  display: none;
}
.infoArticlePage {
  display: flex;
  text-align: center;
  flex-direction: column;
  width: 90%;
}
.infoArticlePage img {
  width: 100%;
  height: 20px;
  object-fit: contain;
}
.infoArticlePage span {
  font-weight: 700;
  font-size: 1rem;
}
.imgstats {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contcont p {
  font-size: 0.8rem;
}
