/*
 * Kleurkiezer (Coloris) in de huisstijl: kleurstaal links in het veld,
 * hexcode ernaast, popup met ronde hoeken en zachte schaduw.
 * Hand geschreven (geen scss) zodat style.css niet opnieuw gebouwd hoeft.
 */
.clr-field { display: block; position: relative; color: transparent; }
.input-group > .clr-field { flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group > .clr-field:not(:last-child) > input.gwColor { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .clr-field:not(:first-child) > input.gwColor { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

input.gwColor {
    width: 100%;
    min-width: 120px;
    padding-left: 46px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    text-transform: uppercase;
    color: #26303b;
}
input.gwColor:disabled { color: #9aa2ad; }

.clr-field button {
    left: 8px;
    right: auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(38, 48, 59, .15);
    overflow: hidden;
    cursor: pointer;
}
.clr-field button:after { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(38, 48, 59, .15); }
input.gwColor:disabled + button,
.clr-field button:disabled { opacity: .35; cursor: not-allowed; }
.clr-field input.gwColor:disabled ~ button { pointer-events: none; }

.clr-picker {
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(58, 70, 84, .18), 0 0 0 1px rgba(58, 70, 84, .06);
    z-index: 2000;
}
.clr-picker.clr-large { width: 300px; }
.clr-gradient { border-radius: 12px 12px 0 0; }
.clr-picker .clr-swatches button { border-radius: 8px; }
.clr-picker .clr-swatches button:after { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(38, 48, 59, .12); }
.clr-picker #clr-color-value {
    border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-transform: uppercase;
}
.clr-picker .clr-close {
    border-radius: 10px;
    background: #ff7ba0;
    color: #fff;
    font-weight: 600;
    padding: 0 16px;
}
.clr-picker .clr-close:hover { background: #ff5c8a; }
.clr-picker .clr-marker, .clr-picker .clr-hue div { box-shadow: 0 0 0 1px rgba(38, 48, 59, .3); }
