#color-search{
    background: none;
    border-radius: 6px;
}
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.color-grid-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f2f2f2;
}

.color-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.color-swatch {
    width: 100%;
    height: 120px;
}

.color-info {
    padding: 15px;
}

.dmc-id {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 4px;
}

.dmc-name {
    margin-bottom: 4px;
    font-size: 11pt;
}

.official-name {
    color: #666;
    font-size: 0.9em;
}

.color-grid-search {
    margin-bottom: 20px;
    position: relative;
}

.color-grid-search input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.color-grid-search input:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-grid-pagination {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    gap: 4px;
}

.color-grid-pagination a {
    display: flex;
    width: 42px;
    height: 42px;
    font-size: 10pt;
    font-weight: 800;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.color-grid-pagination a:hover {
    background: #f5f5f5;
}

.color-grid-pagination .current {
    background: #333;
    color: white;
    display: flex;
    width: 42px;
    height: 42px;
    font-size: 10pt;
    font-weight: 800;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}