
#creatives {
    padding-bottom: 4em;
}

.creative-actions-row {
    margin: 0.0em 1.0em;
    padding: 0.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.delete-options {
    display: none;
    position: absolute;
    z-index: 10;
    background: var(--color-section-bg);
    border: 1px solid var(--color-border);
    padding: 0.5em;
    box-shadow: 0 2px 8px var(--color-border);
    min-width: 220px;
}
.delete-one {
    margin-bottom: 0.5em;
}

.tags {
    margin: 0.2em 2.0em;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.creative-tree-li {
    display: flex;
    align-items: center;
}

/* make it as same as <li> tag */
.creative-tree-bullet {
    width: 5px;
    height: 5px;
    min-width: 5px;
    min-height: 5px;
    max-width: 5px;
    max-height: 5px;
    border-radius: 50%;
    background: var(--color-text);
    margin-left: 4px;
    margin-right: 8px;
    flex: 0 0 5px;
}

.creative-row-end {
    margin-left: 10px;
    color: var(--color-muted);
    font-size: 0.9em;
    white-space: nowrap;
}

.creative-tags {
    margin-left: 10px;
    text-align: right;
    white-space: nowrap;
    display: flex;
    flex-wrap: wrap;
}

.creative-progress-complete {
    color: var(--color-complete);
}

.creative-progress-incomplete {
    /* ok */
}

.creative-row-start {
    display: flex;
    align-items: center;
}

.creative-toggle-btn {
    width: 9px;
    height: 9px;
    font-size: 9px;
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.add-creative-btn {
    margin-left: 0px;
    font-size: 12px;
    width: 12px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
}
.edit-inline-btn {
    margin-left: 0px;
    font-size: 12px;
    cursor: pointer;
    background: none;
    border: none;
}
#inline-add {
    margin-left: 6px;
    font-size: 12px;
    cursor: pointer;
    background: none;
    border: none;
}

.creative-row-actions {
    visibility: hidden;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.creative-row:hover .creative-row-actions {
    visibility: visible;
}

@media (max-width: 768px) {
    .creative-row-actions {
        visibility: visible !important;
    }
}

.creative-divider {
    position: relative;
    /* width: 6px; */
    margin-right: 2px;
    background-color: var(--color-border);
    display: flex;
    align-items: center;
    align-self: stretch;
}

/* to prevent border height from affecting layout, add virtual border */
@media (max-width: 768px) {

    .creative-divider::before,
    .creative-divider::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 6px; /* border thickness */
        background: var(--color-bg);
    }

    .creative-divider::before {
        top: 0;
    }

    .creative-divider::after {
        bottom: 0;
    }
}

.select-creative-checkbox {
    margin-left: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    visibility: visible;
}

.creative-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creative-row.selected {
    background-color: var(--color-drag-over);
}

.creative-row:hover {
    background-color: var(--color-border);
}

.creative-progress {
    color: var(--color-muted);
    font-size: 0.9em;
    margin-left: 10px;
}

.page-title {
    margin-left: 1.5em;
    font-size: 1.4em;
}

.creative-row-start h1 {
    font-size: 1.3em;
}

.creative-row-start h2 {
    font-size: 1.2em;
}

.creative-row-start h3 {
    font-size: 1.1em;
}

.indent1 {
    margin-left: 0.0em;
}

.indent2 {
    margin-left: 0.2em;
}

.indent3 {
    margin-left: 0.4em;
}

.comments-btn.no-comments {
    visibility: hidden;
}

.creative-row:hover .comments-btn.no-comments {
    visibility: visible;
}

@media (max-width: 768px) {
    .comments-btn.no-comments {
        visibility: visible;
    }
}
