﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&display=swap');

/* ====== Palette & Scope ====== */
body.client-app {
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --primary-blue: #3778c2;
    --primary-green: #56C045;
    --blue-ink: #1d2129;
    --text-muted: #69707d;
    --light-border: #e1e4e8;
    --card-bg: rgba(237,236,234,0.85);
    --card-shadow: 0 2px 6px rgba(0,0,0,0.03);
    background: linear-gradient(
        180deg,
        rgba(232, 246, 238, 0.75) 0%,
        rgba(234, 246, 242, 0.75) 25%,
        rgba(236, 245, 246, 0.75) 50%,
        rgba(235, 243, 250, 0.75) 75%,
        rgba(234, 241, 252, 0.75) 100%
    );
    background-attachment: fixed;
    font-family: var(--font-sans);
    position: relative;
    isolation: isolate;
}

body.client-app::before,
body.client-app::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.7s;
    mix-blend-mode: lighten;
}

body.client-app::before {
    top: -8vh;
    left: -35vw;
    width: 120vw;
    height: 75vh;
    background: radial-gradient(circle at 18% 28%, rgba(86,192,69,0.06) 0, transparent 78%);
    opacity: 0.45;
    filter: blur(12px);
    animation: bgGlow1 9s ease-in-out infinite alternate;
}

body.client-app::after {
    top: -18vh;
    right: -35vw;
    width: 85vw;
    height: 70vh;
    background: radial-gradient(circle at 80% 30%, rgba(55,120,194,0.04) 0, transparent 80%);
    opacity: 0.45;
    filter: blur(12px);
    animation: bgGlow2 8s ease-in-out infinite alternate;
}

@keyframes bgGlow1 {
    0% { opacity: 0.90; filter: blur(0px); }
    60% { opacity: 1; filter: blur(5px); }
    100% { opacity: 0.8; filter: blur(2px); }
}

@keyframes bgGlow2 {
    0% { opacity: 0.80; filter: blur(0px); }
    60% { opacity: 1; filter: blur(7px); }
    100% { opacity: 0.7; filter: blur(2.5px); }
}

    body.client-app input,
    body.client-app select,
    body.client-app textarea,
    body.client-app button {
        font-family: inherit;
    }

.client-page {
    font-size: 0.95rem;
    color: var(--blue-ink);
    line-height: 1.4;
}

.client-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 0 0.85rem 0;
}

.client-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.client-toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

/* ====== Shared Helpers (missing in base) ====== */
.client-chip-input {
    margin-right: 0.4rem;
}

.client-input--sm {
    max-width: 140px;
}

.client-select--sm {
    max-width: 180px;
}

.client-acct-row {
    display: none;
    margin-bottom: 0.6rem;
}

.client-acct-title {
    font-weight: 600;
    color: var(--blue-ink);
    margin-bottom: 0.25rem;
}

.client-acct-select {
    max-width: 520px;
}

.client-sticky {
    position: sticky;
    top: 1rem;
}

.client-sticky-summary {
    margin-top: 0;
}

.client-sticky-actions {
    margin-top: 0.4rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.client-divider--lg {
    margin: 1.25rem 0;
}

.client-asset-generatedon {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.client-asset-meta--spaced {
    margin-top: 0.5rem;
}

.client-asset-row {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    margin-bottom: 0.25rem;
    min-width: 0;
}

.client-asset-icon {
    font-size: 1rem;
    line-height: 1;
}

.client-asset-caption {
    width: 100%;
    margin-top: 0.6rem;
}

.client-asset-empty {
    padding: 0.85rem 0.9rem;
    color: var(--text-muted);
    background: #fff;
    border: 1px dashed var(--light-border);
    border-radius: 10px;
}

.client-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.client-check-input {
    margin: 0;
}

.client-check-label {
    font-weight: 500;
    color: var(--blue-ink);
}

/* ====== Layout / Containers ====== */
.client-page-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.6rem 0.9rem 1.2rem 0.9rem;
}

.client-page-title {
    font-size: 1.8rem; /* larger than section titles */
    font-weight: 500;
    color: #1b3f73;
    margin: 0 0 0.6rem 0;
    line-height: 1.1;
}

.client-page-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.2rem 0 0 0;
    line-height: 1.25;
}

