.dmm-ads-form {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.dmm-ads-form p { margin-bottom: 15px; }
.dmm-ads-form label { font-size: 14px; color: #333; }
.dmm-ads-form input[type="url"] {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.dmm-ads-form button {
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
}
.dmm-ads-form button:hover { background-color: #004c99; }
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.google-ad-preview {
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 15px;
  margin-top: 20px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}
.google-ad-preview .ad-headline {
  font-size: 16px;
  font-weight: bold;
  color: #1a0dab;
  margin-bottom: 2px;
}
.google-ad-preview .ad-url {
  font-size: 14px;
  color: #006621;
  margin-bottom: 4px;
}
.google-ad-preview .ad-description {
  font-size: 14px;
  color: #4d5156;
  line-height: 1.4;
}

.dmm-ads-form button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.dmm-ads-form button:hover:not(:disabled) {
  background-color: #004c99;
}
