.quiqqer-info-popup-designSelect-control {
    width: 100%;
}

/**
 * Design selector - small clickable preview cards
 */
.quiqqer-info-popup-designSelect {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    width: 100%;
}

.quiqqer-info-popup-designSelect-card {
    background: var(--qui-background-color, #fff);
    border: 1px solid var(--qui-border-color, #d7dce3);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.quiqqer-info-popup-designSelect-card:hover,
.quiqqer-info-popup-designSelect-card:focus-visible {
    border-color: var(--qui-colors-primary, #7f8ea3);
    box-shadow: 0 0 0 3px rgb(72 121 255 / 12%);
    outline: none;
}

.quiqqer-info-popup-designSelect-card.is-active {
    border-color: var(--qui-colors-primary, #4879ff);
    box-shadow: 0 0 0 3px rgb(72 121 255 / 18%);
}

.quiqqer-info-popup-designSelect-preview {
    background: var(--qui-background-color-secondary, #fbfcfd);
    border-bottom: 1px solid var(--qui-border-color, #edf0f4);
    display: flex;
    min-height: 96px;
    padding: 10px;
}

.quiqqer-info-popup-designSelect-title {
    color: var(--qui-text-color, #1d2733);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    padding: 8px 10px;
}

/* skeleton */
.quiqqer-info-popup-designSelect-skeleton {
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
}

.quiqqer-info-popup-designSelect-skeleton.is-content,
.quiqqer-info-popup-designSelect-skeleton.is-top {
    flex-direction: column;
}

.quiqqer-info-popup-designSelect-skeleton.is-sidebar {
    flex-direction: row;
}

.quiqqer-info-popup-designSelect-skeleton.is-sidebarRight {
    flex-direction: row-reverse;
}

/* default (project setting): a neutral placeholder */
.quiqqer-info-popup-designSelect-skeleton.is-default {
    align-items: center;
    justify-content: center;
}

.quiqqer-info-popup-designSelect-defaultBox {
    border: 2px dashed var(--qui-border-color, #cfd6df);
    border-radius: 6px;
    height: 62%;
    width: 62%;
}

.quiqqer-info-popup-designSelect-media {
    background: var(--qui-colors-primary, #b8c2ce);
    border-radius: 4px;
    opacity: 0.55;
}

.quiqqer-info-popup-designSelect-skeleton.is-sidebar .quiqqer-info-popup-designSelect-media,
.quiqqer-info-popup-designSelect-skeleton.is-sidebarRight .quiqqer-info-popup-designSelect-media {
    flex: 0 0 34%;
}

.quiqqer-info-popup-designSelect-skeleton.is-top .quiqqer-info-popup-designSelect-media {
    flex: 0 0 34%;
    min-height: 22px;
}

.quiqqer-info-popup-designSelect-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    padding-top: 4px;
}

.quiqqer-info-popup-designSelect-line {
    background: var(--qui-border-color, #cfd6df);
    border-radius: 999px;
    height: 5px;
    width: 100%;
}

.quiqqer-info-popup-designSelect-line.is-title {
    background: var(--qui-text-color-secondary, #a1a9b4);
    width: 70%;
}

.quiqqer-info-popup-designSelect-line.is-short {
    width: 55%;
}
