/* Modal de Verificação de Médico */
.doctor-check-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 38, 72, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.doctor-check-modal.active {
  display: flex;
}

.doctor-check-content {
  background-color: var(--white);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 38, 72, 0.4);
  animation: modalSlideIn 0.3s ease-out;
  border: 2px solid var(--accent-color);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.doctor-check-header {
  background: var(--gradient);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doctor-check-header h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-family: var(--font-heading);
}

.doctor-check-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition);
}

.doctor-check-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.doctor-check-body {
  padding: 30px 20px;
  text-align: center;
}

.doctor-check-body p {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  line-height: 1.4;
  font-family: var(--font-subheading);
}

.doctor-check-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-doctor {
  padding: 15px 20px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-subheading);
  width: 100%;
}

.btn-doctor-yes {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--box-shadow);
}

.btn-doctor-yes:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 90, 140, 0.4);
}

.btn-doctor-no {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: var(--box-shadow);
}

.btn-doctor-no:hover {
  background-color: var(--light-accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 90, 140, 0.3);
}

/* Modal para Não Médicos */
.non-doctor-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 20, 24, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  backdrop-filter: blur(5px);
}

.non-doctor-modal.active {
  display: flex;
}

.non-doctor-content {
  background-color: var(--white);
  width: 90%;
  max-width: 500px;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(15, 38, 72, 0.4);
  animation: modalSlideIn 0.3s ease-out;
  border: 2px solid var(--accent-color);
}

.non-doctor-message {
  margin-bottom: 30px;
}

.non-doctor-text-primary {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: var(--font-subheading);
}

.non-doctor-text-secondary {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font-body);
}

.non-doctor-footer {
  border-top: 1px solid var(--accent-color);
  padding-top: 20px;
}

.non-doctor-copyright {
  color: var(--dark-gray);
  font-size: 14px;
  font-family: var(--font-body);
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .doctor-check-content {
    width: 95%;
    max-width: 350px;
  }

  .doctor-check-header {
    padding: 15px;
  }

  .doctor-check-header h3 {
    font-size: 14px;
  }

  .doctor-check-body {
    padding: 25px 15px;
  }

  .doctor-check-body p {
    font-size: 14px;
  }

  .btn-doctor {
    padding: 12px 15px;
    font-size: 14px;
  }

  .non-doctor-content {
    width: 95%;
    padding: 30px 20px;
  }

  .non-doctor-text-primary {
    font-size: 16px;
  }

  .non-doctor-text-secondary {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .doctor-check-content {
    width: 98%;
    max-width: 320px;
  }

  .doctor-check-header h3 {
    font-size: 13px;
  }

  .doctor-check-body p {
    font-size: 13px;
  }

  .btn-doctor {
    padding: 10px 12px;
    font-size: 13px;
  }

  .non-doctor-content {
    padding: 25px 15px;
  }

  .non-doctor-text-primary {
    font-size: 15px;
  }

  .non-doctor-text-secondary {
    font-size: 13px;
  }
}
