dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

dialog {
    border: none;
    border-radius: 10px;
    width: auto;
    max-width: 500px;
    padding: 0;
    position: fixed;
    box-sizing: border-box;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    max-width: 100%;
    box-sizing: border-box;
}

.modal-body .input-box {
    display: flex;
    flex-direction: column;
}

.modal-body .input-box label {
    font-size: 15px;
    font-weight: 700;    
}

.modal-body .input-box input {
    border: none;
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    width: 100%;
}

.modal-body #whatsapp-button {
    background-color: #26d367;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.modal-body #whatsapp-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.modal-body .error {
    color: #dc2626;
    font-size: 13px;
    max-width: 700px;
}

.modal-body .success {
    color: #406c5b;
    font-size: 13px;
    margin-top: -5px;
    max-width: 500px;
}

/* Ajuste para telas pequenas*/
@media (max-width: 600px) {
  dialog {
    width: 95vw;
    max-height: 95vh;
  }

  .modal-body {
    width: 100%;
    height: auto;
    max-width: 500px;
  }

  .modal-body .input-box {
    width: 100%;
  }
}