/*
 * What the driver left at the door, under the form of an afleverbewijs: the signature, the
 * delivery photo, the delivery document and the photos of damage, each with its caption.
 */
.poda {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px 16px;
}

.poda-title {
    margin: 0;
    padding-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--bs-border-color);
}

.poda-message {
    margin: 0;
    color: var(--bs-secondary-color);
}

.poda-items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.poda-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    max-width: 260px;
}

.poda-open {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 150px;
    padding: 8px;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
}

/*
 * A picture sits on white whatever the theme is: a signature is dark strokes on nothing, and on a
 * dark card there is nothing left to read. The document card keeps the theme's own background,
 * because what stands on it is text.
 */
.poda-item:not(.poda-document) .poda-open {
    background: #fff;
}

.poda-open:hover {
    border-color: var(--bs-primary);
}

.poda-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.poda-document .poda-open {
    gap: 8px;
    color: var(--bs-body-color);
}

.poda-document .poda-open i {
    font-size: 1.4rem;
}

.poda-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.poda-kind {
    font-weight: 600;
    color: var(--bs-body-color);
}

.poda-open .poda-message {
    text-align: center;
    font-size: 0.85rem;
}
