.user-management-section {
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header {
  margin-bottom: 20px;
  
  h3 {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    margin: 0;
  }
}

.role-selector-container {
  margin-bottom: 24px;
  
  label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    
    .required {
      color: #e74c3c;
      margin-left: 2px;
    }
  }
}

.role-display {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-width: 400px;
  
  .role-icon {
    margin-right: 12px;
    font-size: 20px;
  }
  
  .role-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
  }
}

.search-container {
  
  .search-input {
    width: 200%;
    max-width: 700px;
    padding: 10px 16px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    
    &:focus {
      outline: none;
      border-color: #007bff;
      box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }
    
    &::placeholder {
      color: #999;
    }
  }
}

.user-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
  
  .icon {
    font-size: 18px;
  }
}

.user-table-container {
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  
  thead {
    background: #f8f9fa;
    
    tr {
      border-bottom: 1px solid #e0e0e0;
    }
    
    th {
      padding: 12px 16px;
      text-align: left;
      font-weight: 500;
      color: #333;
      white-space: nowrap;
      
      &.last-login-header {
        background: #e8e8e8;
        color: #666;
      }
    }
  }
  
  tbody {
    tr {
      border-bottom: 1px solid #f0f0f0;
      transition: background-color 0.2s;
      
      &:hover {
        background-color: #f8f9fa;
      }
      
      &:last-child {
        border-bottom: none;
      }
    }
    
    td {
      padding: 12px 16px;
      color: #333;
      
      &.no-data {
        text-align: center;
        color: #999;
        padding: 32px 16px;
      }
    }
  }
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: lowercase;
  
  &.status-active {
    background-color: var(--action-primary-default);
    color: #ffffff;
  }
  
  &.status-inactive {
    background-color: #f0f0f0;
    color: #666;
  }
}
.row-container {
    display: flex;
    align-items: center; /* vertically align */
    gap: 16px;           /* space between picklist and search box */
}
// Responsive design
@media (max-width: 768px) {
  .user-table-container {
    overflow-x: scroll;
  }
  
  .user-table {
    min-width: 600px;
  }
  
  .search-input {
    max-width: 100% !important;
  }
}