.peligent-settings-wrap {
    max-width: 1200px;
}
.peligent-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}
.peligent-header-content {
    flex: 1;
}
.peligent-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}
.peligent-icon {
    font-size: 32px;
}
.peligent-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}
.peligent-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}
.peligent-status-connected {
    background: #d1fae5;
    color: #065f46;
}
.peligent-status-disconnected {
    background: #fee2e2;
    color: #991b1b;
}
.peligent-status-badge .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.peligent-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    overflow: hidden;
}
.peligent-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}
.peligent-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}
.peligent-card-title .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #2563eb;
}
.peligent-card-body {
    padding: 24px;
}
.peligent-card-description {
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.6;
}
.peligent-form-group {
    margin-bottom: 24px;
}
.peligent-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
}
.peligent-required {
    color: #dc2626;
    margin-left: 4px;
}
.peligent-input-wrapper {
    position: relative;
}
.peligent-form-input {
    width: 100%;
    max-width: 600px;
    padding: 10px 40px 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}
.peligent-form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.peligent-input-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
}
.peligent-form-help {
    margin: 8px 0 0 0;
    color: #6b7280;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.peligent-form-help .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #9ca3af;
}
.peligent-form-actions {
    margin-top: 24px;
}
.peligent-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.peligent-button-primary {
    background: #2563eb;
    color: #ffffff;
}
.peligent-button-primary:hover {
    background: #1d4ed8;
}
.peligent-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.peligent-status-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.peligent-status-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}
.peligent-status-ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.peligent-status-error {
    background: #fef2f2;
    border-color: #fecaca;
}
.peligent-status-warning {
    background: #fffbeb;
    border-color: #fde68a;
}
.peligent-status-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.peligent-status-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.peligent-status-ok .peligent-status-icon {
    color: #10b981;
}
.peligent-status-error .peligent-status-icon {
    color: #ef4444;
}
.peligent-status-warning .peligent-status-icon {
    color: #f59e0b;
}
.peligent-status-content {
    flex: 1;
}
.peligent-status-content strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
}
.peligent-status-content p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}
.peligent-users-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    background: #ffffff;
}
.peligent-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.peligent-user-item:hover {
    background: #f9fafb;
}
.peligent-user-item input[type="checkbox"] {
    margin: 0;
}
.peligent-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.peligent-user-name {
    font-weight: 500;
    color: #111827;
}
.peligent-user-email {
    font-size: 13px;
    color: #6b7280;
}
.peligent-user-role {
    font-size: 12px;
    color: #9ca3af;
}
.peligent-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}
.peligent-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #111827;
}
/* Tab Navigation */
.peligent-tabs {
    margin-top: 24px;
}
.peligent-tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
    background: #ffffff;
    padding: 0;
}
.peligent-tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    cursor: pointer;
}
.peligent-tab-link:hover {
    color: #2563eb;
    background: #f9fafb;
}
.peligent-tab-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}
.peligent-tab-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.peligent-tab-content {
    display: none;
}
.peligent-tab-content.active {
    display: block;
    animation: peligent-tab-fade-in 0.3s ease;
}
@keyframes peligent-tab-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 782px) {
    .peligent-tab-nav {
        flex-wrap: wrap;
    }
    .peligent-tab-link {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }
}

