/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 2rem;
    padding: 0;
}
.color-swatch {
    border-radius: 12px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    padding: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.scheme-container {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.scheme-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
}
.swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.swatch-label { text-align: center; font-size: 12px; }

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: #222;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

button {
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hidden {
    display: none;
}
textarea {
  width: 100%;
  height: 200px;
  font-family: monospace;
}
pre {
  background: #f5f5f5;
  padding: 1rem;
  white-space: pre-wrap;
}