/* Promotions.css - Concierge > Promotions (TLP-1265): what the guest app's home screen features */

/* The line over the list about what guests see: no room taken until it has something to say. */
.promotions-publish-line:empty {
    display: none;
}

/* An offer with no photo yet: an empty tile the size of the photo it stands for. */
.promotions-photo--none {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--space-12);
    height: var(--space-12);
    border-radius: var(--border-radius-md);
    border: var(--border-width-1) solid var(--border-subtle);
    background: var(--bg-muted);
    color: var(--text-muted);
}

.promotions-photo--md {
    width: var(--space-16);
    height: var(--space-16);
}

.promotions-offer-cell {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.promotions-offer-name {
    font-weight: var(--font-weight-semibold);
}

.promotions-offer-line {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.promotions-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
}

.promotions-state-reason {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* The window */
.promotions-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* What the card will show, under the offer it is for. */
.promotions-card-preview {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--border-radius-md);
    background: var(--bg-muted);
}

/* Nothing to show until an offer is chosen: no gap taken. */
.promotions-card-slot:empty {
    display: none;
}

.promotions-hours {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.promotions-hours-to {
    color: var(--text-muted);
}
