/* Login Logs Page Styles */
.modify-login-settings {
    max-width: 100%;
    margin: 20px 20px 0;
    padding: 0;
    box-sizing: border-box;
}

.modify-login-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

.modify-login-header {
    margin-bottom: 24px;
}

.modify-login-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.modify-login-header .description {
    color: #666;
    margin: 0;
}

/* Stats Cards */
.modify-login-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.modify-login-stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.modify-login-stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    color: #4b5563;
}

.stat-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.stat-content p {
    color: #666;
    margin: 0;
    font-size: 13px;
}

/* Filters */
.modify-login-filters {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.modify-login-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.filter-group input,
.filter-group select {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    width: 100%;
}

.filter-submit {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 32px;
    min-width: 80px;
}

.filter-submit:hover {
    background: #1d4ed8;
}

/* Table */
.modify-login-table-container {
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px;
    width: calc(100% + 48px);
}

.wp-list-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
}

.wp-list-table thead th {
    background: #f3f4f6;
    padding: 8px 12px;
    text-align: left;
    font-weight: 500;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 13px;
}

.wp-list-table tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 13px;
    word-break: break-word;
}

.wp-list-table tbody tr:hover {
    background: #f9fafb;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
}

.status-icon {
    width: 12px;
    height: 12px;
}

.status-success {
    background: #dcfce7;
    color: #166534;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Pagination */
.modify-login-pagination {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 8px;
}

.pagination-links {
    display: flex;
    gap: 4px;
}

.pagination-links a,
.pagination-links span {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

.pagination-links a {
    background: #f3f4f6;
    color: #374151;
}

.pagination-links a:hover {
    background: #e5e7eb;
}

.pagination-links .current {
    background: #2563eb;
    color: #fff;
}

/* Responsive */
@media (max-width: 782px) {
    .modify-login-settings {
        margin: 10px;
    }

    .modify-login-container {
        padding: 16px;
    }

    .modify-login-stats {
        grid-template-columns: 1fr;
    }

    .modify-login-filter-form {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-submit {
        width: 100%;
    }

    .wp-list-table {
        display: block;
    }

    .wp-list-table thead {
        display: none;
    }

    .wp-list-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }

    .wp-list-table tbody td {
        display: block;
        text-align: right;
        padding: 8px 12px;
        border-bottom: 1px solid #e5e7eb;
    }

    .wp-list-table tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 500;
        color: #374151;
    }
}