/* Login Security Admin Settings Styles */

/* Plugin info header */
.lsec-settings-wrap .lsec-plugin-info {
    margin: 10px 0 20px 0;
    padding: 8px 12px;
    background-color: #f0f0f1;
    border-left: 4px solid #2271b1;
    font-size: 13px;
    color: #50575e;
}

.lsec-settings-wrap .lsec-plugin-info a {
    color: #2271b1;
    text-decoration: none;
}

.lsec-settings-wrap .lsec-plugin-info a:hover {
    color: #135e96;
    text-decoration: underline;
}

.lsec-settings-wrap .nav-tab-wrapper {
    margin-bottom: 0; /* Remove bottom margin if border is added to content */
}

.lsec-settings-wrap .lsec-tab-content {
    display: none; /* Hidden by default, JS will show active tab */
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-top: none; /* Tabs sit above this border */
    margin-bottom: 20px;
}

.lsec-settings-wrap .lsec-tab-content:first-of-type {
    /* Ensure the first tab content is shown if JS fails or for no-hash initial */
}

.lsec-settings-wrap .lsec-tab-content h3 { /* Headings within tabs */
    margin-top: 0;
    font-size: 1.3em;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.lsec-settings-wrap .form-table th {
    width: 280px; /* Adjust for consistent label width */
}

.lsec-settings-wrap .form-table td p.description {
    font-size: 0.9em;
    color: #646970;
}

/* Log table specific styles */
.lsec-settings-wrap .widefat {
    margin-top: 15px;
}
.lsec-settings-wrap .widefat th,
.lsec-settings-wrap .widefat td {
    vertical-align: middle;
}

.lsec-status-failed, .lsec-status-failed_blocked_ { /* for 'failed (blocked)' */
    color: #dc3232; /* WordPress error red */
    font-weight: bold;
}
.lsec-status-success {
    color: #46b450; /* WordPress success green */
    font-weight: bold;
}

/* Add a little visual distinction to log rows if needed, WP 'striped' already helps */
/* .lsec-failed-log-entry {} */
/* .lsec-successful-log-entry {} */

.lsec-settings-wrap p.submit {
    padding-top: 10px;
}

/* Ensure pagination links are not overly large */
.lsec-settings-wrap .tablenav-pages a,
.lsec-settings-wrap .tablenav-pages span.current {
    padding: 4px 8px;
    font-size: 0.9em;
}

.lsec-telegram-guide {
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.lsec-telegram-guide h4 {
    margin-top: 0;
}

.lsec-telegram-guide ol {
    margin-left: 20px;
}

.lsec-telegram-guide li {
    margin-bottom: 5px;
}
