/* Palette Layout styling */
.interactive-palette-container {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Adjust to match your container's width if necessary */
    height: 250px;
    margin: 30px auto;
    border-radius: 16px;
    overflow: hidden; /* Clears the corners naturally without an explicit border */
}

.color-block {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: transform 0.2s ease, flex 0.2s ease;
}

/* Subtle feedback when hovering over a color stripe */
.color-block:hover {
    flex: 1.05;
}

.color-hex {
    pointer-events: none;
    opacity: 0.85;
}

/* Copy Confirmation Indicator Styling */
.copy-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Dark variant styling for dark blocks to keep the text readable */
.color-block[style*="background-color: #1A1A1A"] .copy-toast {
    background: rgba(255, 255, 255, 0.9);
    color: #1A1A1A;
}

.color-block.copied .copy-toast {
    opacity: 1;
}@charset "UTF-8";
/* CSS Document */

