.ebws-module,
.ebws-module *,
.ebws-module *::before,
.ebws-module *::after {
    box-sizing: border-box;
}

.ebws-module {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.45;
    color: inherit;
    position: relative;
    isolation: isolate;
}

.ebws-box {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
}

.ebws-box + .ebws-box {
    margin-top: 15px;
}

.ebws-grid {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.ebws-col {
    display: block;
    min-width: 0;
}

.ebws-col--label {
    flex: 1 1 auto;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ebws-col--value {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.ebws-head,
.ebws-row,
.ebws-total {
    padding: 6px 10px;
}

.ebws-head {
    background: #eee;
    font-weight: 700;
}

.ebws-row:nth-child(even) {
    background: #f5f5f5;
}

.ebws-total {
    background: #ddd;
    font-weight: 700;
}

@media (max-width: 480px) {
    .ebws-grid {
        gap: 8px;
    }

    .ebws-head,
    .ebws-row,
    .ebws-total {
        padding: 6px 8px;
    }

    .ebws-col--value {
        font-size: 13px;
    }
}
