.log-management-page {
    min-width: 0;
    padding: 0;
}

.zz-log-filter {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--zz-border, #d8e1ec);
    border-radius: var(--zz-radius-md, 8px);
    background: var(--zz-surface, #fff);
}

.zz-log-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--zz-text-strong, #172033);
    font-size: 14px;
    font-weight: 700;
}

.zz-log-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.zz-log-filter .input-group {
    flex-wrap: nowrap;
}

.zz-log-filter .input-group-text {
    min-width: 70px;
    justify-content: center;
    border-color: var(--zz-border, #d8e1ec);
    background: var(--zz-surface-muted, #f4f7fb);
    color: var(--zz-text, #344054);
    font-weight: 600;
}

.log-date-input {
    min-height: 40px;
    border-color: var(--zz-border, #d8e1ec);
}

.zz-log-filter-action .btn {
    min-height: 40px;
    white-space: nowrap;
}

.zz-log-table-scroll {
    margin-top: 4px;
}

.zz-log-table {
    min-width: 980px;
    margin-bottom: 0;
}

.zz-log-table th,
.zz-log-table td {
    vertical-align: top;
}

.zz-log-table .input-group {
    min-width: 190px;
    flex-wrap: nowrap;
}

.zz-grid-mobile-meta {
    display: none;
    margin-top: 4px;
    color: var(--zz-text-muted, #667085);
}

.zz-log-message,
.zz-log-result {
    display: block;
    margin-top: 12px;
    text-align: center;
}

.zz-log-otp {
    max-width: 360px;
    margin-top: 12px;
}

@media (max-width: 767.98px) {
    .zz-log-filter {
        padding: 12px;
    }

    .zz-log-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .zz-log-filter-action .btn {
        width: 100%;
    }

    .zz-log-table {
        display: block;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        table-layout: auto;
    }

    .zz-log-table > tbody {
        display: block;
        width: 100% !important;
        min-width: 100%;
    }

    .zz-log-table .zz-log-header-row {
        display: none !important;
    }

    .zz-log-table .zz-log-data-row {
        position: relative;
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        border-bottom: 1px solid var(--zz-border, #d8e1ec);
    }

    .zz-log-table .zz-log-data-row > td {
        display: block;
        width: auto !important;
        min-width: 0;
        box-sizing: border-box;
    }

    .zz-log-table .zz-log-data-row > td:first-child {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1;
        width: 32px !important;
        height: 42px !important;
        padding: 12px 4px 0 0;
        text-align: center;
        vertical-align: top !important;
    }

    .zz-log-table .zz-log-data-row > td:first-child input[type="checkbox"] {
        display: block;
        margin: 0;
    }

    .zz-log-table .zz-log-data-row > td:nth-child(2) {
        width: 100% !important;
        max-width: 100%;
        padding-left: 32px;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .zz-log-table > tbody > tr.pagination-ys,
    .zz-log-table > tbody > tr.pagination-ys > td {
        display: block;
        width: 100% !important;
    }

    .zz-log-table-scroll {
        overflow-x: hidden;
    }

    .zz-hide-mobile {
        display: none !important;
    }

    .zz-grid-mobile-meta {
        display: block;
    }
}