/* Shared "section card" style (client app only) */
.client-section {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 0.85rem 1rem;
    margin: 0 0 0.85rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.client-section--alt {
    background: #fff;
    box-shadow: var(--card-shadow);
}

.client-card {
}

.client-col-display {
    max-width: 280px;
}

.client-display-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-subtext {
    font-size: 0.85rem;
    color: #6a7689;
}

.client-col-display .client-display-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-col-display .client-subtext {
    font-size: 0.85rem;
    color: #6a7689;
}

/* ====== Titles & Status ====== */
.client-section-title {
    font-size: 1.3rem; /* smaller than page title */
    font-weight: 500;
    color: #1b3f73;
    margin: 0 0 0.6rem 0;
    line-height: 1.1;
}

.client-section-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0.2rem 0 0 0;
    line-height: 1.25;
}

.client-status {
    margin: 0 0 0.85rem 0;
    font-weight: 500;
    font-size: 0.9rem;
}

.client-status--success {
    color: #146644;
    background: #eaf7ee;
    border: 1px solid #c8ecd5;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
}

.client-status--warning {
    color: #8a6a00;
    background: #fff4cf;
    border: 1px solid #f2e0a4;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
}

.client-status--error {
    color: #9f2331;
    background: #fdeaea;
    border: 1px solid #f3c7c7;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
}

.client-status:empty {
    display: none;
}

.client-status ul:empty {
    display: none;
}

.client-status.validation-summary-valid {
    display: none;
}

/* ====== Forms ====== */
.client-form {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.client-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.client-label {
    font-weight: 500;
    color: var(--blue-ink);
    font-size: 0.9rem;
}

.client-select,
.client-input,
.client-textarea {
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    color: var(--blue-ink);
}

    .client-select:focus,
    .client-input:focus,
    .client-textarea:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
    }

.client-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.2rem;
    min-width: 0;
}

@media (max-width: 820px) {
    .client-grid-2 {
        grid-template-columns: 1fr;
    }
}

.client-grid-2 > .client-form {
    background: #fbfcfe;
    border: 1px solid #d6dee8;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(29, 33, 41, 0.06);
    min-width: 0;
    max-width: 100%;
}

/* Inline form helpers */
.inline-form {
    display: inline;
}

.ml-half {
    margin-left: 0.5rem;
}

/* ====== Buttons ====== */
.client-btn,
.client-btn--sm,
.client-btn--chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    padding: 0.35rem 0.9rem;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    color: #1d2129;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.client-btn--sm {
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem;
    line-height: 1;
}

    .client-btn:focus,
    .client-btn--sm:focus,
    .client-btn--chip:focus {
        outline: none;
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
    }

    .client-btn:hover,
    .client-btn--sm:hover,
    .client-btn--chip:hover {
        background: #e9ecef;
        color: #1d2129;
    }

    /* Primary */
    .client-btn.primary,
    .client-btn--sm.primary,
    .client-btn--chip.primary {
        border: none;
        background: linear-gradient(to bottom, #3778c2 0%, #2b66a5 100%);
        color: #fff;
    }

        .client-btn.primary:hover,
        .client-btn--sm.primary:hover,
        .client-btn--chip.primary:hover {
            background: linear-gradient(to bottom, #56c045 0%, #3fa83a 100%);
            color: #fff;
            box-shadow: none;
            transform: none;
        }

    /* Primary Outline */
    .client-btn.primary-outline,
    .client-btn--sm.primary-outline {
        background: #fff;
        border: 1px solid #3778c2;
        color: #2b66a5;
    }

        .client-btn.primary-outline:hover,
        .client-btn--sm.primary-outline:hover {
            background: #eef4ff;
            color: #2b66a5;
        }

    /* Warning */
    .client-btn.warning,
    .client-btn--sm.warning {
        border: none;
        background: linear-gradient(to bottom, #f7d36a 0%, #e9b83a 100%);
        color: #3778c2;
    }

        .client-btn.warning:hover,
        .client-btn--sm.warning:hover {
            background: linear-gradient(to bottom, #e9b83a 0%, #d39d24 100%);
            color: #3778c2;
        }

    /* Warning Outline */
    .client-btn.warning-outline,
    .client-btn--sm.warning-outline {
        background: #fff;
        border: 1px solid #e9b83a;
        color: #8a6a00;
    }

        .client-btn.warning-outline:hover,
        .client-btn--sm.warning-outline:hover {
            background: #fff7dc;
            color: #8a6a00;
        }

    /* Danger outline */
    .client-btn.danger-outline,
    .client-btn--sm.danger-outline {
        background: #fff;
        border: 1px solid #d9534f;
        color: #b02a37;
    }

        .client-btn.danger-outline:hover,
        .client-btn--sm.danger-outline:hover {
            background: #fbe9ea;
            color: #b02a37;
        }

.client-action-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.client-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
    justify-content: center;
}

.client-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 170px);
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    margin: 0 auto;
}

.client-actions-grid .inline-form {
    width: 170px;
}

.client-actions-grid .client-action-btn {
    width: 170px;
    justify-content: center;
    text-align: center;
}

/* ====== Table ====== */
.client-table-wrap {
    margin: 0.85rem 0;
    border-radius: 12px;
    border: 1px solid var(--light-border);
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.client-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
}

.client-table thead th {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    background-color: #f8f9fa;
    color: var(--blue-ink);
}

.client-table tbody td {
    padding: 0.65rem 0.9rem;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 400;
    vertical-align: middle;
}

.client-table tbody tr + tr td {
    border-top: 1px solid #dee2e6;
}

.client-col-actions {
    width: 320px;
    white-space: nowrap;
}

.tenant-context {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--light-border);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.6rem 0 .8rem 0;
}

