﻿:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #2563eb;
    --radius: 12px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}


.card {
    background: var(--card);

    margin: 0 auto;
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(22,28,45,0.08);
}

h1 {
    margin: 0 0 14px;
    font-size: 20px
}

p.lead {
    color: var(--muted);
    margin: 0 0 22px
}


form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px
}

label {
    font-size: 13px;
    color: var(--muted);
    display: block;
    margin-bottom: 6px
}

.row {
    display: flex;
    gap: 12px;
    align-items: center
}


input[type="text"], input[type="hidden"] {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e6e9ef;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box
}

.color-box {
    width: 64px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -6px 12px rgba(0,0,0,0.03)
}

.color-label {
    font-size: 13px;
    color: var(--muted)
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600
}

    button.ghost {
        background: transparent;
        color: var(--accent);
        border: 1px solid #dbeafe
    }

.help {
    font-size: 12px;
    color: #475569
}


/* responsive */
@media (max-width:520px) {
    .row {
        flex-direction: column;
        align-items: stretch
    }

    .color-box {
        width: 100%;
        height: 48px
    }
}
