table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: var(--table-header-bg);
}

table thead th {
    background-color: var(--table-header-bg) !important;
    vertical-align: middle;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: var(--table-header-text) !important;
}

table thead th.center,
table tbody td.center {
    text-align: center;
}

table tbody .badge {
    padding: 5px 20px;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    color: var(--text-white);
}

table tbody .badge.success {
    background-color: var(--color-success);
}

table tbody .badge.error {
    background-color: var(--color-error);
}

table tbody .badge.warning {
    background-color: var(--color-warning);
}

table tbody .badge.black {
    background-color: var(--bg-black);
    color: var(--text-white);
}

table tbody .badge.white {
    background-color: var(--bg-white);
    color: var(--text-black);
    border: 1px solid var(--border-badge);
}

table tbody tr {
    background-color: var(--table-body-bg);
    vertical-align: middle;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--table-body-text);
    height: 76px;
}

table tr td,
table tr th {
    border: none;
}

table tr td {
    border-bottom: 1px dashed var(--border-default);
    font-family: 'Public Sans';
    font-style: normal;
    font-size: 14px;
    line-height: 22px;
    color: #1C252E;
}

table td .date {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--table-body-text);
}

table td .time {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: var(--table-body-text-secondary);
}

table td .content {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--table-body-text);
}

table td .sub-content {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: var(--table-body-text-secondary);
}

table input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--table-checkbox-bg);
    border-radius: 4px;
    border: 1.5px solid var(--border-default);
    background-color: var(--table-body-bg);
    transition: box-shadow 0.2s;
}

table .dropdown-menu {
    min-width: 150px;
    padding: 10px;
    background-color: var(--input-bg);
    box-shadow: var(--box-shadow-default);
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    border: none;
    cursor: pointer;
    position: absolute;
    right: -5px;
    top: 25px;
}

@media screen and (max-width: 768px) {
    table {
        overflow-x: auto;
        width: 100%;
        display: block;
    }
}
