/* Professional styling for admin login records filtering UI */

.filter-form {
    margin: 10px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.filter-form label {
    font-weight: 600;
    margin-right: 8px;
    min-width: 90px;
}

.filter-form input[type="text"],
.filter-form select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 180px;
    font-size: 14px;
    transition: border-color 0.2s ease-in-out;
}

.filter-form input[type="text"]:focus,
.filter-form select:focus {
    border-color: #007bff;
    outline: none;
}

.filter-form button.btn-primary {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.filter-form button.btn-primary:hover {
    background-color: #0056b3;
}

/* Table styling for login records */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table thead tr {
    background-color: #007bff;
    color: white;
}

table th, table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
}

.status-success {
    color: #28a745;
    font-weight: 600;
}

.status-failed {
    color: #dc3545;
    font-weight: 600;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
}

/* Pagination styling */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    color: #007bff;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pagination a.btn-primary,
.pagination a.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    pointer-events: none;
}

.pagination a:hover:not(.btn-primary):not(.active) {
    background: #f0f0f0;
}
