/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    padding: 20px;
  }
  
  .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    color: #ff6f61;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  p {
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  
  label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
  }
  
  input, textarea, select {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
  }
  
  button {
    background-color: #ff6f61;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #ff4d3b;
  }
  
  .results {
    margin-top: 2rem;
  }
  
  .hidden {
    display: none;
  }
  
  #adCopies {
    width: 100%;
    min-height: 100px;
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    white-space: pre-line; /* Mempertahankan pemformatan baris baru */
    overflow-y: auto;
  }
  
  #adCopies p {
    margin-bottom: 0.5rem;
    text-align: left;
  }

  /* styles.css */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    color: #ff6f61;
  }
  
  .loading.hidden {
    display: none;
  }
  
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #ff6f61;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  /* styles.css */
.demo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.demo-overlay.hidden {
  display: none;
}

.demo-overlay h2 {
  margin: 0 0 10px;
  color: #333;
}

.demo-overlay p {
  margin: 0;
  color: #666;
}