.dialog-type8 {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; /* Smaller width */
    min-width: 400px;
    min-height: 600px; /* Taller height */
    max-height: 650px;
    overflow: hidden;
    z-index: 1000;
    position: fixed;
  }
  
  .dialog-type8 .message-container {
    font-size: 16px;
    color: #333;
    text-align: center;
  }
  
  /* Responsive adjustments 
  @media (min-width: 1366px) {
    .dialog-type8 {
      max-width: 450px;
      min-height: 600px;
    }
  }
  
  @media (min-width: 1920px) {
    .dialog-type8 {
      max-width: 500px;
      min-height: 650px;
    }
  }