/* =========================
Scheduled Campaign Card
Figma: Card - Scheduled Campaign.
Compact card with a coloured left accent bar, title and campaign meta.
========================= */
@use "../kit-deps" as *;
.scheduled-campaign-card {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
gap: $space-1;
width: 100%;
max-width: 320px;
min-height: auto;
padding: $space-3 $space-4 $space-3 calc($space-4 + 12px);
border: $border-width-base $border-style-base $neutral-200;
border-radius: $radius-xl;
background-color: $neutral-0;
color: $neutral-900;
text-align: left;
overflow: hidden;
&::before {
content: "";
position: absolute;
top: $space-3;
bottom: $space-3;
left: $space-4;
width: 4px;
border-radius: $radius-full;
background-color: $neutral-300;
}
&--scheduled::before {
background-color: $mint-500;
}
&--sent::before {
background-color: $success-text;
}
&--draft::before {
background-color: $neutral-300;
}
&__title {
margin: -0.2em 0;
padding: 0;
font-size: $font-size-lg;
font-weight: $font-weight-bold;
line-height: 1;
color: $neutral-900;
}
&__meta {
margin: 0;
color: $neutral-500;
font-size: $font-size-md;
line-height: $line-height-normal;
}
}