.cms-creative-card {
    display: flex;
    height: 340px;
    width: 100%;
    flex-direction: column;
}

.cms-creative-card-media {
    height: 180px;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    background: rgb(249 250 251);
}

.cms-creative-card-media > img,
.cms-creative-card-media > video {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cms-creative-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: 0.75rem;
}

.cms-creative-card-title {
    overflow: hidden;
    color: rgb(17 24 39);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cms-creative-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cms-creative-card-active {
    margin-top: 0.625rem;
}

.cms-creative-card-actions {
    display: flex;
    align-self: center;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-top: auto;
    margin-inline: auto;
    width: auto;
    padding: 0;
    text-align: center;
}

.cms-creative-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    color: rgb(107 114 128);
    font-size: 0.75rem;
    line-height: 1rem;
}

.cms-creative-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 0.375rem;
    border-width: 1px;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
}

.cms-creative-badge--image {
    border-color: rgb(187 247 208);
    background: rgb(240 253 244);
    color: rgb(22 101 52);
}

.cms-creative-badge--video {
    border-color: rgb(254 215 170);
    background: rgb(255 247 237);
    color: rgb(194 65 12);
}

.cms-creative-badge--html {
    border-color: rgb(191 219 254);
    background: rgb(239 246 255);
    color: rgb(29 78 216);
}

.cms-creative-badge--clock {
    border-color: rgb(221 214 254);
    background: rgb(245 243 255);
    color: rgb(109 40 217);
}

.cms-creative-badge--weather {
    border-color: rgb(165 243 252);
    background: rgb(236 254 255);
    color: rgb(14 116 144);
}

.cms-creative-badge--rss_feed {
    border-color: rgb(254 215 170);
    background: rgb(255 247 237);
    color: rgb(194 65 12);
}

.cms-creative-badge--social_feed {
    border-color: rgb(245 208 254);
    background: rgb(253 244 255);
    color: rgb(162 28 175);
}

.cms-creative-badge--ticker_text {
    border-color: rgb(167 243 208);
    background: rgb(236 253 245);
    color: rgb(4 120 87);
}

.cms-creative-badge--api_data {
    border-color: rgb(226 232 240);
    background: rgb(248 250 252);
    color: rgb(51 65 85);
}

.cms-creative-badge--status {
    border-color: transparent;
    background: rgb(243 244 246);
    color: rgb(55 65 81);
}

.cms-creative-active-icon {
    display: inline-flex;
    height: 1.25rem;
    width: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid currentColor;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.cms-creative-active-icon--active {
    color: rgb(34 197 94);
}

.cms-creative-active-icon--inactive {
    color: rgb(239 68 68);
}

.cms-creative-edit-link,
.cms-creative-delete-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-align: left;
}

.cms-creative-edit-link {
    color: rgb(217 119 6);
}

.cms-creative-edit-link:hover {
    color: rgb(180 83 9);
}

.cms-creative-delete-link {
    color: rgb(220 38 38);
}

.cms-creative-delete-link:hover {
    color: rgb(185 28 28);
}

.dark .cms-creative-card-title {
    color: rgb(255 255 255);
}

.dark .cms-creative-card-media {
    background: rgb(17 24 39);
}
