.history{
    width: 100%;
    max-width: 1100px;
}

.table-container {
    background: #ffff;
    width: 100%;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    box-sizing: border-box;
    margin-top: 15px;
}

.data-table{
    width:100%;
    border-collapse:collapse;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.data-table th{
    background:#122b5c;
    color:white;
    padding:12px;
    text-align:left;
}

.data-table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.data-table tr:hover{
    background:#f5f7fb;
}

.key-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    margin: 2px 3px 2px 0;
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 10px;
}

.no-keys {
    color: rgba(0,0,0,0.3);
    font-size: 13px;
}   

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
}

.filter-item input[type="date"],
.filter-item select {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    padding: 5px 8px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    background: #fff;
    color: #111;
}

.pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 15px 10px;
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-info {
    font-size: 13px;
    color: rgba(0,0,0,0.5);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-nav-btn,
.page-num-btn {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    background: #fff;
    color: #111;
    cursor: pointer;
}

.page-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-num-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

.history-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.15s;
}

.toolbar-top {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.toolbar-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}
/*================ Search Box ================*/
.history-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.14);
    border: 0.5px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 0 14px;
    height: 42px;
    width: 240px;
    color: rgba(255,255,255,0.85);
    transition: border-color 0.15s ease, background 0.15s ease, width 0.2s ease;
    margin-bottom: 16px;
}

.history-search-box:focus-within {
    border-color: #ffffff;
    background: rgba(255,255,255,0.22);
    width: 270px;
}

.history-search-box input {
    border: none;
    background: none;
    outline: none;
    color: #ffffff;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    width: 100%;
}

.history-search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}
