body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 20px;
}

.container {
  background-color: #ffffff;
  max-width: 900px;
  margin: 25px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  text-align: center;
}

.logo {
  margin-bottom: 10px;
}

.logo img {
  border-radius: 8px;
}

h1 {
  margin: 10px 0 5px;
  font-size: 28px;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 25px;
  color: #666;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.form-group small {
  display: block;
  margin-top: 3px;
  color: #999;
  font-size: 12px;
}

.inline-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-inputs .field {
  flex: 1 1 160px;
  min-width: 0;
}

input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input[type="color"] {
  width: 100%;
  height: 269px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 25px;
}

button {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #88B0DC;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

button:hover {
  background-color: #6d96c2;
}

button:active {
  transform: scale(0.98);
}

.orange-btn {
  background-color: #e6a564;
}

.orange-btn:hover {
  background-color: #d3944f;
}

.ghost-btn {
  background-color: #E1A8A8;
  color: white;
  border: 1px solid #ddd;
}

.ghost-btn:hover {
  background-color: #BC8A8A;
}

.copy-status {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  color: #4caf50;
  opacity: 0;
  transition: opacity 0.2s;
}

.copy-status.visible {
  opacity: 1;
}

.color-preview-wrapper {
  margin-top: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.color-preview {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.color-preview-text {
  font-size: 20px;
  font-weight: 600;
}

.preview-meta {
  padding: 8px 12px;
  background-color: #fafafa;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #666;
  text-align: left;
}

.error-message {
  margin-top: 4px;
  font-size: 12px;
  color: #c0392b;
  min-height: 16px;
}

.history {
  margin-top: 20px;
  text-align: left;
}

.history-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

.history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.history-swatch {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  box-sizing: border-box;
}

.history-swatch:hover {
  border-color: rgba(0,0,0,0.35);
}

.footer {
  text-align: center;
  font-size: 9px;
  color: #777;
  margin-top: 40px;
}

.footer a {
  color: #777;
  text-decoration: none;
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  h1 {
    font-size: 24px;
  }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("https://justinverstijnen.nl/wp-content/uploads/2026/01/Tool_Background_Blurred.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.69;
    z-index: -1;
}

body {
    position: relative;
    min-height: 100vh;
}

.container {
    background: rgba(255, 255, 255, 0.85);
}