.tenant-label,
.tenant-value {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
    line-height: 1.2;
}

.tenant-label {
    background: #f1f3f6;
    color: var(--text-muted);
    font-weight: 500;
}

.tenant-value {
    background: #fff;
    color: var(--blue-ink);
    font-weight: 500;
}

@media (max-width: 820px) {
    .tenant-context {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ====== Modal ====== */
.client-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .client-modal[hidden] {
        display: none;
    }

.client-modal-content {
    background: #ffffff;
    color: var(--blue-ink);
    border: 1px solid var(--light-border);
    border-radius: 22px;
    min-width: 520px;
    max-width: 720px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    max-height: 85vh;
    overflow: auto;
}

    .client-modal-content h3 {
        font-weight: 600;
        color: #1b3f73;
        margin: 0 0 0.6rem 0;
    }

.client-modal .client-label {
    display: block;
    margin: .7rem 0 .25rem;
    color: var(--blue-ink);
}

.client-modal .client-input,
.client-modal .client-textarea,
.client-modal .client-select {
    width: 100%;
    background: #fafcff;
    color: var(--blue-ink);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: .6rem .7rem;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
}

    .client-modal .client-input::placeholder,
    .client-modal .client-textarea::placeholder {
        color: var(--text-muted);
        opacity: 1;
    }

    .client-modal .client-input:focus,
    .client-modal .client-textarea:focus,
    .client-modal .client-select:focus {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(0,112,185,0.12);
    }

/* Modal actions */
.client-modal-actions {
    display: flex;
    gap: .6rem;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Modal inline help */
.client-help {
    margin: 0 0 0.85rem 0;
    padding: 0.85rem 1rem;
    border: 1px dashed var(--light-border);
    border-radius: 10px;
    background: #f7fafc;
    color: var(--text-muted);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Asset card action row beneath thumbnails */
.asset-actions {
    display: flex;
    gap: .5rem;
    margin-top: .5rem;
}

/* ====== Assets grid: uniform tiles ====== */
.client-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

.client-asset-card {
    background: #fafcff;
    border: 1px solid var(--light-border);
    border-radius: 16px;
    padding: 0.9rem 1rem 1rem;
    display: grid;
    grid-template-rows: 120px auto auto auto auto;
    gap: .6rem;
    min-height: 360px;
    min-width: 0;
    overflow: hidden;
}

.client-asset-card.is-selected {
    border-color: var(--primary-blue);
    background: #f2f8ff;
    box-shadow: 0 0 0 3px rgba(0, 112, 185, 0.18);
}

.client-asset-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
    background: #f2f4f9;
    box-shadow: 0 2px 10px rgba(39,46,68,0.11);
}

.client-asset-preview-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.client-asset-img-wrap {
    position: relative;
}

.client-asset-select {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--light-border);
    border-radius: 6px;
    padding: 0.2rem 0.35rem;
    display: inline-flex;
    align-items: center;
}

    .client-asset-select input {
        margin: 0;
    }

.client-asset-img-btn {
    border: none;
    background: transparent;
    padding: 0;
    display: block;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.client-asset-uploaded {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 0.25rem 0.45rem;
    background: rgba(17, 24, 39, 0.75);
    color: #fff;
    font-size: 0.72rem;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.client-asset-img-btn:hover .client-asset-uploaded,
.client-asset-img-btn:focus .client-asset-uploaded {
    opacity: 1;
}

.client-asset-meta {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.client-asset-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

/* Keep schedule row compact so tiles align */
.client-asset-schedule {
    min-height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.client-sched-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

/* Action row stays at bottom */
.client-actions-row {
    margin-top: auto;
    padding-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
}

/* Alternating rows (top-level, not nested) */
.client-table tbody tr:nth-child(even) td {
    background-color: #f7f9fc;
}

.client-table tbody tr:nth-child(odd) td {
    background-color: #fff;
}

.client-table tbody tr:hover td {
    background-color: rgba(55,120,194,0.12);
}

.client-action-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.client-inline-links {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    margin-top: 0.1rem;
}

    .client-inline-links .client-btn--sm {
        padding: 0.25rem 0.55rem;
        font-size: 0.75rem;
        line-height: 1;
        white-space: nowrap;
    }

    .client-inline-links .inline-form {
        display: inline-flex;
    }

.client-asset-btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #d8dde6;
    box-shadow: none;
    white-space: nowrap;
}

.client-asset-btn--delete {
    border-color: #d9534f;
    color: #b02a37;
}

    .client-asset-btn--delete:hover {
        background: #fbe9ea;
        color: #b02a37;
    }

.client-asset-btn--edit {
    border-color: #e3b21a;
    color: #2b6ca3;
}

    .client-asset-btn--edit:hover {
        background: #fff4cf;
        color: #2b6ca3;
    }

.client-asset-btn--new {
    border-color: #3fa83a;
    color: #2b7d2a;
}

    .client-asset-btn--new:hover {
        background: #e6f6ea;
        color: #2b7d2a;
    }

.client-divider {
    height: 1px;
    background: var(--light-border);
    margin: 0.85rem 0;
}

.client-asset-divider {
    border: none;
    border-top: 1px solid var(--light-border);
    margin: 0.55rem 0 0.45rem;
}

.client-asset-divider--after-schedule {
    margin: 0.55rem 0 0.8rem;
}

.client-sched-time {
    font-size: 0.78rem;
    line-height: 1.1;
    white-space: nowrap;
}

.client-sched-platform {
    display: inline-flex;
    margin-top: 0;
}

.client-sched-platform-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
}

.client-asset-miniheader {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1b3f73;
    margin: 0.25rem 0 0.15rem;
    text-align: center;
    width: 100%;
}

/* ====== Scheduled Posts ====== */
.client-thumb {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.client-engage {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.client-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    margin-right: 6px;
    border: 1px solid rgba(0,0,0,.06);
    background: #f4f6f8;
    font: 500 13px/20px system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

.client-like .v,
.client-comment .v {
    min-width: 12px;
    display: inline-block;
    text-align: right;
}

.client-permalink {
    margin-left: 8px;
    font-size: 12px;
    opacity: .85;
}

.client-note {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #9a3b3b;
}

.client-caption-cell {
    max-width: 320px;
    height: 88px; /* match thumbnail height */
    vertical-align: top;
}

.client-caption-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    max-height: 100%;
}

.client-table--scheduled .client-caption-cell {
    max-width: 460px;
}

.client-table--scheduled .client-col-actions {
    width: 200px;
    text-align: center;
}

.client-table--scheduled .client-actions-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.client-filters {
    margin-bottom: 0.85rem;
}

.client-filter-select {
    height: 32px;
    padding: 0.25rem 0.6rem;
}

.client-btn,
.client-btn--sm,
.client-btn--chip {
    min-height: unset;
}

/* Compact, equal-height buttons in action rows */
.client-actions .client-btn,
.client-actions .client-btn--sm {
    height: 28px;
    padding: 0 0.75rem;
    line-height: 1;
    box-sizing: border-box;
}

body.client-app input[type="radio"],
body.client-app input[type="checkbox"] {
    accent-color: var(--primary-blue);
}

.client-color-picker {
    position: relative;
}

.client-color-picker::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #6a7689;
    pointer-events: none;
}

.client-color-input {
    width: 140px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid #ced4da;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
}

.client-color-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.client-color-input::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.client-color-input::-moz-color-swatch {
    border: none;
    border-radius: 4px;
}

.client-color-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.client-color-picker {
    position: relative;
    flex: 0 0 140px;
}

.client-color-input {
    width: 140px;
}

