/* Modal base */
.gt-modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Contenido del modal */
.gt-modal__content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  position: relative;
  animation: fadeIn 0.3s ease;
  font-family: var(--gt-font-helvetica);
}

.gt-modal__content.center{
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.gt-modal__contenth2 {
  margin-top: 0;
}

.gt-modal__content label {
  display: block;
  margin-top: 10px;
}

.gt-modal__content input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.gt-modal__content button {
  width: 100%;
  margin-top: 15px;
}


.gt-modal__actions{
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap:20px;
}

/* Botón cerrar */
.gt-modal .close {
  position: absolute;
  right: 10px; top: 10px;
  font-size: 24px;
  cursor: pointer;
}


.gt-modal__content h2 {
  color: var(--gt-color-primary);
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0;
}

.gt-modal__content p {
  color: var(--gt-color-black);
  font-size: 16px;
  font-weight: 400;
}

.gt-modal__content .icon {
    font-size: 30px;
    font-weight: bold;
    color: var(--gt-color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gt-color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animación */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}