/* Basis font og layout */
.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="text"],
.dmm-ads-form input[type="email"],
.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 input[type="checkbox"] {
  margin-right: 5px;
}

.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;
}

.dmm-ads-form small {
  color: #666;
}

/* Error message styling */
.dmm-error {
  color: #d00;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Google Ad preview styling */
.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-label {
  font-size: 12px;
  color: #5f6368;
  display: block;
  margin-bottom: 4px;
}

.google-ad-preview .ad-headline {
  font-size: 18px;
  font-weight: normal;
  color: #1a0dab;
  text-decoration: none;
  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;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
