/**
 * Sessions Page Styles
 *
 * @package GuardDog
 * @since 1.9.1
 */

/* Sessions filters */
.guard-dog-sessions-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.guard-dog-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.guard-dog-filter-group label {
    font-weight: 500;
    font-size: 12px;
    color: #1d2327;
}

/* Session table status indicators */
.guard-dog-compromised-row {
    background-color: #fcf0f1 !important;
}

.guard-dog-status-warning {
    color: #d63638;
    font-weight: 600;
}

.guard-dog-status-ok {
    color: #00a32a;
}

.guard-dog-current-badge {
    background: #00a32a;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 5px;
}

.guard-dog-session-meta {
    color: #646970;
    font-size: 12px;
}

/* Settings sections */
.guard-dog-sessions-settings h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f1;
}

.guard-dog-sessions-settings h3:first-child {
    margin-top: 0;
}

/* IP Reputation section styling */
.guard-dog-ip-reputation-section {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    margin-top: 25px;
}

.guard-dog-ip-reputation-section h3 {
    margin-top: 0 !important;
    color: #1d2327;
}

/* Responsive */
@media (max-width: 768px) {
    .guard-dog-sessions-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .guard-dog-filter-group {
        width: 100%;
    }
}
